Searched refs:cpuid (Results 1 – 4 of 4) sorted by relevance
61 u32 cpuid, intid = val & GICH_LR_VIRTUALID; in vgic_v2_fold_lr_state() local65 cpuid = val & GICH_LR_PHYSID_CPUID; in vgic_v2_fold_lr_state()66 cpuid >>= GICH_LR_PHYSID_CPUID_SHIFT; in vgic_v2_fold_lr_state()67 cpuid &= 7; in vgic_v2_fold_lr_state()82 irq->active_source = cpuid; in vgic_v2_fold_lr_state()90 irq->source |= (1 << cpuid); in vgic_v2_fold_lr_state()
44 u32 intid, cpuid; in vgic_v3_fold_lr_state() local48 cpuid = val & GICH_LR_PHYSID_CPUID; in vgic_v3_fold_lr_state()49 cpuid >>= GICH_LR_PHYSID_CPUID_SHIFT; in vgic_v3_fold_lr_state()73 irq->active_source = cpuid; in vgic_v3_fold_lr_state()81 irq->source |= (1 << cpuid); in vgic_v3_fold_lr_state()
284 int cpuid; in vgic_v2_parse_attr() local286 cpuid = (attr->attr & KVM_DEV_ARM_VGIC_CPUID_MASK) >> in vgic_v2_parse_attr()289 if (cpuid >= atomic_read(&dev->kvm->online_vcpus)) in vgic_v2_parse_attr()292 reg_attr->vcpu = kvm_get_vcpu(dev->kvm, cpuid); in vgic_v2_parse_attr()
437 int kvm_vgic_inject_irq(struct kvm *kvm, int cpuid, unsigned int intid, in kvm_vgic_inject_irq() argument445 trace_vgic_update_irq_pending(cpuid, intid, level); in kvm_vgic_inject_irq()451 vcpu = kvm_get_vcpu(kvm, cpuid); in kvm_vgic_inject_irq()