Lines Matching refs:way
55 unsigned int way; in flush_tlb_one_pid() local
65 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_one_pid()
70 tlbmisc = pid_misc | TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one_pid()
78 ((PAGE_SIZE * cpuinfo.tlb_num_lines) * way) + in flush_tlb_one_pid()
81 vaddr, way, (pid_misc >> TLBMISC_PID_SHIFT)); in flush_tlb_one_pid()
85 (way << TLBMISC_WAY_SHIFT); in flush_tlb_one_pid()
119 unsigned int way; in flush_tlb_one() local
129 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_one()
133 tlbmisc = pid_misc | TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
140 ((PAGE_SIZE * cpuinfo.tlb_num_lines) * way) + in flush_tlb_one()
144 vaddr, way, (pid_misc >> TLBMISC_PID_SHIFT)); in flush_tlb_one()
147 (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
159 unsigned int way; in dump_tlb_line() local
170 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in dump_tlb_line()
175 WRCTL(CTL_TLBMISC, TLBMISC_RD | (way << TLBMISC_WAY_SHIFT)); in dump_tlb_line()
182 way, in dump_tlb_line()
209 unsigned int way; in flush_tlb_pid() local
218 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_pid()
224 (way << TLBMISC_WAY_SHIFT); in flush_tlb_pid()
233 (way << TLBMISC_WAY_SHIFT); in flush_tlb_pid()
248 unsigned int way; in flush_tlb_all() local
257 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_all()
258 tlbmisc = pid_misc | (way << TLBMISC_WAY_SHIFT); in flush_tlb_all()