Lines Matching refs:cpu_if
195 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_set_vmcr() local
220 cpu_if->vgic_vmcr = vmcr; in vgic_v3_set_vmcr()
225 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_get_vmcr() local
229 vmcr = cpu_if->vgic_vmcr; in vgic_v3_get_vmcr()
708 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_load() local
715 if (likely(cpu_if->vgic_sre)) in vgic_v3_load()
716 kvm_call_hyp(__vgic_v3_write_vmcr, cpu_if->vgic_vmcr); in vgic_v3_load()
718 kvm_call_hyp(__vgic_v3_restore_aprs, cpu_if); in vgic_v3_load()
721 __vgic_v3_activate_traps(cpu_if); in vgic_v3_load()
728 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_vmcr_sync() local
730 if (likely(cpu_if->vgic_sre)) in vgic_v3_vmcr_sync()
731 cpu_if->vgic_vmcr = kvm_call_hyp_ret(__vgic_v3_read_vmcr); in vgic_v3_vmcr_sync()
736 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_put() local
742 kvm_call_hyp(__vgic_v3_save_aprs, cpu_if); in vgic_v3_put()
745 __vgic_v3_deactivate_traps(cpu_if); in vgic_v3_put()