Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dmod.rs18 hba::{HbaPort, HbaPortType},
183 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port() argument
186 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()
188 return unsafe { (port as *const HbaPort as *mut HbaPort).as_mut().unwrap() }; in _port() constant
Dhba.rs47 pub struct HbaPort { struct
83 pub ports: [HbaPort; 32], // 0x100 - 0x10FF, Port control registers argument
128 impl HbaPort { impl