pub struct IntelIxp4xxEb {
regs: MmioRegion,
bus_base: u64,
num_cs: usize,
is_42x: bool,
is_43x: bool,
power_state: PowerState,
children: Vec<BusChild>,
}Fields§
§regs: MmioRegion§bus_base: u64§num_cs: usize§is_42x: bool§is_43x: bool§power_state: PowerState§children: Vec<BusChild>Implementations§
Source§impl IntelIxp4xxEb
impl IntelIxp4xxEb
Sourcepub fn set_variant(&mut self, is_42x: bool, is_43x: bool)
pub fn set_variant(&mut self, is_42x: bool, is_43x: bool)
Sets variant.
Sourcefn detect_bus_base(&mut self)
fn detect_bus_base(&mut self)
Performs the detect bus base operation.
Sourcepub fn configure_cs(
&self,
cs: usize,
config: &CsTimingConfig,
) -> Result<(), BusError>
pub fn configure_cs( &self, cs: usize, config: &CsTimingConfig, ) -> Result<(), BusError>
Performs the configure cs operation.
Sourcepub fn cs_base_addr(&self, cs: usize) -> u64
pub fn cs_base_addr(&self, cs: usize) -> u64
Performs the cs base addr operation.
Trait Implementations§
Source§impl BusDriver for IntelIxp4xxEb
impl BusDriver for IntelIxp4xxEb
Source§fn compatible(&self) -> &[&str]
fn compatible(&self) -> &[&str]
Performs the compatible operation.
Source§fn as_firewall(&self) -> Option<&dyn FirewallController>
fn as_firewall(&self) -> Option<&dyn FirewallController>
Returns the optional [
FirewallController] capability, if any. Read moreSource§fn probe(&self) -> bool
fn probe(&self) -> bool
Returns
true if the driver believes the hardware is present. Read moreSource§fn error_count(&self) -> u64
fn error_count(&self) -> u64
Performs the error count operation.
Source§fn handle_irq(&mut self) -> bool
fn handle_irq(&mut self) -> bool
Handles irq.
Auto Trait Implementations§
impl Freeze for IntelIxp4xxEb
impl RefUnwindSafe for IntelIxp4xxEb
impl Send for IntelIxp4xxEb
impl Sync for IntelIxp4xxEb
impl Unpin for IntelIxp4xxEb
impl UnsafeUnpin for IntelIxp4xxEb
impl UnwindSafe for IntelIxp4xxEb
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