Searched refs:PS2_QUEUE_SIZE (Results 1 – 11 of 11) sorted by relevance
197 if (q->count == PS2_QUEUE_SIZE) { in ps2_queue_noirq()202 if (++q->wptr == PS2_QUEUE_SIZE) in ps2_queue_noirq()220 if (PS2_QUEUE_SIZE - s->queue.count < 2) { in ps2_queue_2()231 if (PS2_QUEUE_SIZE - s->queue.count < 3) { in ps2_queue_3()243 if (PS2_QUEUE_SIZE - s->queue.count < 4) { in ps2_queue_4()507 index = PS2_QUEUE_SIZE - 1; in ps2_read_data()511 if (++q->rptr == PS2_QUEUE_SIZE) in ps2_read_data()916 uint8_t tmp_data[PS2_QUEUE_SIZE]; in ps2_common_post_load()922 } else if (q->count > PS2_QUEUE_SIZE) { in ps2_common_post_load()923 size = PS2_QUEUE_SIZE; in ps2_common_post_load()[all …]
198 if (q->count == PS2_QUEUE_SIZE) { in ps2_queue_noirq()203 if (++q->wptr == PS2_QUEUE_SIZE) in ps2_queue_noirq()221 if (PS2_QUEUE_SIZE - s->queue.count < 2) { in ps2_queue_2()232 if (PS2_QUEUE_SIZE - s->queue.count < 3) { in ps2_queue_3()244 if (PS2_QUEUE_SIZE - s->queue.count < 4) { in ps2_queue_4()508 index = PS2_QUEUE_SIZE - 1; in ps2_read_data()512 if (++q->rptr == PS2_QUEUE_SIZE) in ps2_read_data()922 uint8_t tmp_data[PS2_QUEUE_SIZE]; in ps2_common_post_load()928 } else if (q->count > PS2_QUEUE_SIZE) { in ps2_common_post_load()929 size = PS2_QUEUE_SIZE; in ps2_common_post_load()[all …]
195 if (q->count == PS2_QUEUE_SIZE) { in ps2_queue_noirq()200 if (++q->wptr == PS2_QUEUE_SIZE) in ps2_queue_noirq()218 if (PS2_QUEUE_SIZE - s->queue.count < 2) { in ps2_queue_2()229 if (PS2_QUEUE_SIZE - s->queue.count < 3) { in ps2_queue_3()241 if (PS2_QUEUE_SIZE - s->queue.count < 4) { in ps2_queue_4()505 index = PS2_QUEUE_SIZE - 1; in ps2_read_data()509 if (++q->rptr == PS2_QUEUE_SIZE) in ps2_read_data()914 uint8_t tmp_data[PS2_QUEUE_SIZE]; in ps2_common_post_load()920 } else if (q->count > PS2_QUEUE_SIZE) { in ps2_common_post_load()921 size = PS2_QUEUE_SIZE; in ps2_common_post_load()[all …]
204 if (q->count == PS2_QUEUE_SIZE) { in ps2_queue_noirq()209 if (++q->wptr == PS2_QUEUE_SIZE) in ps2_queue_noirq()227 if (PS2_QUEUE_SIZE - s->queue.count < 2) { in ps2_queue_2()238 if (PS2_QUEUE_SIZE - s->queue.count < 3) { in ps2_queue_3()250 if (PS2_QUEUE_SIZE - s->queue.count < 4) { in ps2_queue_4()514 index = PS2_QUEUE_SIZE - 1; in ps2_read_data()518 if (++q->rptr == PS2_QUEUE_SIZE) in ps2_read_data()931 uint8_t tmp_data[PS2_QUEUE_SIZE]; in ps2_common_post_load()937 } else if (q->count > PS2_QUEUE_SIZE) { in ps2_common_post_load()938 size = PS2_QUEUE_SIZE; in ps2_common_post_load()[all …]
116 #define PS2_QUEUE_SIZE 8 macro117 uint8_t ps2mouse_queue[PS2_QUEUE_SIZE];123 uint8_t new_head = (ps2mouse_queue_head + 1) & (PS2_QUEUE_SIZE - 1); in ps2mouse_queue_put()144 ps2mouse_queue_tail &= (PS2_QUEUE_SIZE - 1); in ps2mouse_queue_get()
82 #define PS2_QUEUE_SIZE 16 /* Queue size required by PS/2 protocol */ macro203 if (q->count >= PS2_QUEUE_SIZE) { in ps2_queue_noirq()221 if (PS2_QUEUE_SIZE - s->queue.count < 1) { in ps2_queue()231 if (PS2_QUEUE_SIZE - s->queue.count < 2) { in ps2_queue_2()242 if (PS2_QUEUE_SIZE - s->queue.count < 3) { in ps2_queue_3()254 if (PS2_QUEUE_SIZE - s->queue.count < 4) { in ps2_queue_4()720 if (PS2_QUEUE_SIZE - s->common.queue.count < needed) { in ps2_mouse_send_packet()1002 } else if (q->count > ccount + PS2_QUEUE_SIZE) { in ps2_common_post_load()1003 q->count = ccount + PS2_QUEUE_SIZE; in ps2_common_post_load()