Home
last modified time | relevance | path

Searched refs:HbaPortType (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dhba.rs36 pub enum HbaPortType { enum
130 pub fn check_type(&mut self) -> HbaPortType { in check_type() argument
134 HBA_SIG_ATA => HbaPortType::SATA, in check_type()
135 HBA_SIG_ATAPI => HbaPortType::SATAPI, in check_type()
136 HBA_SIG_PM => HbaPortType::PM, in check_type()
137 HBA_SIG_SEMB => HbaPortType::SEMB, in check_type()
138 _ => HbaPortType::Unknown(sig), in check_type()
141 HbaPortType::None in check_type()
Dmod.rs18 hba::{HbaPort, HbaPortType},
99 HbaPortType::None => { in ahci_rust_init()
102 HbaPortType::Unknown(err) => { in ahci_rust_init()