Lines Matching refs:cpuinfo
169 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_msr_irq()
175 CACHE_RANGE_LOOP_1(start, end, cpuinfo.icache_line_length, wic); in __flush_icache_range_msr_irq()
177 for (i = start; i < end; i += cpuinfo.icache_line_length) in __flush_icache_range_msr_irq()
196 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_nomsr_irq()
202 CACHE_RANGE_LOOP_1(start, end, cpuinfo.icache_line_length, wic); in __flush_icache_range_nomsr_irq()
204 for (i = start; i < end; i += cpuinfo.icache_line_length) in __flush_icache_range_nomsr_irq()
223 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_noirq()
225 CACHE_RANGE_LOOP_1(start, end, cpuinfo.icache_line_length, wic); in __flush_icache_range_noirq()
227 for (i = start; i < end; i += cpuinfo.icache_line_length) in __flush_icache_range_noirq()
244 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_msr_irq()
246 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_msr_irq()
247 i += cpuinfo.icache_line_length) in __flush_icache_all_msr_irq()
266 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_nomsr_irq()
268 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_nomsr_irq()
269 i += cpuinfo.icache_line_length) in __flush_icache_all_nomsr_irq()
284 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_noirq()
286 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_noirq()
287 i += cpuinfo.icache_line_length) in __flush_icache_all_noirq()
304 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_all_msr_irq()
306 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_msr_irq()
307 i += cpuinfo.dcache_line_length) in __invalidate_dcache_all_msr_irq()
326 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_all_nomsr_irq()
328 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_nomsr_irq()
329 i += cpuinfo.dcache_line_length) in __invalidate_dcache_all_nomsr_irq()
344 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_all_noirq_wt()
346 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_noirq_wt()
347 i += cpuinfo.dcache_line_length) in __invalidate_dcache_all_noirq_wt()
367 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, in __invalidate_dcache_all_wb()
370 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_wb()
371 i += cpuinfo.dcache_line_length) in __invalidate_dcache_all_wb()
387 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __invalidate_dcache_range_wb()
389 CACHE_RANGE_LOOP_2(start, end, cpuinfo.dcache_line_length, wdc.clear); in __invalidate_dcache_range_wb()
391 for (i = start; i < end; i += cpuinfo.dcache_line_length) in __invalidate_dcache_range_wb()
406 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __invalidate_dcache_range_nomsr_wt()
409 CACHE_RANGE_LOOP_1(start, end, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_range_nomsr_wt()
411 for (i = start; i < end; i += cpuinfo.dcache_line_length) in __invalidate_dcache_range_nomsr_wt()
427 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __invalidate_dcache_range_msr_irq_wt()
433 CACHE_RANGE_LOOP_1(start, end, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_range_msr_irq_wt()
435 for (i = start; i < end; i += cpuinfo.dcache_line_length) in __invalidate_dcache_range_msr_irq_wt()
455 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __invalidate_dcache_range_nomsr_irq()
461 CACHE_RANGE_LOOP_1(start, end, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_range_nomsr_irq()
463 for (i = start; i < end; i += cpuinfo.dcache_line_length) in __invalidate_dcache_range_nomsr_irq()
479 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, in __flush_dcache_all_wb()
482 for (i = 0; i < cpuinfo.dcache_size; in __flush_dcache_all_wb()
483 i += cpuinfo.dcache_line_length) in __flush_dcache_all_wb()
498 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __flush_dcache_range_wb()
500 CACHE_RANGE_LOOP_2(start, end, cpuinfo.dcache_line_length, wdc.flush); in __flush_dcache_range_wb()
502 for (i = start; i < end; i += cpuinfo.dcache_line_length) in __flush_dcache_range_wb()
611 if (cpuinfo.use_instr & PVR2_USE_MSR_INSTR) { in microblaze_cache_init()
612 if (cpuinfo.dcache_wb) { in microblaze_cache_init()
615 if (cpuinfo.ver_code <= CPUVER_7_20_D) { in microblaze_cache_init()
620 if (cpuinfo.ver_code >= CPUVER_7_20_A) { in microblaze_cache_init()
629 if (cpuinfo.dcache_wb) { in microblaze_cache_init()
632 if (cpuinfo.ver_code <= CPUVER_7_20_D) { in microblaze_cache_init()
637 if (cpuinfo.ver_code >= CPUVER_7_20_A) { in microblaze_cache_init()