Struct aarch64defs::gic::GicrTyper
source · pub struct GicrTyper(/* private fields */);
Implementations§
source§impl GicrTyper
impl GicrTyper
sourcepub const fn with_plpis(self, value: bool) -> Self
pub const fn with_plpis(self, value: bool) -> Self
Bits: 0..1
sourcepub const fn with_vlpis(self, value: bool) -> Self
pub const fn with_vlpis(self, value: bool) -> Self
Bits: 1..2
sourcepub const fn with_dirty(self, value: bool) -> Self
pub const fn with_dirty(self, value: bool) -> Self
Bits: 2..3
sourcepub const fn direct_lpi(&self) -> bool
pub const fn direct_lpi(&self) -> bool
Bits: 3..4
sourcepub const fn with_direct_lpi(self, value: bool) -> Self
pub const fn with_direct_lpi(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_direct_lpi(&mut self, value: bool)
pub fn set_direct_lpi(&mut self, value: bool)
Bits: 3..4
sourcepub const fn with_rvpeid(self, value: bool) -> Self
pub const fn with_rvpeid(self, value: bool) -> Self
Bits: 7..8
sourcepub fn set_rvpeid(&mut self, value: bool)
pub fn set_rvpeid(&mut self, value: bool)
Bits: 7..8
sourcepub const fn processor_number(&self) -> u16
pub const fn processor_number(&self) -> u16
Bits: 8..24
sourcepub const fn with_processor_number(self, value: u16) -> Self
pub const fn with_processor_number(self, value: u16) -> Self
Bits: 8..24
sourcepub fn set_processor_number(&mut self, value: u16)
pub fn set_processor_number(&mut self, value: u16)
Bits: 8..24
sourcepub const fn common_lpi_aff(&self) -> u8
pub const fn common_lpi_aff(&self) -> u8
Bits: 24..26
sourcepub const fn with_common_lpi_aff(self, value: u8) -> Self
pub const fn with_common_lpi_aff(self, value: u8) -> Self
Bits: 24..26
sourcepub fn set_common_lpi_aff(&mut self, value: u8)
pub fn set_common_lpi_aff(&mut self, value: u8)
Bits: 24..26
sourcepub const fn with_ppi_num(self, value: u8) -> Self
pub const fn with_ppi_num(self, value: u8) -> Self
Bits: 27..32
sourcepub fn set_ppi_num(&mut self, value: u8)
pub fn set_ppi_num(&mut self, value: u8)
Bits: 27..32
Trait Implementations§
impl Copy for GicrTyper
Auto Trait Implementations§
impl Freeze for GicrTyper
impl RefUnwindSafe for GicrTyper
impl Send for GicrTyper
impl Sync for GicrTyper
impl Unpin for GicrTyper
impl UnwindSafe for GicrTyper
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)