Lines Matching refs:current_cpu_data

296 	unsigned long ic_lsize = current_cpu_data.icache.linesz;  in tx39_flush_cache_sigtramp()
297 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in tx39_flush_cache_sigtramp()
324 current_cpu_data.icache.linesz = 16; in tx39_probe_cache()
327 current_cpu_data.icache.ways = 1; in tx39_probe_cache()
328 current_cpu_data.dcache.ways = 1; in tx39_probe_cache()
329 current_cpu_data.dcache.linesz = 4; in tx39_probe_cache()
333 current_cpu_data.icache.ways = 2; in tx39_probe_cache()
334 current_cpu_data.dcache.ways = 2; in tx39_probe_cache()
335 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache()
340 current_cpu_data.icache.ways = 1; in tx39_probe_cache()
341 current_cpu_data.dcache.ways = 1; in tx39_probe_cache()
342 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache()
412 (dcache_size / current_cpu_data.dcache.ways) - 1, in tx39_cache_init()
418 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()
419 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()
421 current_cpu_data.icache.sets = in tx39_cache_init()
422 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init()
423 current_cpu_data.dcache.sets = in tx39_cache_init()
424 current_cpu_data.dcache.waysize / current_cpu_data.dcache.linesz; in tx39_cache_init()
426 if (current_cpu_data.dcache.waysize > PAGE_SIZE) in tx39_cache_init()
427 current_cpu_data.dcache.flags |= MIPS_CACHE_ALIASES; in tx39_cache_init()
429 current_cpu_data.icache.waybit = 0; in tx39_cache_init()
430 current_cpu_data.dcache.waybit = 0; in tx39_cache_init()
433 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
435 dcache_size >> 10, current_cpu_data.dcache.linesz); in tx39_cache_init()