Searched refs:PORT_KEYBOARD_DATA (Results 1 – 2 of 2) sorted by relevance
59 unsigned char x = io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_handler()97 io_out8(PORT_KEYBOARD_DATA, PS2_MOUSE_GET_ID); in ps2_mouse_get_mouse_ID()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()127 io_out8(PORT_KEYBOARD_DATA, PS2_MOUSE_SET_SAMPLING_RATE); in ps2_mouse_set_sample_rate()129 io_in8(PORT_KEYBOARD_DATA); in ps2_mouse_set_sample_rate()137 io_out8(PORT_KEYBOARD_DATA, hz); 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()239 io_out8(PORT_KEYBOARD_DATA, PS2_MOUSE_ENABLE); // 允许鼠标设备发送数据包 in ps2_mouse_init()[all …]
21 #define PORT_KEYBOARD_DATA 0x60 macro