Searched refs:ctrl_num (Results 1 – 2 of 2) sorted by relevance
31 pub ctrl_num: u8, field69 let port = _port(self.ctrl_num, self.port_num); in read_at()227 let port = _port(self.ctrl_num, self.port_num); in write_at()365 ctrl_num: u8, in new()375 ctrl_num, in new()
183 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port()186 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()