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…
145 unsigned char x = io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_handler()204 io_in8(PORT_PS2_KEYBOARD_DATA); in ps2_keyboard_init()
1 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()
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()
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)
14 uint32_t x = io_in8(0x61)&0xff; in __experimental_beep()21 x = io_in8(0x61); in __experimental_beep()
3 include::bindings::bindings::{io_in8, io_out8},94 return io_in8(0x71); in read_cmos()
55 x = io_in8(0x60); in do_IRQ()
133 unsigned char io_in8(unsigned short port) in io_in8() function