Lines Matching refs:Option
25 pub static ref PCI_ROOT_0: Option<PciRoot> = {
277 fn as_standard_device(&self) -> Option<&PciDeviceStructureGeneralDevice> { in as_standard_device()
282 fn as_pci_to_pci_bridge_device(&self) -> Option<&PciDeviceStructurePciToPciBridge> { in as_pci_to_pci_bridge_device()
287 fn as_pci_to_carbus_bridge_device(&self) -> Option<&PciDeviceStructurePciToCardbusBridge> { in as_pci_to_carbus_bridge_device()
295 fn as_standard_device_mut(&mut self) -> Option<&mut PciDeviceStructureGeneralDevice> { in as_standard_device_mut()
300 fn as_pci_to_pci_bridge_device_mut(&mut self) -> Option<&mut PciDeviceStructurePciToPciBridge> { in as_pci_to_pci_bridge_device_mut()
307 ) -> Option<&mut PciDeviceStructurePciToCardbusBridge> { in as_pci_to_carbus_bridge_device_mut()
311 fn capabilities(&self) -> Option<CapabilityIterator> { in capabilities()
339 fn bar_ioremap(&mut self) -> Option<Result<u8, PciError>> { in bar_ioremap()
345 fn bar(&mut self) -> Option<&PciStandardDeviceBar> { in bar()
353 fn msix_capability_offset(&self) -> Option<u8> { in msix_capability_offset()
362 fn msi_capability_offset(&self) -> Option<u8> { in msi_capability_offset()
371 fn irq_type_mut(&mut self) -> Option<&mut IrqType>; in irq_type_mut()
373 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>>; in irq_vector_mut()
427 fn as_standard_device(&self) -> Option<&PciDeviceStructureGeneralDevice> { in as_standard_device()
431 fn as_standard_device_mut(&mut self) -> Option<&mut PciDeviceStructureGeneralDevice> { in as_standard_device_mut()
442 fn capabilities(&self) -> Option<CapabilityIterator> { in capabilities()
448 fn bar_ioremap(&mut self) -> Option<Result<u8, PciError>> { in bar_ioremap()
458 fn bar(&mut self) -> Option<&PciStandardDeviceBar> { in bar()
462 fn irq_type_mut(&mut self) -> Option<&mut IrqType> { in irq_type_mut()
466 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>> { in irq_vector_mut()
510 fn as_pci_to_pci_bridge_device(&self) -> Option<&PciDeviceStructurePciToPciBridge> { in as_pci_to_pci_bridge_device()
514 fn as_pci_to_pci_bridge_device_mut(&mut self) -> Option<&mut PciDeviceStructurePciToPciBridge> { in as_pci_to_pci_bridge_device_mut()
526 fn irq_type_mut(&mut self) -> Option<&mut IrqType> { in irq_type_mut()
530 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>> { in irq_vector_mut()
567 fn as_pci_to_carbus_bridge_device(&self) -> Option<&PciDeviceStructurePciToCardbusBridge> { in as_pci_to_carbus_bridge_device()
573 ) -> Option<&mut PciDeviceStructurePciToCardbusBridge> { in as_pci_to_carbus_bridge_device_mut()
585 fn irq_type_mut(&mut self) -> Option<&mut IrqType> { in irq_type_mut()
589 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>> { in irq_vector_mut()
598 pub mmio_base: Option<*mut u32>, //映射后的虚拟地址,为方便访问数据这里转化成指针
722 pub fn capabilities_offset(bus_device_function: BusDeviceFunction) -> Option<u8> { in capabilities_offset()
1272 pub fn memory_address_size(&self) -> Option<(u64, u32)> { in memory_address_size()
1282 pub fn virtual_address(&self) -> Option<u64> { in virtual_address()
1501 pub next_capability_offset: Option<u8>,
1506 fn next(&mut self) -> Option<Self::Item> { in next()
1550 pub next_capability_offset: Option<u16>,
1554 fn next(&mut self) -> Option<Self::Item> { in next()