Home
last modified time | relevance | path

Searched refs:PciError (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.7/kernel/src/arch/
Dmod.rs6 use crate::driver::pci::pci::{BusDeviceFunction, PciAddr, PciError, PciRoot, SegmentGroupNumber};
26 fn ecam_root(segement: SegmentGroupNumber) -> Result<PciRoot, PciError>; in ecam_root() argument
/DragonOS-0.1.7/kernel/src/arch/x86_64/pci/
Dpci.rs4 BusDeviceFunction, PciAddr, PciError, PciRoot, SegmentGroupNumber, PORT_PCI_CONFIG_ADDRESS,
47 fn ecam_root(segement: SegmentGroupNumber) -> Result<PciRoot, PciError> { in ecam_root() argument
68 return Err(PciError::SegmentNotFound); in ecam_root()
/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs236 pub enum PciError { enum
247 impl Display for PciError { implementation
324 fn bar_init(&mut self) -> Option<Result<u8, PciError>> { in bar_init() argument
328 fn msix_init(&mut self) -> Option<Result<u8, PciError>> { in msix_init() argument
405 fn bar_init(&mut self) -> Option<Result<u8, PciError>> { in bar_init() argument
537 pub fn new(segment_group_number: SegmentGroupNumber) -> Result<Self, PciError> { in new() argument
544 fn map(&mut self) -> Result<u8, PciError> { in map() argument
559 return Err(PciError::CreateMmioError); in map()
650 ) -> Result<Box<dyn PciDeviceStructure>, PciError> { in pci_read_header() argument
672 return Err(PciError::GetWrongHeader); in pci_read_header()
[all …]
/DragonOS-0.1.7/kernel/src/driver/virtio/
Dtransport_pci.rs4 BusDeviceFunction, PciDeviceStructure, PciDeviceStructureGeneralDevice, PciError,
406 Pci(PciError),
450 impl From<PciError> for VirtioPciError {
451 fn from(error: PciError) -> Self { in from()