Searched refs:vgic_check_type (Results 1 – 1 of 1) sorted by relevance
37 static int vgic_check_type(struct kvm *kvm, int type_needed) in vgic_check_type() function53 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V2); in kvm_set_legacy_vgic_v2_addr()61 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V2); in kvm_set_legacy_vgic_v2_addr()113 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V2); in kvm_vgic_addr()119 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V2); in kvm_vgic_addr()125 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V3); in kvm_vgic_addr()133 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V3); in kvm_vgic_addr()153 r = vgic_check_type(kvm, KVM_DEV_TYPE_ARM_VGIC_V3); in kvm_vgic_addr()267 if (vgic_check_type(dev->kvm, KVM_DEV_TYPE_ARM_VGIC_V3)) in vgic_set_common_attr()