Lines Matching refs:scratch_vcpu
26 static unsigned int scratch_vcpu[2] = { C0_DDATALO }; variable
78 scratch_vcpu[0] = c0_kscratch(); in kvm_mips_entry_setup()
79 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup()
80 kscratch_mask &= ~BIT(scratch_vcpu[1]); in kvm_mips_entry_setup()
97 UASM_i_MFC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_save_scratch()
115 UASM_i_MTC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_restore_scratch()
181 UASM_i_MTC0(&p, GPR_A0, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_vcpu_run()
397 UASM_i_MFC0(&p, GPR_K1, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_tlb_refill_exception()
445 UASM_i_MFC0(&p, GPR_K1, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_tlb_refill_exception()
483 UASM_i_MFC0(&p, GPR_K1, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_exception()
557 UASM_i_MFC0(&p, GPR_S0, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_exit()
793 UASM_i_MTC0(&p, GPR_S0, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_ret_to_guest()