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