Home
last modified time | relevance | path

Searched refs:global_qtest (Results 1 – 25 of 211) sorted by relevance

123456789

/dports/emulators/qemu5/qemu-5.2.0/tests/qtest/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dnpcm7xx_gpio-test.c246 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
249 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
252 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
255 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
269 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_rising_edge()
331 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
335 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
337 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
339 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
345 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
H A Dnpcm7xx_timer-test.c233 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_enable_then_disable()
261 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_ps5()
266 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_ps5()
271 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_ps5()
299 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_ps0()
327 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_ps255()
345 g_assert_true(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_oneshot_interrupt()
372 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_pause_resume()
379 g_assert_false(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_pause_resume()
384 g_assert_true(qtest_get_irq(global_qtest, tim_timer_irq(td))); in test_pause_resume()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/qtest/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu42/qemu-4.2.1/tests/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu-utils/qemu-4.2.1/tests/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/qtest/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dnpcm7xx_gpio-test.c246 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
249 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
252 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
255 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
269 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_rising_edge()
331 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
335 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
337 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
339 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
345 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu/qemu-6.2.0/tests/qtest/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dnpcm7xx_gpio-test.c246 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
249 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
252 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
255 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
269 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_rising_edge()
331 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
335 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
337 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
339 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
345 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/tests/qtest/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu60/qemu-6.0.0/tests/qtest/
H A Dlibqtest-single.h29 global_qtest = qtest_init(args); in qtest_start()
30 return global_qtest; in qtest_start()
40 if (!global_qtest) { in qtest_end()
43 qtest_quit(global_qtest); in qtest_end()
44 global_qtest = NULL; in qtest_end()
98 qtest_outb(global_qtest, addr, value); in outb()
110 qtest_outw(global_qtest, addr, value); in outw()
122 qtest_outl(global_qtest, addr, value); in outl()
135 return qtest_inb(global_qtest, addr); in inb()
148 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dnpcm7xx_gpio-test.c246 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
249 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
252 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
255 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_level()
269 g_assert_false(qtest_get_irq(global_qtest, GPIO_IRQ(0))); in test_events_rising_edge()
331 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
335 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
337 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
339 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
345 g_assert_true(qtest_get_irq(global_qtest, GPIO_IRQ(n))); in test_gpion_irq()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
58 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://," in virtio_blk_nop()
66 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
72 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
78 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/tests/
H A Dlibqtest.h22 extern QTestState *global_qtest;
568 global_qtest = qtest_init(args); in qtest_start()
569 return global_qtest; in qtest_start()
579 qtest_quit(global_qtest); in qtest_end()
580 global_qtest = NULL; in qtest_end()
690 qtest_outb(global_qtest, addr, value); in outb()
702 qtest_outw(global_qtest, addr, value); in outw()
714 qtest_outl(global_qtest, addr, value); in outl()
727 return qtest_inb(global_qtest, addr); in inb()
740 return qtest_inw(global_qtest, addr); in inw()
[all …]
H A Dvirtio-ccw-test.c22 global_qtest = qtest_initf("-device virtio-balloon-ccw"); in virtio_balloon_nop()
28 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop()
35 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop()
42 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop()
48 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_hotplug()
56 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://,format=raw " in virtio_blk_nop()
63 global_qtest = qtest_initf("-device virtio-net-ccw"); in virtio_net_nop()
69 global_qtest = qtest_initf("-device virtio-rng-ccw"); in virtio_rng_nop()
75 global_qtest = qtest_initf("-device virtio-scsi-ccw"); in virtio_scsi_nop()
81 global_qtest = qtest_initf("-drive if=none,id=drv0,file=null-co://,format=raw " in virtio_scsi_hotplug()
H A Divshmem-test.c77 global_qtest = s->qs->qts; in in_reg()
80 global_qtest = qtest; in in_reg()
90 global_qtest = s->qs->qts; in out_reg()
93 global_qtest = qtest; in out_reg()
100 global_qtest = s->qs->qts; in read_mem()
102 global_qtest = qtest; in read_mem()
110 global_qtest = s->qs->qts; in write_mem()
112 global_qtest = qtest; in write_mem()
134 global_qtest = s->qs->qts; in setup_vm_cmd()
357 global_qtest = s1->qs->qts; in test_ivshmem_server()
[all …]
H A Dvmgenid-test.c48 boot_sector_test(global_qtest); in acpi_find_vgia()
145 global_qtest = qtest_initf(GUID_CMD(VGID_GUID)); in vmgenid_set_guid_test()
151 qtest_quit(global_qtest); in vmgenid_set_guid_test()
158 global_qtest = qtest_initf(GUID_CMD("auto")); in vmgenid_set_guid_auto_test()
165 qtest_quit(global_qtest); in vmgenid_set_guid_auto_test()
174 global_qtest = qtest_initf(GUID_CMD(VGID_GUID)); in vmgenid_query_monitor_test()
180 qtest_quit(global_qtest); in vmgenid_query_monitor_test()

123456789