Home
last modified time | relevance | path

Searched refs:spr_val (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/arch/powerpc/kvm/
Dbooke_emulate.c120 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_booke_emulate_mtspr() argument
127 vcpu->arch.shared->dar = spr_val; in kvmppc_booke_emulate_mtspr()
130 vcpu->arch.shared->esr = spr_val; in kvmppc_booke_emulate_mtspr()
133 vcpu->arch.csrr0 = spr_val; in kvmppc_booke_emulate_mtspr()
136 vcpu->arch.csrr1 = spr_val; in kvmppc_booke_emulate_mtspr()
139 vcpu->arch.dsrr0 = spr_val; in kvmppc_booke_emulate_mtspr()
142 vcpu->arch.dsrr1 = spr_val; in kvmppc_booke_emulate_mtspr()
153 vcpu->arch.dbg_reg.iac1 = spr_val; in kvmppc_booke_emulate_mtspr()
164 vcpu->arch.dbg_reg.iac2 = spr_val; in kvmppc_booke_emulate_mtspr()
176 vcpu->arch.dbg_reg.iac3 = spr_val; in kvmppc_booke_emulate_mtspr()
[all …]
De500_emulate.c204 int kvmppc_core_emulate_mtspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_e500() argument
212 kvmppc_set_pid(vcpu, spr_val); in kvmppc_core_emulate_mtspr_e500()
215 if (spr_val != 0) in kvmppc_core_emulate_mtspr_e500()
217 vcpu_e500->pid[1] = spr_val; in kvmppc_core_emulate_mtspr_e500()
220 if (spr_val != 0) in kvmppc_core_emulate_mtspr_e500()
222 vcpu_e500->pid[2] = spr_val; in kvmppc_core_emulate_mtspr_e500()
225 vcpu->arch.shared->mas0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
228 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr_e500()
231 vcpu->arch.shared->mas2 = spr_val; in kvmppc_core_emulate_mtspr_e500()
235 vcpu->arch.shared->mas7_3 |= spr_val; in kvmppc_core_emulate_mtspr_e500()
[all …]
Demulate.c78 ulong spr_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_emulate_mtspr() local
82 kvmppc_set_srr0(vcpu, spr_val); in kvmppc_emulate_mtspr()
85 kvmppc_set_srr1(vcpu, spr_val); in kvmppc_emulate_mtspr()
94 vcpu->arch.dec = (u32) spr_val; in kvmppc_emulate_mtspr()
99 kvmppc_set_sprg0(vcpu, spr_val); in kvmppc_emulate_mtspr()
102 kvmppc_set_sprg1(vcpu, spr_val); in kvmppc_emulate_mtspr()
105 kvmppc_set_sprg2(vcpu, spr_val); in kvmppc_emulate_mtspr()
108 kvmppc_set_sprg3(vcpu, spr_val); in kvmppc_emulate_mtspr()
116 spr_val); in kvmppc_emulate_mtspr()
131 ulong spr_val = 0; in kvmppc_emulate_mfspr() local
[all …]
Dbook3s_emulate.c678 int kvmppc_core_emulate_mtspr_pr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_pr() argument
686 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr()
689 kvmppc_set_dsisr(vcpu, spr_val); in kvmppc_core_emulate_mtspr_pr()
692 kvmppc_set_dar(vcpu, spr_val); in kvmppc_core_emulate_mtspr_pr()
695 to_book3s(vcpu)->hior = spr_val; in kvmppc_core_emulate_mtspr_pr()
704 kvmppc_set_bat(vcpu, bat, !(sprn % 2), (u32)spr_val); in kvmppc_core_emulate_mtspr_pr()
712 to_book3s(vcpu)->hid[0] = spr_val; in kvmppc_core_emulate_mtspr_pr()
715 to_book3s(vcpu)->hid[1] = spr_val; in kvmppc_core_emulate_mtspr_pr()
718 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()
721 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()
[all …]
Dbooke.h75 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
76 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
100 ulong spr_val);
102 ulong *spr_val);
104 ulong spr_val);
106 ulong *spr_val);
Dbook3s.h22 int sprn, ulong spr_val);
24 int sprn, ulong *spr_val);
Dbook3s_hv.c5600 ulong spr_val) in kvmppc_core_emulate_mtspr_hv() argument
5606 ulong *spr_val) in kvmppc_core_emulate_mfspr_hv() argument
/linux-6.6.21/drivers/gpu/drm/i915/display/
Di9xx_wm.c2545 result->spr_val <= max->spr && in ilk_validate_wm_level()
2559 if (result->spr_val > max->spr) in ilk_validate_wm_level()
2561 level, result->spr_val, max->spr); in ilk_validate_wm_level()
2567 result->spr_val = min_t(u32, result->spr_val, max->spr); in ilk_validate_wm_level()
2602 result->spr_val = ilk_compute_spr_wm(crtc_state, sprstate, spr_latency); in ilk_compute_wm_level()
2895 a_wm->spr_val = max(a_wm->spr_val, b_wm->spr_val); in ilk_compute_intermediate_wm()
2946 ret_wm->spr_val = max(ret_wm->spr_val, wm->spr_val); in ilk_merge_wm_level()
3057 results->wm_lp_spr[wm_lp - 1] = WM_LP_SPRITE(r->spr_val); in ilk_compute_wm_results()
3063 if (DISPLAY_VER(dev_priv) <= 6 && r->spr_val) { in ilk_compute_wm_results()
3080 WM0_PIPE_SPRITE(r->spr_val) | in ilk_compute_wm_results()
[all …]
Dintel_display_types.h833 u32 spr_val; member
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_ppc.h297 int (*emulate_mtspr)(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
298 int (*emulate_mfspr)(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);