Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dmod.rs17 hba::{HbaPort, HbaPortType},
182 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port() argument
185 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()
187 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