Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.h27 #define wait_ps2_keyboard_write() while (io_in8(PORT_PS2_KEYBOARD_STATUS) & PS2_KEYBOARD_FLAG_INBUF…
30 #define wait_ps2_keyboard_read() while (io_in8(PORT_PS2_KEYBOARD_STATUS) & PS2_KEYBOARD_FLAG_OUTBUF…
Dps2_keyboard.c145 unsigned char x = io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_handler()
204 io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_init()
/DragonOS-0.1.5/kernel/src/driver/uart/
Duart.rs1 use crate::include::bindings::bindings::{io_in8, io_out8};
118 if io_in8(port + 0) != 0xAE { in uart_init()
139 if unsafe { io_in8(offset + 5) } & 1 != 0 { in serial_received()
147 if unsafe { io_in8(offset + 5) } & 0x20 != 0 { in is_transmit_empty()
177 unsafe { io_in8(port) as char } in uart_read_byte()
198 unsafe { io_in8(port) } in c_uart_read()
242 if io_in8(port + 0) != 0xAE { in c_uart_init()
/DragonOS-0.1.5/kernel/src/driver/mouse/
Dps2_mouse.c59 unsigned char x = io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_handler()
99 ps2_mouse_id = io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_get_mouse_ID()
101 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_get_mouse_ID()
129 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_set_sample_rate()
142 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_set_sample_rate()
235 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_init()
241 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_init()
251 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_init()
Dps2_mouse.h34 #define wait_keyboard_write() while (io_in8(PORT_KEYBOARD_STATUS) & KEYBOARD_FLAG_INBUF_FULL)
36 #define wait_keyboard_read() while (io_in8(PORT_KEYBOARD_STATUS) & KEYBOARD_FLAG_OUTBUF_FULL)
/DragonOS-0.1.5/kernel/src/libs/
Dglib.c14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep()
21 x = io_in8(0x61); in __experimental_beep()
/DragonOS-0.1.5/kernel/src/driver/timers/rtc/
Drtc.rs3 include::bindings::bindings::{io_in8, io_out8},
94 return io_in8(0x71); in read_cmos()
/DragonOS-0.1.5/kernel/src/driver/interrupt/8259A/
D8259A.c55 x = io_in8(0x60); in do_IRQ()
/DragonOS-0.1.5/kernel/src/common/
Dglib.h133 unsigned char io_in8(unsigned short port) in io_in8() function