Home
last modified time | relevance | path

Searched refs:port_num (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dserial8250_pio.rs38 ($port_num:expr, $baudrate:expr) => {
41 match $port_num {
56 PIO_PORTS[$port_num - 1] = Some(port);
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs44 pub port_num: u8, field
82 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()
Dmod.rs177 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()