pub struct IotlbReg(/* private fields */);Expand description
IOTLB Invalidate Register (ECAP.IRO*16 + 0x08, 64-bit, RW). §10.4.16.
Register-based IOTLB invalidation (used before QI is enabled).
Implementations§
Source§impl IotlbReg
impl IotlbReg
Sourcepub const fn with_did_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_did_checked(self, value: u16) -> Result<Self, ()>
Domain ID for domain-selective invalidation.
Bits: 32..48
Sourcepub const fn with_did(self, value: u16) -> Self
pub const fn with_did(self, value: u16) -> Self
Domain ID for domain-selective invalidation.
Bits: 32..48
Sourcepub const fn set_did(&mut self, value: u16)
pub const fn set_did(&mut self, value: u16)
Domain ID for domain-selective invalidation.
Bits: 32..48
Sourcepub const fn set_did_checked(&mut self, value: u16) -> Result<(), ()>
pub const fn set_did_checked(&mut self, value: u16) -> Result<(), ()>
Domain ID for domain-selective invalidation.
Bits: 32..48
Sourcepub const fn with_dw_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dw_checked(self, value: bool) -> Result<Self, ()>
Drain Writes.
Bits: 48..49
Sourcepub const fn set_dw_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_dw_checked(&mut self, value: bool) -> Result<(), ()>
Drain Writes.
Bits: 48..49
Sourcepub const fn with_dr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dr_checked(self, value: bool) -> Result<Self, ()>
Drain Reads.
Bits: 49..50
Sourcepub const fn set_dr_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_dr_checked(&mut self, value: bool) -> Result<(), ()>
Drain Reads.
Bits: 49..50
Sourcepub const fn iaig(&self) -> u8
pub const fn iaig(&self) -> u8
IOTLB Actual Invalidation Granularity (RO, set by HW).
Bits: 57..59
Sourcepub const fn with_iaig_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_iaig_checked(self, value: u8) -> Result<Self, ()>
IOTLB Actual Invalidation Granularity (RO, set by HW).
Bits: 57..59
Sourcepub const fn with_iaig(self, value: u8) -> Self
pub const fn with_iaig(self, value: u8) -> Self
IOTLB Actual Invalidation Granularity (RO, set by HW).
Bits: 57..59
Sourcepub const fn set_iaig(&mut self, value: u8)
pub const fn set_iaig(&mut self, value: u8)
IOTLB Actual Invalidation Granularity (RO, set by HW).
Bits: 57..59
Sourcepub const fn set_iaig_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_iaig_checked(&mut self, value: u8) -> Result<(), ()>
IOTLB Actual Invalidation Granularity (RO, set by HW).
Bits: 57..59
Sourcepub const fn iirg(&self) -> u8
pub const fn iirg(&self) -> u8
IOTLB Invalidation Request Granularity. 01=global, 10=domain, 11=page.
Bits: 60..62
Sourcepub const fn with_iirg_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_iirg_checked(self, value: u8) -> Result<Self, ()>
IOTLB Invalidation Request Granularity. 01=global, 10=domain, 11=page.
Bits: 60..62
Sourcepub const fn with_iirg(self, value: u8) -> Self
pub const fn with_iirg(self, value: u8) -> Self
IOTLB Invalidation Request Granularity. 01=global, 10=domain, 11=page.
Bits: 60..62
Sourcepub const fn set_iirg(&mut self, value: u8)
pub const fn set_iirg(&mut self, value: u8)
IOTLB Invalidation Request Granularity. 01=global, 10=domain, 11=page.
Bits: 60..62
Sourcepub const fn set_iirg_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_iirg_checked(&mut self, value: u8) -> Result<(), ()>
IOTLB Invalidation Request Granularity. 01=global, 10=domain, 11=page.
Bits: 60..62
Sourcepub const fn ivt(&self) -> bool
pub const fn ivt(&self) -> bool
Invalidate IOTLB — set by SW, cleared by HW when done.
Bits: 63..64
Sourcepub const fn with_ivt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ivt_checked(self, value: bool) -> Result<Self, ()>
Invalidate IOTLB — set by SW, cleared by HW when done.
Bits: 63..64
Sourcepub const fn with_ivt(self, value: bool) -> Self
pub const fn with_ivt(self, value: bool) -> Self
Invalidate IOTLB — set by SW, cleared by HW when done.
Bits: 63..64