Lines Matching refs:reg_attr
285 struct vgic_reg_attr *reg_attr) in vgic_v2_parse_attr() argument
295 reg_attr->vcpu = kvm_get_vcpu(dev->kvm, cpuid); in vgic_v2_parse_attr()
296 reg_attr->addr = attr->attr & KVM_DEV_ARM_VGIC_OFFSET_MASK; in vgic_v2_parse_attr()
351 struct vgic_reg_attr reg_attr; in vgic_v2_attr_regs_access() local
356 ret = vgic_v2_parse_attr(dev, attr, ®_attr); in vgic_v2_attr_regs_access()
360 vcpu = reg_attr.vcpu; in vgic_v2_attr_regs_access()
361 addr = reg_attr.addr; in vgic_v2_attr_regs_access()
477 struct vgic_reg_attr *reg_attr) in vgic_v3_parse_attr() argument
490 reg_attr->vcpu = kvm_mpidr_to_vcpu(dev->kvm, mpidr_reg); in vgic_v3_parse_attr()
492 reg_attr->vcpu = kvm_get_vcpu(dev->kvm, 0); in vgic_v3_parse_attr()
495 if (!reg_attr->vcpu) in vgic_v3_parse_attr()
498 reg_attr->addr = attr->attr & KVM_DEV_ARM_VGIC_OFFSET_MASK; in vgic_v3_parse_attr()
515 struct vgic_reg_attr reg_attr; in vgic_v3_attr_regs_access() local
521 ret = vgic_v3_parse_attr(dev, attr, ®_attr); in vgic_v3_attr_regs_access()
525 vcpu = reg_attr.vcpu; in vgic_v3_attr_regs_access()
526 addr = reg_attr.addr; in vgic_v3_attr_regs_access()