vmcrp 220 virt/kvm/arm/vgic/vgic-v2.c void vgic_v2_set_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) vmcrp 225 virt/kvm/arm/vgic/vgic-v2.c vmcr = (vmcrp->grpen0 << GICH_VMCR_ENABLE_GRP0_SHIFT) & vmcrp 227 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->grpen1 << GICH_VMCR_ENABLE_GRP1_SHIFT) & vmcrp 229 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->ackctl << GICH_VMCR_ACK_CTL_SHIFT) & vmcrp 231 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->fiqen << GICH_VMCR_FIQ_EN_SHIFT) & vmcrp 233 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->cbpr << GICH_VMCR_CBPR_SHIFT) & vmcrp 235 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->eoim << GICH_VMCR_EOI_MODE_SHIFT) & vmcrp 237 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->abpr << GICH_VMCR_ALIAS_BINPOINT_SHIFT) & vmcrp 239 virt/kvm/arm/vgic/vgic-v2.c vmcr |= (vmcrp->bpr << GICH_VMCR_BINPOINT_SHIFT) & vmcrp 241 virt/kvm/arm/vgic/vgic-v2.c vmcr |= ((vmcrp->pmr >> GICV_PMR_PRIORITY_SHIFT) << vmcrp 247 virt/kvm/arm/vgic/vgic-v2.c void vgic_v2_get_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) vmcrp 254 virt/kvm/arm/vgic/vgic-v2.c vmcrp->grpen0 = (vmcr & GICH_VMCR_ENABLE_GRP0_MASK) >> vmcrp 256 virt/kvm/arm/vgic/vgic-v2.c vmcrp->grpen1 = (vmcr & GICH_VMCR_ENABLE_GRP1_MASK) >> vmcrp 258 virt/kvm/arm/vgic/vgic-v2.c vmcrp->ackctl = (vmcr & GICH_VMCR_ACK_CTL_MASK) >> vmcrp 260 virt/kvm/arm/vgic/vgic-v2.c vmcrp->fiqen = (vmcr & GICH_VMCR_FIQ_EN_MASK) >> vmcrp 262 virt/kvm/arm/vgic/vgic-v2.c vmcrp->cbpr = (vmcr & GICH_VMCR_CBPR_MASK) >> vmcrp 264 virt/kvm/arm/vgic/vgic-v2.c vmcrp->eoim = (vmcr & GICH_VMCR_EOI_MODE_MASK) >> vmcrp 267 virt/kvm/arm/vgic/vgic-v2.c vmcrp->abpr = (vmcr & GICH_VMCR_ALIAS_BINPOINT_MASK) >> vmcrp 269 virt/kvm/arm/vgic/vgic-v2.c vmcrp->bpr = (vmcr & GICH_VMCR_BINPOINT_MASK) >> vmcrp 271 virt/kvm/arm/vgic/vgic-v2.c vmcrp->pmr = ((vmcr & GICH_VMCR_PRIMASK_MASK) >> vmcrp 205 virt/kvm/arm/vgic/vgic-v3.c void vgic_v3_set_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) vmcrp 212 virt/kvm/arm/vgic/vgic-v3.c vmcr = (vmcrp->ackctl << ICH_VMCR_ACK_CTL_SHIFT) & vmcrp 214 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->fiqen << ICH_VMCR_FIQ_EN_SHIFT) & vmcrp 224 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->cbpr << ICH_VMCR_CBPR_SHIFT) & ICH_VMCR_CBPR_MASK; vmcrp 225 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->eoim << ICH_VMCR_EOIM_SHIFT) & ICH_VMCR_EOIM_MASK; vmcrp 226 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->abpr << ICH_VMCR_BPR1_SHIFT) & ICH_VMCR_BPR1_MASK; vmcrp 227 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->bpr << ICH_VMCR_BPR0_SHIFT) & ICH_VMCR_BPR0_MASK; vmcrp 228 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->pmr << ICH_VMCR_PMR_SHIFT) & ICH_VMCR_PMR_MASK; vmcrp 229 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->grpen0 << ICH_VMCR_ENG0_SHIFT) & ICH_VMCR_ENG0_MASK; vmcrp 230 virt/kvm/arm/vgic/vgic-v3.c vmcr |= (vmcrp->grpen1 << ICH_VMCR_ENG1_SHIFT) & ICH_VMCR_ENG1_MASK; vmcrp 235 virt/kvm/arm/vgic/vgic-v3.c void vgic_v3_get_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) vmcrp 244 virt/kvm/arm/vgic/vgic-v3.c vmcrp->ackctl = (vmcr & ICH_VMCR_ACK_CTL_MASK) >> vmcrp 246 virt/kvm/arm/vgic/vgic-v3.c vmcrp->fiqen = (vmcr & ICH_VMCR_FIQ_EN_MASK) >> vmcrp 253 virt/kvm/arm/vgic/vgic-v3.c vmcrp->fiqen = 1; vmcrp 254 virt/kvm/arm/vgic/vgic-v3.c vmcrp->ackctl = 0; vmcrp 257 virt/kvm/arm/vgic/vgic-v3.c vmcrp->cbpr = (vmcr & ICH_VMCR_CBPR_MASK) >> ICH_VMCR_CBPR_SHIFT; vmcrp 258 virt/kvm/arm/vgic/vgic-v3.c vmcrp->eoim = (vmcr & ICH_VMCR_EOIM_MASK) >> ICH_VMCR_EOIM_SHIFT; vmcrp 259 virt/kvm/arm/vgic/vgic-v3.c vmcrp->abpr = (vmcr & ICH_VMCR_BPR1_MASK) >> ICH_VMCR_BPR1_SHIFT; vmcrp 260 virt/kvm/arm/vgic/vgic-v3.c vmcrp->bpr = (vmcr & ICH_VMCR_BPR0_MASK) >> ICH_VMCR_BPR0_SHIFT; vmcrp 261 virt/kvm/arm/vgic/vgic-v3.c vmcrp->pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; vmcrp 262 virt/kvm/arm/vgic/vgic-v3.c vmcrp->grpen0 = (vmcr & ICH_VMCR_ENG0_MASK) >> ICH_VMCR_ENG0_SHIFT; vmcrp 263 virt/kvm/arm/vgic/vgic-v3.c vmcrp->grpen1 = (vmcr & ICH_VMCR_ENG1_MASK) >> ICH_VMCR_ENG1_SHIFT;