#[repr(C)]pub struct DcfgArmSmmuIrq {
pub num: u32,
pub flags: ArmSmmuIrqFlags,
}Fields§
§num: u32The IRQ number reported as an “absolute” GIC interrupt index. SMMU interrupts are expected to be SPIs, and the SPI range of a GIC’s interrupt indices starts at 32. Because of this, it can be assumed that any interrupt number which is < 32 indicates an invalid interrupt.
flags: ArmSmmuIrqFlagsThe IRQ flags as they would be reported by a device tree description.
Trait Implementations§
Source§impl Clone for DcfgArmSmmuIrq
impl Clone for DcfgArmSmmuIrq
Source§fn clone(&self) -> DcfgArmSmmuIrq
fn clone(&self) -> DcfgArmSmmuIrq
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DcfgArmSmmuIrq
impl Debug for DcfgArmSmmuIrq
Source§impl FromBytes for DcfgArmSmmuIrq
impl FromBytes for DcfgArmSmmuIrq
Source§impl FromZeros for DcfgArmSmmuIrq
impl FromZeros for DcfgArmSmmuIrq
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for DcfgArmSmmuIrq
impl IntoBytes for DcfgArmSmmuIrq
Source§impl PartialEq for DcfgArmSmmuIrq
impl PartialEq for DcfgArmSmmuIrq
Source§impl TryFromBytes for DcfgArmSmmuIrq
impl TryFromBytes for DcfgArmSmmuIrq
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for DcfgArmSmmuIrq
impl Eq for DcfgArmSmmuIrq
impl StructuralPartialEq for DcfgArmSmmuIrq
Auto Trait Implementations§
impl Freeze for DcfgArmSmmuIrq
impl RefUnwindSafe for DcfgArmSmmuIrq
impl Send for DcfgArmSmmuIrq
impl Sync for DcfgArmSmmuIrq
impl Unpin for DcfgArmSmmuIrq
impl UnsafeUnpin for DcfgArmSmmuIrq
impl UnwindSafe for DcfgArmSmmuIrq
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