Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs138 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()
H A Dahcidisk.rs44 pub port_num: u8, field
87 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()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs63 ($port_num:expr) => {
66 match $port_num {
81 PIO_PORTS[$port_num - 1] = Some(port);