pub struct UniphierSystemBus {
regs: MmioRegion,
banks: [BankConfig; 8],
boot_swap: bool,
power_state: PowerState,
children: Vec<BusChild>,
}Fields§
§regs: MmioRegion§banks: [BankConfig; 8]§boot_swap: bool§power_state: PowerState§children: Vec<BusChild>Implementations§
Source§impl UniphierSystemBus
impl UniphierSystemBus
Sourcepub fn check_boot_swap(&mut self)
pub fn check_boot_swap(&mut self)
Performs the check boot swap operation.
Sourcefn apply_bank_config(&self)
fn apply_bank_config(&self)
Performs the apply bank config operation.
Trait Implementations§
Source§impl BusDriver for UniphierSystemBus
impl BusDriver for UniphierSystemBus
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 UniphierSystemBus
impl RefUnwindSafe for UniphierSystemBus
impl Send for UniphierSystemBus
impl Sync for UniphierSystemBus
impl Unpin for UniphierSystemBus
impl UnsafeUnpin for UniphierSystemBus
impl UnwindSafe for UniphierSystemBus
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