pub struct Bt1Axi {
qos_regs: MmioRegion,
sys_regs: MmioRegion,
error_count: AtomicU64,
power_state: PowerState,
}Fields§
§qos_regs: MmioRegion§sys_regs: MmioRegion§error_count: AtomicU64§power_state: PowerStateImplementations§
Source§impl Bt1Axi
impl Bt1Axi
Sourcepub fn init_sys_regs(&mut self, base: usize, size: usize)
pub fn init_sys_regs(&mut self, base: usize, size: usize)
Initializes sys regs.
Sourcepub fn read_error_info(&self) -> Option<AxiErrorInfo>
pub fn read_error_info(&self) -> Option<AxiErrorInfo>
Reads error info.
Trait Implementations§
Source§impl BusDriver for Bt1Axi
impl BusDriver for Bt1Axi
Source§fn compatible(&self) -> &[&str]
fn compatible(&self) -> &[&str]
Performs the compatible operation.
Source§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.
Source§fn as_firewall(&self) -> Option<&dyn FirewallController>
fn as_firewall(&self) -> Option<&dyn FirewallController>
Returns the optional [
FirewallController] capability, if any. Read moreAuto Trait Implementations§
impl !Freeze for Bt1Axi
impl RefUnwindSafe for Bt1Axi
impl Send for Bt1Axi
impl Sync for Bt1Axi
impl Unpin for Bt1Axi
impl UnsafeUnpin for Bt1Axi
impl UnwindSafe for Bt1Axi
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