Lines Matching refs:dist

43 	struct vgic_dist *dist = &kvm->arch.vgic;  in vgic_has_its()  local
45 if (dist->vgic_model != KVM_DEV_TYPE_ARM_VGIC_V3) in vgic_has_its()
48 return dist->has_its; in vgic_has_its()
108 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_v3_misc() local
116 was_enabled = dist->enabled; in vgic_mmio_write_v3_misc()
117 is_hwsgi = dist->nassgireq; in vgic_mmio_write_v3_misc()
119 dist->enabled = val & GICD_CTLR_ENABLE_SS_G1; in vgic_mmio_write_v3_misc()
126 if (was_enabled && dist->enabled) { in vgic_mmio_write_v3_misc()
132 dist->nassgireq = val & GICD_CTLR_nASSGIreq; in vgic_mmio_write_v3_misc()
133 if (is_hwsgi != dist->nassgireq) in vgic_mmio_write_v3_misc()
137 was_enabled != dist->enabled) in vgic_mmio_write_v3_misc()
139 else if (!was_enabled && dist->enabled) in vgic_mmio_write_v3_misc()
157 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_uaccess_write_v3_misc() local
174 dist->implementation_rev = reg; in vgic_mmio_uaccess_write_v3_misc()
184 dist->enabled = val & GICD_CTLR_ENABLE_SS_G1; in vgic_mmio_uaccess_write_v3_misc()
185 dist->nassgireq = val & GICD_CTLR_nASSGIreq; in vgic_mmio_uaccess_write_v3_misc()
455 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_read_propbase() local
457 return extract_bytes(dist->propbaser, addr & 7, len); in vgic_mmio_read_propbase()
464 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_propbase() local
472 old_propbaser = READ_ONCE(dist->propbaser); in vgic_mmio_write_propbase()
476 } while (cmpxchg64(&dist->propbaser, old_propbaser, in vgic_mmio_write_propbase()