Searched refs:HbaPort (Results 1 – 2 of 2) sorted by relevance
18 hba::{HbaPort, HbaPortType},183 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port() argument186 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
47 pub struct HbaPort { struct83 pub ports: [HbaPort; 32], // 0x100 - 0x10FF, Port control registers argument128 impl HbaPort { impl