pub trait IPciNode: Send + Sync {
Show 15 methods
fn node_type(&self) -> PciNodeType;
fn device(&self) -> Arc<PcieDevice>;
fn as_upstream(&self) -> Option<Arc<PcieUpstream>>;
fn as_root(&self) -> Option<&PciRoot> { ... }
fn allocate_bars(&self) -> ZxResult { ... }
fn disable(&self) { ... }
fn pf_mmio_regions(&self) -> Arc<Mutex<RegionAllocator>> { ... }
fn mmio_lo_regions(&self) -> Arc<Mutex<RegionAllocator>> { ... }
fn mmio_hi_regions(&self) -> Arc<Mutex<RegionAllocator>> { ... }
fn pio_regions(&self) -> Arc<Mutex<RegionAllocator>> { ... }
fn enable_bus_master(&self, _enable: bool) -> ZxResult { ... }
fn enable_irq(&self, irq_id: usize) { ... }
fn disable_irq(&self, irq_id: usize) { ... }
fn register_irq_handle(
&self,
irq_id: usize,
handle: Box<dyn Fn() -> u32 + Send + Sync>
) { ... }
fn unregister_irq_handle(&self, irq_id: usize) { ... }
}