Lines Matching refs:pd0
193 static void tlb_entry_insert(unsigned int pd0, pte_t pd1) in tlb_entry_insert() argument
201 idx = tlb_entry_lkup(pd0); in tlb_entry_insert()
236 static void tlb_entry_insert(unsigned int pd0, pte_t pd1) in tlb_entry_insert() argument
238 write_aux_reg(ARC_REG_TLBPD0, pd0); in tlb_entry_insert()
522 unsigned long pd0; in create_tlb() local
567 pd0 = vaddr | asid_or_sasid | (pte_val(*ptep) & PTE_BITS_IN_PD0); in create_tlb()
585 tlb_entry_insert(pd0, pd1); in create_tlb()
914 unsigned int pd0[mmu->ways]; in do_tlb_overlap_fault() local
930 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault()
931 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
932 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault()
944 if (!pd0[way]) in do_tlb_overlap_fault()
948 if (pd0[way] != pd0[n]) in do_tlb_overlap_fault()
953 pd0[way], set, way, n); in do_tlb_overlap_fault()
959 pd0[way] = 0; in do_tlb_overlap_fault()