Searched refs:cpu_if (Results 1 – 4 of 4) sorted by relevance
207 struct vgic_v2_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v2; in vgic_v2_set_vmcr() local229 cpu_if->vgic_vmcr = vmcr; in vgic_v2_set_vmcr()234 struct vgic_v2_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v2; in vgic_v2_get_vmcr() local237 vmcr = cpu_if->vgic_vmcr; in vgic_v2_get_vmcr()405 struct vgic_v2_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v2; in save_lrs() local406 u64 used_lrs = cpu_if->used_lrs; in save_lrs()416 cpu_if->vgic_lr[i] &= ~GICH_LR_STATE; in save_lrs()418 cpu_if->vgic_lr[i] = readl_relaxed(base + GICH_LR0 + (i * 4)); in save_lrs()440 struct vgic_v2_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v2; in vgic_v2_restore_state() local442 u64 used_lrs = cpu_if->used_lrs; in vgic_v2_restore_state()[all …]
196 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_set_vmcr() local221 cpu_if->vgic_vmcr = vmcr; in vgic_v3_set_vmcr()226 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_get_vmcr() local230 vmcr = cpu_if->vgic_vmcr; in vgic_v3_get_vmcr()735 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_load() local737 kvm_call_hyp(__vgic_v3_restore_vmcr_aprs, cpu_if); in vgic_v3_load()740 __vgic_v3_activate_traps(cpu_if); in vgic_v3_load()747 struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; in vgic_v3_put() local749 kvm_call_hyp(__vgic_v3_save_vmcr_aprs, cpu_if); in vgic_v3_put()753 __vgic_v3_deactivate_traps(cpu_if); in vgic_v3_put()
283 struct vgic_cpu *cpu_if = &vcpu->arch.vgic_cpu; in vgic_v3_max_apr_idx() local290 switch (cpu_if->num_pri_bits) { in vgic_v3_max_apr_idx()
79 void __vgic_v3_save_state(struct vgic_v3_cpu_if *cpu_if);80 void __vgic_v3_restore_state(struct vgic_v3_cpu_if *cpu_if);81 void __vgic_v3_activate_traps(struct vgic_v3_cpu_if *cpu_if);82 void __vgic_v3_deactivate_traps(struct vgic_v3_cpu_if *cpu_if);83 void __vgic_v3_save_vmcr_aprs(struct vgic_v3_cpu_if *cpu_if);84 void __vgic_v3_restore_vmcr_aprs(struct vgic_v3_cpu_if *cpu_if);