Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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.c147 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.2/kernel/src/driver/uart/
Duart.rs1 use crate::include::bindings::bindings::{io_in8, io_out8};
115 if io_in8(port + 0) != 0xAE { in uart_init()
136 if unsafe{ io_in8(offset + 5) } & 1 != 0 { in serial_received()
144 if unsafe{ io_in8(offset + 5) } & 0x20 != 0 { in is_transmit_empty()
172 unsafe { io_in8(port) as char } in uart_read_byte()
192 unsafe { io_in8(port) } in c_uart_read()
237 if io_in8(port + 0) != 0xAE { in c_uart_init()
/DragonOS-0.1.2/kernel/src/driver/mouse/
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)
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()
/DragonOS-0.1.2/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.2/kernel/src/driver/interrupt/8259A/
D8259A.c55 x = io_in8(0x60); in do_IRQ()
/DragonOS-0.1.2/kernel/src/driver/timers/rtc/
Drtc.c8 io_in8(0x71); \
/DragonOS-0.1.2/kernel/src/common/
Dglib.h133 unsigned char io_in8(unsigned short port) in io_in8() function