Home
last modified time | relevance | path

Searched refs:qindex (Results 1 – 8 of 8) sorted by relevance

/qemu/hw/input/
H A Dvirtio-input.c33 if (vinput->qindex == vinput->qsize) { in virtio_input_send()
38 vinput->queue[vinput->qindex++].event = *event; in virtio_input_send()
47 for (i = 0; i < vinput->qindex; i++) { in virtio_input_send()
53 vinput->qindex = 0; in virtio_input_send()
61 for (i = 0; i < vinput->qindex; i++) { in virtio_input_send()
69 vinput->qindex = 0; in virtio_input_send()
/qemu/contrib/vhost-user-input/
H A Dmain.c36 uint32_t qindex, qsize; member
47 if (vi->qindex == vi->qsize) { in vi_input_send()
51 vi->queue[vi->qindex++].event = *event; in vi_input_send()
60 for (i = 0; i < vi->qindex; i++) { in vi_input_send()
66 vi->qindex = 0; in vi_input_send()
74 for (i = 0; i < vi->qindex; i++) { in vi_input_send()
83 vi->qindex = 0; in vi_input_send()
/qemu/hw/intc/
H A Dxive2.c195 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_queue_pic_print_info() local
203 qindex = (qindex - (width - 1)) & (qentries - 1); in xive2_end_queue_pic_print_info()
205 uint64_t qaddr = qaddr_base + (qindex << 2); in xive2_end_queue_pic_print_info()
216 qindex = (qindex + 1) & (qentries - 1); in xive2_end_queue_pic_print_info()
224 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_pic_print_info() local
263 qaddr_base, qindex, qentries, qgen); in xive2_end_pic_print_info()
345 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_enqueue() local
348 uint64_t qaddr = qaddr_base + (qindex << 2); in xive2_end_enqueue()
359 qindex = (qindex + 1) & (qentries - 1); in xive2_end_enqueue()
360 if (qindex == 0) { in xive2_end_enqueue()
[all …]
H A Dxive.c1445 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in xive_end_queue_pic_print_info() local
1453 qindex = (qindex - (width - 1)) & (qentries - 1); in xive_end_queue_pic_print_info()
1455 uint64_t qaddr = qaddr_base + (qindex << 2); in xive_end_queue_pic_print_info()
1466 qindex = (qindex + 1) & (qentries - 1); in xive_end_queue_pic_print_info()
1474 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in xive_end_pic_print_info() local
1507 qaddr_base, qindex, qentries, qgen); in xive_end_pic_print_info()
1517 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in xive_end_enqueue() local
1520 uint64_t qaddr = qaddr_base + (qindex << 2); in xive_end_enqueue()
1531 qindex = (qindex + 1) & (qentries - 1); in xive_end_enqueue()
1532 if (qindex == 0) { in xive_end_enqueue()
[all …]
H A Dspapr_xive_kvm.c401 xive_set_field32(END_W1_PAGE_OFF, 0ul, kvm_eq.qindex); in kvmppc_xive_get_queue_config()
437 kvm_eq.qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in kvmppc_xive_set_queue_config()
H A Dspapr_xive.c136 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in spapr_xive_end_pic_print_info() local
145 priority, qindex, qentries, qaddr_base, qgen); in spapr_xive_end_pic_print_info()
/qemu/include/hw/virtio/
H A Dvirtio-input.h69 uint32_t qindex, qsize; member
/qemu/linux-headers/asm-powerpc/
H A Dkvm.h729 __u32 qindex; member