Struct zircon_object::dev::BusTransactionInitiator[][src]

pub struct BusTransactionInitiator { /* fields omitted */ }

Bus Transaction Initiator.

Bus Transaction Initiators (BTIs) represent the bus mastering/DMA capability of a device, and can be used for granting a device access to memory.

Implementations

impl BusTransactionInitiator[src]

pub fn create(iommu: Arc<Iommu>, bti_id: u64) -> Arc<Self>[src]

Create a new bus transaction initiator.

pub fn get_info(&self) -> BtiInfo[src]

Get information of BTI.

pub fn pin(
    self: &Arc<Self>,
    vmo: Arc<VmObject>,
    offset: usize,
    size: usize,
    perms: IommuPerms
) -> ZxResult<Arc<PinnedMemoryToken>>
[src]

Pin memory and grant access to it to the BTI.

pub fn release_quarantine(&self)[src]

Releases all quarantined PMTs.

Trait Implementations

impl Debug for BusTransactionInitiator[src]

impl KernelObject for BusTransactionInitiator[src]

Auto Trait Implementations

impl !RefUnwindSafe for BusTransactionInitiator

impl Send for BusTransactionInitiator

impl Sync for BusTransactionInitiator

impl Unpin for BusTransactionInitiator

impl !UnwindSafe for BusTransactionInitiator

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.