Lines Matching refs:pd0
189 static void tlb_entry_insert(unsigned int pd0, pte_t pd1) in tlb_entry_insert() argument
197 idx = tlb_entry_lkup(pd0); in tlb_entry_insert()
232 static void tlb_entry_insert(unsigned int pd0, pte_t pd1) in tlb_entry_insert() argument
234 write_aux_reg(ARC_REG_TLBPD0, pd0); in tlb_entry_insert()
518 unsigned long pd0; in create_tlb() local
563 pd0 = vaddr | asid_or_sasid | (pte_val(*ptep) & PTE_BITS_IN_PD0); in create_tlb()
581 tlb_entry_insert(pd0, pd1); in create_tlb()
882 unsigned int pd0[mmu->ways]; in do_tlb_overlap_fault() local
901 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault()
902 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
903 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault()
915 if (!pd0[way]) in do_tlb_overlap_fault()
919 if (pd0[way] != pd0[n]) in do_tlb_overlap_fault()
924 pd0[way], set, way, n); in do_tlb_overlap_fault()
930 pd0[way] = 0; in do_tlb_overlap_fault()