Struct dbs_interrupt::MsiIrqSourceConfig
source · pub struct MsiIrqSourceConfig {
pub high_addr: u32,
pub low_addr: u32,
pub data: u32,
pub msg_ctl: u32,
pub device_id: Option<u32>,
}
Expand description
Configuration data for GenericMsi, PciMsi, PciMsix interrupts.
Fields§
§high_addr: u32
High address to deliver message signaled interrupt.
low_addr: u32
Low address to deliver message signaled interrupt.
data: u32
Data to write to deliver message signaled interrupt.
msg_ctl: u32
Interrupt control state.
device_id: Option<u32>
Device id indicate the device who triggers this msi irq.
Trait Implementations§
source§impl Clone for MsiIrqSourceConfig
impl Clone for MsiIrqSourceConfig
source§fn clone(&self) -> MsiIrqSourceConfig
fn clone(&self) -> MsiIrqSourceConfig
Returns a copy 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 MsiIrqSourceConfig
impl Debug for MsiIrqSourceConfig
source§impl Default for MsiIrqSourceConfig
impl Default for MsiIrqSourceConfig
source§fn default() -> MsiIrqSourceConfig
fn default() -> MsiIrqSourceConfig
Returns the “default value” for a type. Read more
source§impl PartialEq<MsiIrqSourceConfig> for MsiIrqSourceConfig
impl PartialEq<MsiIrqSourceConfig> for MsiIrqSourceConfig
source§fn eq(&self, other: &MsiIrqSourceConfig) -> bool
fn eq(&self, other: &MsiIrqSourceConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.