Home
last modified time | relevance | path

Searched refs:ps2_mouse_buffer_size (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/mouse/
Dps2_mouse.h19 #define ps2_mouse_buffer_size 360 macro
79 unsigned char buffer[ps2_mouse_buffer_size];
Dps2_mouse.c23 memset(ps2_mouse_buf_ptr->buffer, 0, ps2_mouse_buffer_size); in ps2_mouse_clear_buf()
38 if (ps2_mouse_buf_ptr->ptr_tail == ps2_mouse_buf_ptr->buffer + ps2_mouse_buffer_size) in ps2_mouse_get_scancode()
62 if (ps2_mouse_buf_ptr->ptr_head == ps2_mouse_buf_ptr->buffer + ps2_mouse_buffer_size) in ps2_mouse_handler()
65 if (ps2_mouse_buf_ptr->count >= ps2_mouse_buffer_size) in ps2_mouse_handler()
208 memset(ps2_mouse_buf_ptr->buffer, 0, ps2_mouse_buffer_size); in ps2_mouse_init()