Lines Matching full:way
47 unsigned int way; in replace_tlb_one_pid() local
50 /* remember pid/way until we return. */ in replace_tlb_one_pid()
55 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in replace_tlb_one_pid()
60 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in replace_tlb_one_pid()
73 (way << TLBMISC_WAY_SHIFT); in replace_tlb_one_pid()
126 unsigned int way; in flush_tlb_one() local
131 /* remember pid/way until we return. */ in flush_tlb_one()
136 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_one()
140 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
147 pr_debug("Flush entry by writing way=%dl pid=%ld\n", in flush_tlb_one()
148 way, (pid_misc >> TLBMISC_PID_SHIFT)); in flush_tlb_one()
150 tlbmisc = TLBMISC_WE | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
169 unsigned int way; in dump_tlb_line() local
175 /* remember pid/way until we return */ in dump_tlb_line()
180 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in dump_tlb_line()
185 WRCTL(CTL_TLBMISC, TLBMISC_RD | (way << TLBMISC_WAY_SHIFT)); in dump_tlb_line()
191 pr_debug("-- way:%02x vpn:0x%08lx phys:0x%08lx pid:0x%02lx flags:%c%c%c%c%c\n", in dump_tlb_line()
192 way, in dump_tlb_line()
220 unsigned int way; in flush_tlb_pid() local
223 /* remember pid/way until we return */ in flush_tlb_pid()
229 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_pid()
233 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_pid()
240 tlbmisc = TLBMISC_WE | (way << TLBMISC_WAY_SHIFT); in flush_tlb_pid()
269 unsigned int way; in flush_tlb_all() local
272 /* remember pid/way until we return */ in flush_tlb_all()
275 /* Start at way 0, way is auto-incremented after each TLBACC write */ in flush_tlb_all()
282 for (way = 0; way < cpuinfo.tlb_num_ways; way++) in flush_tlb_all()
288 /* restore pid/way */ in flush_tlb_all()