Lines Matching refs:pd0
179 static void tlb_entry_insert(unsigned int pd0, pte_t pd1) in tlb_entry_insert() argument
187 idx = tlb_entry_lkup(pd0); in tlb_entry_insert()
217 static void tlb_entry_insert(unsigned int pd0, pte_t pd1) in tlb_entry_insert() argument
219 write_aux_reg(ARC_REG_TLBPD0, pd0); in tlb_entry_insert()
498 unsigned long pd0; in create_tlb() local
543 pd0 = vaddr | asid_or_sasid | (pte_val(*ptep) & PTE_BITS_IN_PD0); in create_tlb()
561 tlb_entry_insert(pd0, pd1); in create_tlb()
902 unsigned int pd0[4]; in do_tlb_overlap_fault() local
909 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault()
910 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
911 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault()
923 if (!pd0[way]) in do_tlb_overlap_fault()
927 if (pd0[way] != pd0[n]) in do_tlb_overlap_fault()
932 pd0[way], set, way, n); in do_tlb_overlap_fault()
938 pd0[way] = 0; in do_tlb_overlap_fault()