Lines Matching refs:gic_dev_type

31 	uint32_t gic_dev_type;  member
75 static struct vm_gic vm_gic_create_with_vcpus(uint32_t gic_dev_type, in vm_gic_create_with_vcpus() argument
81 v.gic_dev_type = gic_dev_type; in vm_gic_create_with_vcpus()
83 v.gic_fd = kvm_create_device(v.vm, gic_dev_type); in vm_gic_create_with_vcpus()
88 static struct vm_gic vm_gic_create_barebones(uint32_t gic_dev_type) in vm_gic_create_barebones() argument
92 v.gic_dev_type = gic_dev_type; in vm_gic_create_barebones()
94 v.gic_fd = kvm_create_device(v.vm, gic_dev_type); in vm_gic_create_barebones()
151 rdist = VGIC_DEV_IS_V3(v->gic_dev_type) ? gic_v3_redist_region in subtest_dist_rdist()
153 dist = VGIC_DEV_IS_V3(v->gic_dev_type) ? gic_v3_dist_region in subtest_dist_rdist()
336 static void test_vgic_then_vcpus(uint32_t gic_dev_type) in test_vgic_then_vcpus() argument
342 v = vm_gic_create_with_vcpus(gic_dev_type, 1, vcpus); in test_vgic_then_vcpus()
357 static void test_vcpus_then_vgic(uint32_t gic_dev_type) in test_vcpus_then_vgic() argument
363 v = vm_gic_create_with_vcpus(gic_dev_type, NR_VCPUS, vcpus); in test_vcpus_then_vgic()
683 int test_kvm_device(uint32_t gic_dev_type) in test_kvm_device() argument
697 ret = __kvm_test_create_device(v.vm, gic_dev_type); in test_kvm_device()
700 v.gic_fd = kvm_create_device(v.vm, gic_dev_type); in test_kvm_device()
702 ret = __kvm_create_device(v.vm, gic_dev_type); in test_kvm_device()
706 other = VGIC_DEV_IS_V2(gic_dev_type) ? KVM_DEV_TYPE_ARM_VGIC_V3 in test_kvm_device()
720 void run_tests(uint32_t gic_dev_type) in run_tests() argument
722 test_vcpus_then_vgic(gic_dev_type); in run_tests()
723 test_vgic_then_vcpus(gic_dev_type); in run_tests()
725 if (VGIC_DEV_IS_V2(gic_dev_type)) in run_tests()
728 if (VGIC_DEV_IS_V3(gic_dev_type)) { in run_tests()