Lines Matching refs:dcache

66 	unsigned long dc_lsize = current_cpu_data.dcache.linesz;  in r4k_blast_dcache_page_setup()
78 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in r4k_blast_dcache_page_indexed_setup()
90 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in r4k_blast_dcache_setup()
382 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in r4k_flush_icache_range()
507 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in r4k_dma_cache_wback_inv()
552 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in r4k_dma_cache_inv()
577 unsigned long dc_lsize = current_cpu_data.dcache.linesz; in r4k_flush_cache_sigtramp()
665 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
666 c->dcache.ways = 2; in probe_pcache()
667 c->dcache.waybit= ffs(dcache_size/2) - 1; in probe_pcache()
680 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
681 c->dcache.ways = 2; in probe_pcache()
682 c->dcache.waybit = 0; in probe_pcache()
694 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
695 c->dcache.ways = 4; in probe_pcache()
696 c->dcache.waybit = 0; in probe_pcache()
714 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
715 c->dcache.ways = 1; in probe_pcache()
716 c->dcache.waybit = 0; /* does not matter */ in probe_pcache()
729 c->dcache.linesz = 32; in probe_pcache()
730 c->dcache.ways = 2; in probe_pcache()
731 c->dcache.waybit = 0; in probe_pcache()
752 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
753 c->dcache.ways = 2; in probe_pcache()
754 c->dcache.waybit = ffs(dcache_size/2) - 1; in probe_pcache()
771 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
772 c->dcache.ways = 1; in probe_pcache()
773 c->dcache.waybit = 0; /* does not matter */ in probe_pcache()
788 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
789 c->dcache.ways = 4; in probe_pcache()
790 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_pcache()
826 c->dcache.flags = 0; in probe_pcache()
829 c->dcache.linesz = 2 << lsize; in probe_pcache()
831 c->dcache.linesz= lsize; in probe_pcache()
832 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache()
833 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
835 dcache_size = c->dcache.sets * in probe_pcache()
836 c->dcache.ways * in probe_pcache()
837 c->dcache.linesz; in probe_pcache()
838 c->dcache.waybit = ffs(dcache_size/c->dcache.ways) - 1; in probe_pcache()
859 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()
862 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_pcache()
871 if (c->dcache.waysize > PAGE_SIZE) in probe_pcache()
872 c->dcache.flags |= MIPS_CACHE_ALIASES; in probe_pcache()
894 dcache_size >> 10, way_string[c->dcache.ways], c->dcache.linesz); in probe_pcache()
956 c->dcache.waybit = 0; /* does not matter */ in probe_scache()
1072 if (c->dcache.sets * c->dcache.ways > PAGE_SIZE) in ld_mmu_r4xx0()
1073 c->dcache.flags |= MIPS_CACHE_ALIASES; in ld_mmu_r4xx0()
1090 c->dcache.sets * c->dcache.linesz - 1, in ld_mmu_r4xx0()