Lines Matching refs:reg_attr
292 struct vgic_reg_attr *reg_attr) in vgic_v2_parse_attr() argument
302 reg_attr->vcpu = kvm_get_vcpu(dev->kvm, cpuid); in vgic_v2_parse_attr()
303 reg_attr->addr = attr->attr & KVM_DEV_ARM_VGIC_OFFSET_MASK; in vgic_v2_parse_attr()
358 struct vgic_reg_attr reg_attr; in vgic_v2_attr_regs_access() local
363 ret = vgic_v2_parse_attr(dev, attr, ®_attr); in vgic_v2_attr_regs_access()
367 vcpu = reg_attr.vcpu; in vgic_v2_attr_regs_access()
368 addr = reg_attr.addr; in vgic_v2_attr_regs_access()
484 struct vgic_reg_attr *reg_attr) in vgic_v3_parse_attr() argument
497 reg_attr->vcpu = kvm_mpidr_to_vcpu(dev->kvm, mpidr_reg); in vgic_v3_parse_attr()
499 reg_attr->vcpu = kvm_get_vcpu(dev->kvm, 0); in vgic_v3_parse_attr()
502 if (!reg_attr->vcpu) in vgic_v3_parse_attr()
505 reg_attr->addr = attr->attr & KVM_DEV_ARM_VGIC_OFFSET_MASK; in vgic_v3_parse_attr()
522 struct vgic_reg_attr reg_attr; in vgic_v3_attr_regs_access() local
528 ret = vgic_v3_parse_attr(dev, attr, ®_attr); in vgic_v3_attr_regs_access()
532 vcpu = reg_attr.vcpu; in vgic_v3_attr_regs_access()
533 addr = reg_attr.addr; in vgic_v3_attr_regs_access()