Searched refs:port_num (Results 1 – 3 of 3) sorted by relevance
38 ($port_num:expr, $baudrate:expr) => {41 match $port_num {56 PIO_PORTS[$port_num - 1] = Some(port);
44 pub port_num: u8, field82 let port = _port(self.ctrl_num, self.port_num); in read_at()230 let port = _port(self.ctrl_num, self.port_num); in write_at()365 port_num: u8, in new()373 port_num, in new()
177 fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port()179 let port: &HbaPort = &list[ctrl_num as usize].ports[port_num as usize]; in _port()