Home
last modified time | relevance | path

Searched refs:PS2_QUEUE_SIZE (Results 1 – 11 of 11) sorted by relevance

/dports/emulators/qemu42/qemu-4.2.1/hw/input/
H A Dps2.c197 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 …]
/dports/emulators/qemu60/qemu-6.0.0/hw/input/
H A Dps2.c198 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 …]
/dports/emulators/qemu-utils/qemu-4.2.1/hw/input/
H A Dps2.c197 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 …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/input/
H A Dps2.c195 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 …]
/dports/emulators/qemu5/qemu-5.2.0/hw/input/
H A Dps2.c198 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 …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/input/
H A Dps2.c204 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 …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/input/
H A Dps2.c204 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 …]
/dports/emulators/vice/vice-3.5/src/
H A Dps2mouse.c116 #define PS2_QUEUE_SIZE 8 macro
117 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()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/
H A Dps2mouse.c116 #define PS2_QUEUE_SIZE 8 macro
117 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()
/dports/emulators/qemu/qemu-6.2.0/hw/input/
H A Dps2.c82 #define PS2_QUEUE_SIZE 16 /* Queue size required by PS/2 protocol */ macro
203 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()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/input/
H A Dps2.c82 #define PS2_QUEUE_SIZE 16 /* Queue size required by PS/2 protocol */ macro
203 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()