Lines Matching refs:tlbmisc

57 		unsigned long tlbmisc;  in replace_tlb_one_pid()  local
60 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in replace_tlb_one_pid()
61 WRCTL(CTL_TLBMISC, tlbmisc); in replace_tlb_one_pid()
67 tlbmisc = RDCTL(CTL_TLBMISC); in replace_tlb_one_pid()
68 pid = (tlbmisc >> TLBMISC_PID_SHIFT) & TLBMISC_PID_MASK; in replace_tlb_one_pid()
72 tlbmisc = (mmu_pid << TLBMISC_PID_SHIFT) | TLBMISC_WE | in replace_tlb_one_pid()
74 WRCTL(CTL_TLBMISC, tlbmisc); in replace_tlb_one_pid()
138 unsigned long tlbmisc; in flush_tlb_one() local
140 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
141 WRCTL(CTL_TLBMISC, tlbmisc); in flush_tlb_one()
150 tlbmisc = TLBMISC_WE | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
151 WRCTL(CTL_TLBMISC, tlbmisc); in flush_tlb_one()
182 unsigned long tlbmisc; in dump_tlb_line() local
187 tlbmisc = RDCTL(CTL_TLBMISC); in dump_tlb_line()
195 ((tlbmisc >> TLBMISC_PID_SHIFT) & in dump_tlb_line()
230 unsigned long tlbmisc; in flush_tlb_pid() local
233 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_pid()
234 WRCTL(CTL_TLBMISC, tlbmisc); in flush_tlb_pid()
235 tlbmisc = RDCTL(CTL_TLBMISC); in flush_tlb_pid()
236 pid = (tlbmisc >> TLBMISC_PID_SHIFT) & TLBMISC_PID_MASK; in flush_tlb_pid()
240 tlbmisc = TLBMISC_WE | (way << TLBMISC_WAY_SHIFT); in flush_tlb_pid()
241 WRCTL(CTL_TLBMISC, tlbmisc); in flush_tlb_pid()
294 unsigned long tlbmisc; in set_mmu_pid() local
296 tlbmisc = RDCTL(CTL_TLBMISC); in set_mmu_pid()
297 tlbmisc = (tlbmisc & TLBMISC_WAY); in set_mmu_pid()
298 tlbmisc |= (pid & TLBMISC_PID_MASK) << TLBMISC_PID_SHIFT; in set_mmu_pid()
299 WRCTL(CTL_TLBMISC, tlbmisc); in set_mmu_pid()