Searched refs:in_reg (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/qtest/ |
H A D | ivshmem-test.c | 70 static inline unsigned in_reg(IVState *s, enum Reg reg) in in_reg() function 155 g_assert_cmpuint(in_reg(s, INTRMASK), ==, 0); in test_ivshmem_single() 156 g_assert_cmpuint(in_reg(s, INTRSTATUS), ==, 0); in test_ivshmem_single() 157 g_assert_cmpuint(in_reg(s, IVPOSITION), ==, 0); in test_ivshmem_single() 161 g_assert_cmphex(in_reg(s, INTRMASK), ==, 0xffffffff); in test_ivshmem_single() 164 g_assert_cmpuint(in_reg(s, INTRSTATUS), ==, 1); in test_ivshmem_single() 166 g_assert_cmpuint(in_reg(s, INTRSTATUS), ==, 0); in test_ivshmem_single() 171 in_reg(s, DOORBELL); in test_ivshmem_single() 335 vm1 = in_reg(s1, IVPOSITION); in test_ivshmem_server() 336 vm2 = in_reg(s2, IVPOSITION); in test_ivshmem_server()
|