Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.h26 #define wait_ps2_keyboard_write() while (io_in8(PORT_PS2_KEYBOARD_STATUS) & PS2_KEYBOARD_FLAG_INBUF…
29 #define wait_ps2_keyboard_read() while (io_in8(PORT_PS2_KEYBOARD_STATUS) & PS2_KEYBOARD_FLAG_OUTBUF…
Dps2_keyboard.c146 unsigned char x = io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_handler()
206 io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_init()
/DragonOS-0.1.8/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.8/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.8/kernel/src/driver/uart/
Duart.rs14 include::bindings::bindings::{io_in8, io_out8},
302 if io_in8(port + 0) != 0xAE { in uart_init()
323 if unsafe { io_in8(offset + 5) } & 1 != 0 { in serial_received()
331 if unsafe { io_in8(offset + 5) } & 0x20 != 0 { in is_transmit_empty()
361 unsafe { io_in8(port) as char } in uart_read_byte()
387 unsafe { io_in8(port) } in c_uart_read()
431 if io_in8(port + 0) != 0xAE { in c_uart_init()
/DragonOS-0.1.8/kernel/src/driver/timers/rtc/
Drtc.rs4 include::bindings::bindings::{io_in8, io_out8},
96 return io_in8(0x71); in read_cmos()
/DragonOS-0.1.8/kernel/src/driver/interrupt/8259A/
D8259A.c55 x = io_in8(0x60); in do_IRQ()
/DragonOS-0.1.8/kernel/src/common/
Dglib.h133 unsigned char io_in8(unsigned short port) in io_in8() function