Searched refs:c0_kscratch (Results 1 – 2 of 2) sorted by relevance
/linux/arch/mips/kvm/ |
H A D | entry.c | 52 static int c0_kscratch(void) in c0_kscratch() function 78 scratch_vcpu[0] = c0_kscratch(); in kvm_mips_entry_setup() 85 scratch_tmp[0] = c0_kscratch(); in kvm_mips_entry_setup() 101 if (scratch_tmp[0] == c0_kscratch()) { in kvm_mips_build_save_scratch() 117 if (scratch_tmp[0] == c0_kscratch()) { in kvm_mips_build_restore_scratch() 253 UASM_i_MFC0(&p, GPR_K0, c0_kscratch(), pgd_reg); in kvm_mips_build_enter_guest()
|
/linux/arch/mips/mm/ |
H A D | tlbex.c | 306 static inline int __maybe_unused c0_kscratch(void) in c0_kscratch() function 339 UASM_i_MTC0(p, 1, c0_kscratch(), scratch_reg); in build_get_work_registers() 373 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_work_registers() 637 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_restore_pagemask() 795 UASM_i_MFC0(p, ptr, c0_kscratch(), pgd_reg); in build_get_pmde64() 911 UASM_i_MFC0(p, 1, c0_kscratch(), scratch_reg); in build_get_pgd_vmalloc64() 930 uasm_i_mfc0(p, ptr, c0_kscratch(), pgd_reg); in build_get_pgde32() 1066 UASM_i_MFC0(p, ptr, c0_kscratch(), pgd_reg); in build_fast_tlb_refill_handler() 1071 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler() 1086 UASM_i_MFC0(p, ptr, c0_kscratch(), pgd_reg); in build_fast_tlb_refill_handler() [all …]
|