Lines Matching full:ivshmem
10 #include <zephyr/drivers/virtualization/ivshmem.h>
12 ZTEST(ivshmem, test_ivshmem_plain) in ZTEST() argument
14 const struct device *ivshmem; in ZTEST() local
22 ivshmem = DEVICE_DT_GET_ONE(qemu_ivshmem); in ZTEST()
23 zassert_true(device_is_ready(ivshmem), "ivshmem device is not ready"); in ZTEST()
25 size = ivshmem_get_mem(ivshmem, &mem); in ZTEST()
29 id = ivshmem_get_id(ivshmem); in ZTEST()
30 zassert_equal(id, 0, "ID should be 0 on ivshmem-plain"); in ZTEST()
39 vectors = ivshmem_get_vectors(ivshmem); in ZTEST()
40 zassert_equal(vectors, 0, "ivshmem-plain cannot have vectors"); in ZTEST()
42 ret = z_impl_ivshmem_int_peer(ivshmem, 0, 0); in ZTEST()
46 ret = ivshmem_register_handler(ivshmem, NULL, 0); in ZTEST()
60 ZTEST(ivshmem, test_quit_kernel) in ZTEST() argument
70 ZTEST_SUITE(ivshmem, NULL, NULL, NULL, NULL, NULL);