Lines Matching refs:pd0
76 static void tlb_entry_insert(unsigned int pd0, phys_addr_t pd1) in tlb_entry_insert() argument
84 idx = tlb_entry_lkup(pd0); in tlb_entry_insert()
114 static void tlb_entry_insert(unsigned int pd0, phys_addr_t pd1) in tlb_entry_insert() argument
116 write_aux_reg(ARC_REG_TLBPD0, pd0); in tlb_entry_insert()
398 unsigned long pd0; in create_tlb() local
440 pd0 = vaddr | asid_or_sasid | (pte_val(*ptep) & PTE_BITS_IN_PD0); in create_tlb()
458 tlb_entry_insert(pd0, pd1); in create_tlb()
710 unsigned int pd0[4]; in do_tlb_overlap_fault() local
717 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault()
718 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
719 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault()
731 if (!pd0[way]) in do_tlb_overlap_fault()
735 if (pd0[way] != pd0[n]) in do_tlb_overlap_fault()
740 pd0[way], set, way, n); in do_tlb_overlap_fault()
746 pd0[way] = 0; in do_tlb_overlap_fault()