Home
last modified time | relevance | path

Searched refs:in8 (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/keyboard/
Dps2_keyboard.rs181 let status = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) }; in handle()
187 let input = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_DATA.into()) }; in handle()
205 CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) in wait_ps2_keyboard_write()
241 let status = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) }; in ps2_keyboard_init()
244 unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_DATA.into()) }; in ps2_keyboard_init()
/DragonOS-0.1.9/kernel/src/arch/
Dio.rs3 unsafe fn in8(port: u16) -> u8; in in8() method
/DragonOS-0.1.9/kernel/src/arch/riscv64/
Dpio.rs7 unsafe fn in8(port: u16) -> u8 { in in8() method
/DragonOS-0.1.9/kernel/src/arch/x86_64/asm/
Dpio.rs7 unsafe fn in8(port: u16) -> u8 { in in8() method
/DragonOS-0.1.9/kernel/src/driver/timers/rtc/
Drtc.rs96 return CurrentPortIOArch::in8(0x71); in read_cmos()
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dserial8250_pio.rs118 if CurrentPortIOArch::in8(port + 0) != 0xAE { in init()
204 unsafe { CurrentPortIOArch::in8(self.iobase as u16 + offset as u16).into() } in serial_in()
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/
Dtsc.rs255 let d = (CurrentPortIOArch::in8(0x61) & (!0x02)) | 0x01; in pit_calibrate_tsc()
272 while unsafe { (CurrentPortIOArch::in8(0x61) & 0x20) == 0 } { in pit_calibrate_tsc()
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs351 let cmd = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in read_data_port()
353 let data = unsafe { CurrentPortIOArch::in8(DATA_PORT_ADDRESS) }; in read_data_port()
392 let value = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in wait_for_read()
403 let value = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in wait_for_write()
Dps_mouse_driver.rs59 unsafe { CurrentPortIOArch::in8(0x60) }; in handle()