Lines Matching refs:scratch_vcpu
79 static unsigned int scratch_vcpu[2] = { C0_DDATA_LO }; variable
137 scratch_vcpu[0] = c0_kscratch(); in kvm_mips_entry_setup()
138 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup()
139 kscratch_mask &= ~BIT(scratch_vcpu[1]); in kvm_mips_entry_setup()
156 UASM_i_MFC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_save_scratch()
174 UASM_i_MTC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_restore_scratch()
240 UASM_i_MTC0(&p, A0, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_vcpu_run()
456 UASM_i_MFC0(&p, K1, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_tlb_refill_exception()
504 UASM_i_MFC0(&p, K1, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_tlb_refill_exception()
542 UASM_i_MFC0(&p, K1, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_exception()
616 UASM_i_MFC0(&p, S0, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_exit()
852 UASM_i_MTC0(&p, S0, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_ret_to_guest()