Home
last modified time | relevance | path

Searched refs:iobase (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs104 iobase: Serial8250PortBase, field
112 pub fn new(iobase: Serial8250PortBase, baudrate: BaudRate) -> Result<Self, SystemError> { in new()
114 iobase, in new()
134 let port = self.iobase as u16; in init()
225 unsafe { CurrentPortIOArch::in8(self.iobase as u16 + offset as u16).into() } in serial_in()
230 unsafe { CurrentPortIOArch::out8(self.iobase as u16 + offset as u16, value as u8) } in serial_out()
241 let port = self.iobase as u16; in set_divisor()
287 fn iobase(&self) -> Option<usize> { in iobase() method
288 Some(self.iobase as usize) in iobase()
435 port.iobase in serial_8250_pio_register_tty_devices()
[all …]
/DragonOS/kernel/src/driver/serial/
H A Dmod.rs32 fn iobase(&self) -> Option<usize> { in iobase() method