Lines Matching refs:cpuinfo
96 struct cpuinfo cpuinfo; variable
109 version, revision, cpuinfo.clock_frequency / 1000000); in print_cpuinfo()
120 cpuinfo.dcache_size, cpuinfo.dcache_block_size, in print_cpuinfo()
121 cpuinfo.dcache_ways); in print_cpuinfo()
127 cpuinfo.icache_size, cpuinfo.icache_block_size, in print_cpuinfo()
128 cpuinfo.icache_ways); in print_cpuinfo()
167 cpuinfo.icache_ways = 1 << (iccfgr & SPR_ICCFGR_NCW); in setup_cpuinfo()
169 cpuinfo.icache_block_size = 16 << ((iccfgr & SPR_ICCFGR_CBS) >> 7); in setup_cpuinfo()
170 cpuinfo.icache_size = in setup_cpuinfo()
171 cache_set_size * cpuinfo.icache_ways * cpuinfo.icache_block_size; in setup_cpuinfo()
174 cpuinfo.dcache_ways = 1 << (dccfgr & SPR_DCCFGR_NCW); in setup_cpuinfo()
176 cpuinfo.dcache_block_size = 16 << ((dccfgr & SPR_DCCFGR_CBS) >> 7); in setup_cpuinfo()
177 cpuinfo.dcache_size = in setup_cpuinfo()
178 cache_set_size * cpuinfo.dcache_ways * cpuinfo.dcache_block_size; in setup_cpuinfo()
181 &cpuinfo.clock_frequency)) { in setup_cpuinfo()
328 cpuinfo.dcache_size, in show_cpuinfo()
329 cpuinfo.dcache_block_size, in show_cpuinfo()
330 cpuinfo.dcache_ways, in show_cpuinfo()
331 cpuinfo.icache_size, in show_cpuinfo()
332 cpuinfo.icache_block_size, in show_cpuinfo()
333 cpuinfo.icache_ways, in show_cpuinfo()