pub struct GicrTyper(/* private fields */);
Implementations§
Source§impl GicrTyper
impl GicrTyper
Sourcepub const fn with_plpis_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_plpis_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vlpis_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dirty_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_direct_lpi_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_direct_lpi(&mut self, value: bool)
pub const fn set_direct_lpi(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn with_last_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_last_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_dpgs_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dpgs_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_mpam_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mpam_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_rvpeid_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rvpeid_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_rvpeid(self, value: bool) -> Self
pub const fn with_rvpeid(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_rvpeid(&mut self, value: bool)
pub const 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_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_processor_number_checked(self, value: u16) -> Result<Self, ()>
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 const fn set_processor_number(&mut self, value: u16)
pub const fn set_processor_number(&mut self, value: u16)
Bits: 8..24
Sourcepub const fn set_processor_number_checked(
&mut self,
value: u16,
) -> Result<(), ()>
pub const fn set_processor_number_checked( &mut self, value: u16, ) -> Result<(), ()>
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_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_common_lpi_aff_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_common_lpi_aff(&mut self, value: u8)
pub const fn set_common_lpi_aff(&mut self, value: u8)
Bits: 24..26
Sourcepub const fn with_vsgi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vsgi_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_ppi_num_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_ppi_num_checked(self, value: u8) -> Result<Self, ()>
Bits: 27..32
Sourcepub const fn with_ppi_num(self, value: u8) -> Self
pub const fn with_ppi_num(self, value: u8) -> Self
Bits: 27..32
Sourcepub const fn set_ppi_num(&mut self, value: u8)
pub const fn set_ppi_num(&mut self, value: u8)
Bits: 27..32
Sourcepub const fn with_aff0_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff0_checked(self, value: u8) -> Result<Self, ()>
Bits: 32..40
Sourcepub const fn with_aff1_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff1_checked(self, value: u8) -> Result<Self, ()>
Bits: 40..48
Sourcepub const fn with_aff2_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff2_checked(self, value: u8) -> Result<Self, ()>
Bits: 48..56
Sourcepub const fn with_aff3_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff3_checked(self, value: u8) -> Result<Self, ()>
Bits: 56..64
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