• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/mm/

Lines Matching refs:K0

194 #define K0		26
270 r.r1 = K0;
294 UASM_i_MFC0(p, K0, smp_processor_id_reg, smp_processor_id_sel);
295 UASM_i_SRL_SAFE(p, K0, K0, smp_processor_id_shift);
297 /* handler_reg_save index in K0 */
298 UASM_i_SLL(p, K0, K0, ilog2(sizeof(struct tlb_reg_save)));
301 UASM_i_ADDU(p, K0, K0, K1);
303 UASM_i_LA(p, K0, (long)&handler_reg_save);
305 /* K0 now points to save area, save $1 and $2 */
306 UASM_i_SW(p, 1, offsetof(struct tlb_reg_save, a), K0);
307 UASM_i_SW(p, 2, offsetof(struct tlb_reg_save, b), K0);
321 /* K0 already points to save area, restore $1 and $2 */
322 UASM_i_LW(p, 1, offsetof(struct tlb_reg_save, a), K0);
323 UASM_i_LW(p, 2, offsetof(struct tlb_reg_save, b), K0);
348 uasm_i_mfc0(&p, K0, C0_BADVADDR);
351 uasm_i_srl(&p, K0, K0, 22); /* load delay */
352 uasm_i_sll(&p, K0, K0, 2);
353 uasm_i_addu(&p, K1, K1, K0);
354 uasm_i_mfc0(&p, K0, C0_CONTEXT);
356 uasm_i_andi(&p, K0, K0, 0xffc); /* load delay */
357 uasm_i_addu(&p, K1, K1, K0);
358 uasm_i_lw(&p, K0, 0, K1);
360 uasm_i_mtc0(&p, K0, C0_ENTRYLO0);
1263 htlb_info = build_fast_tlb_refill_handler(&p, &l, &r, K0, K1,
1267 htlb_info.huge_pte = K0;
1276 uasm_i_dmfc0(&p, K0, C0_BADVADDR);
1278 uasm_i_xor(&p, K0, K0, K1);
1279 uasm_i_dsrl_safe(&p, K1, K0, 62);
1280 uasm_i_dsrl_safe(&p, K0, K0, 12 + 1);
1281 uasm_i_dsll_safe(&p, K0, K0, 64 + 12 + 1 - segbits);
1282 uasm_i_or(&p, K0, K0, K1);
1283 uasm_il_bnez(&p, &r, K0, label_leave);
1288 build_get_pmde64(&p, &l, &r, K0, K1); /* get pmd in K1 */
1290 build_get_pgde32(&p, K0, K1); /* get pgd in K1 */
1294 build_is_huge_pte(&p, &r, K0, K1, label_tlb_huge_update);
1297 build_get_ptep(&p, K0, K1);
1298 build_update_entries(&p, K0, K1);
1306 build_huge_tlb_write_entry(&p, &l, &r, K0, tlb_random,
1311 build_get_pgd_vmalloc64(&p, &l, &r, K0, K1, vmalloc_mode);
1727 build_r3000_tlbchange_handler_head(&p, K0, K1);
1728 build_pte_present(&p, &r, K0, K1, -1, label_nopage_tlbl);
1730 build_make_valid(&p, &r, K0, K1);
1731 build_r3000_tlb_reload_write(&p, &l, &r, K0, K1);
1757 build_r3000_tlbchange_handler_head(&p, K0, K1);
1758 build_pte_writable(&p, &r, K0, K1, -1, label_nopage_tlbs);
1760 build_make_write(&p, &r, K0, K1);
1761 build_r3000_tlb_reload_write(&p, &l, &r, K0, K1);
1787 build_r3000_tlbchange_handler_head(&p, K0, K1);
1788 build_pte_modifiable(&p, &r, K0, K1, -1, label_nopage_tlbm);
1790 build_make_write(&p, &r, K0, K1);
1791 build_r3000_pte_reload_tlbwi(&p, K0, K1);
1879 uasm_i_dmfc0(&p, K0, C0_BADVADDR);
1881 uasm_i_xor(&p, K0, K0, K1);
1882 uasm_i_dsrl_safe(&p, K1, K0, 62);
1883 uasm_i_dsrl_safe(&p, K0, K0, 12 + 1);
1884 uasm_i_dsll_safe(&p, K0, K0, 64 + 12 + 1 - segbits);
1885 uasm_i_or(&p, K0, K0, K1);
1886 uasm_il_bnez(&p, &r, K0, label_leave);
2002 uasm_i_lui(&p, K0, uasm_rel_hi((long)tlb_do_page_fault_0));
2003 uasm_i_addiu(&p, K0, K0, uasm_rel_lo((long)tlb_do_page_fault_0));
2004 uasm_i_jr(&p, K0);
2056 uasm_i_lui(&p, K0, uasm_rel_hi((long)tlb_do_page_fault_1));
2057 uasm_i_addiu(&p, K0, K0, uasm_rel_lo((long)tlb_do_page_fault_1));
2058 uasm_i_jr(&p, K0);
2111 uasm_i_lui(&p, K0, uasm_rel_hi((long)tlb_do_page_fault_1));
2112 uasm_i_addiu(&p, K0, K0, uasm_rel_lo((long)tlb_do_page_fault_1));
2113 uasm_i_jr(&p, K0);