pub struct IqhReg(/* private fields */);Expand description
Invalidation Queue Head Register (MMIO offset 0x080, 64-bit). §10.4.17.
Read-only from software. Points to the next descriptor to be fetched.
Implementations§
Source§impl IqhReg
impl IqhReg
Sourcepub const fn qh(&self) -> u32
pub const fn qh(&self) -> u32
Queue head in 16-byte units (bits 18:4); bit 4 is zero for IQA.DW=1.
Bits: 4..19
Sourcepub const fn with_qh_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_qh_checked(self, value: u32) -> Result<Self, ()>
Queue head in 16-byte units (bits 18:4); bit 4 is zero for IQA.DW=1.
Bits: 4..19
Sourcepub const fn with_qh(self, value: u32) -> Self
pub const fn with_qh(self, value: u32) -> Self
Queue head in 16-byte units (bits 18:4); bit 4 is zero for IQA.DW=1.
Bits: 4..19
Trait Implementations§
impl Copy for IqhReg
Auto Trait Implementations§
impl Freeze for IqhReg
impl RefUnwindSafe for IqhReg
impl Send for IqhReg
impl Sync for IqhReg
impl Unpin for IqhReg
impl UnsafeUnpin for IqhReg
impl UnwindSafe for IqhReg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more