Searched refs:io_in8 (Results 1 – 9 of 9) sorted by relevance
27 #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…
147 unsigned char x = io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_handler()206 io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_init()
1 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()
34 #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)
59 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()
14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep()21 x = io_in8(0x61); in __experimental_beep()
55 x = io_in8(0x60); in do_IRQ()
8 io_in8(0x71); \
133 unsigned char io_in8(unsigned short port) in io_in8() function