Searched refs:port_num (Results 1 – 3 of 3) sorted by relevance
138 fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port()140 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()
44 pub port_num: u8, field87 let port = _port(self.ctrl_num, self.port_num); in read_at()242 let port = _port(self.ctrl_num, self.port_num); in write_at()382 pub fn new(ctrl_num: u8, port_num: u8) -> Result<Arc<LockedAhciDisk>, SystemError> { in new()390 port_num, in new()
63 ($port_num:expr) => {66 match $port_num {81 PIO_PORTS[$port_num - 1] = Some(port);