Lines Matching refs:boot_cpu_data
274 boot_cpu_data.arch_type = arch_id; in setup_processor()
275 boot_cpu_data.cpu_type = cpu_id; in setup_processor()
276 boot_cpu_data.arch_revision = arch_rev; in setup_processor()
277 boot_cpu_data.cpu_revision = cpu_rev; in setup_processor()
278 boot_cpu_data.tlb_config = mmu_type; in setup_processor()
279 boot_cpu_data.device_id = device_id; in setup_processor()
283 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1); in setup_processor()
284 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1); in setup_processor()
285 boot_cpu_data.icache.linesz = 1 << (tmp + 1); in setup_processor()
289 boot_cpu_data.dcache.ways = 1 << SYSREG_BFEXT(DASS, config1); in setup_processor()
290 boot_cpu_data.dcache.sets = 1 << SYSREG_BFEXT(DSET, config1); in setup_processor()
291 boot_cpu_data.dcache.linesz = 1 << (tmp + 1); in setup_processor()
301 printk ("CPU: %s chip revision %c\n", get_chip_name(&boot_cpu_data), in setup_processor()
302 avr32_get_chip_revision(&boot_cpu_data) + 'A'); in setup_processor()
330 boot_cpu_data.features = features; in setup_processor()
341 icache_size = boot_cpu_data.icache.ways * in c_show()
342 boot_cpu_data.icache.sets * in c_show()
343 boot_cpu_data.icache.linesz; in c_show()
344 dcache_size = boot_cpu_data.dcache.ways * in c_show()
345 boot_cpu_data.dcache.sets * in c_show()
346 boot_cpu_data.dcache.linesz; in c_show()
351 get_chip_name(&boot_cpu_data), in c_show()
352 avr32_get_chip_revision(&boot_cpu_data) + 'A'); in c_show()
353 if (boot_cpu_data.arch_type < NR_ARCH_NAMES) in c_show()
355 arch_names[boot_cpu_data.arch_type], in c_show()
356 boot_cpu_data.arch_revision); in c_show()
357 if (boot_cpu_data.cpu_type < NR_CPU_NAMES) in c_show()
359 cpu_names[boot_cpu_data.cpu_type], in c_show()
360 boot_cpu_data.cpu_revision); in c_show()
362 freq = (clk_get_rate(boot_cpu_data.clk) + 500) / 1000; in c_show()
367 boot_cpu_data.icache.ways, in c_show()
368 boot_cpu_data.icache.sets, in c_show()
369 boot_cpu_data.icache.linesz); in c_show()
372 boot_cpu_data.dcache.ways, in c_show()
373 boot_cpu_data.dcache.sets, in c_show()
374 boot_cpu_data.dcache.linesz); in c_show()
378 if (boot_cpu_data.features & (1 << i)) in c_show()
382 boot_cpu_data.loops_per_jiffy / (500000/HZ), in c_show()
383 (boot_cpu_data.loops_per_jiffy / (5000/HZ)) % 100); in c_show()