Lines Matching refs:boot_cpu_data
45 struct system_cpuinfo_parisc boot_cpu_data __read_mostly;
46 EXPORT_SYMBOL(boot_cpu_data);
107 if (boot_cpu_data.cpu_count > 0) { in processor_probe()
116 cpuid = boot_cpu_data.cpu_count; in processor_probe()
163 boot_cpu_data.cpu_count--; in processor_probe()
173 boot_cpu_data.cpu_count++; in processor_probe()
244 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data()
246 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ in collect_boot_cpu_data()
249 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data()
250 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) in collect_boot_cpu_data()
256 if (pdc_model_versions(&boot_cpu_data.pdc.versions, 0) == PDC_OK) in collect_boot_cpu_data()
258 boot_cpu_data.pdc.versions); in collect_boot_cpu_data()
260 if (pdc_model_cpuid(&boot_cpu_data.pdc.cpuid) == PDC_OK) in collect_boot_cpu_data()
262 (boot_cpu_data.pdc.cpuid >> 5) & 127, in collect_boot_cpu_data()
263 boot_cpu_data.pdc.cpuid & 31, in collect_boot_cpu_data()
264 boot_cpu_data.pdc.cpuid); in collect_boot_cpu_data()
266 if (pdc_model_capabilities(&boot_cpu_data.pdc.capabilities) == PDC_OK) in collect_boot_cpu_data()
268 boot_cpu_data.pdc.capabilities); in collect_boot_cpu_data()
270 if (pdc_model_sysmodel(boot_cpu_data.pdc.sys_model_name) == PDC_OK) in collect_boot_cpu_data()
272 boot_cpu_data.pdc.sys_model_name); in collect_boot_cpu_data()
274 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data()
275 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data()
277 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); in collect_boot_cpu_data()
278 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; in collect_boot_cpu_data()
279 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; in collect_boot_cpu_data()
363 cpu, boot_cpu_data.family_name); in show_cpuinfo()
365 seq_printf(m, "cpu\t\t: %s\n", boot_cpu_data.cpu_name ); in show_cpuinfo()
369 boot_cpu_data.cpu_hz / 1000000, in show_cpuinfo()
370 boot_cpu_data.cpu_hz % 1000000 ); in show_cpuinfo()
373 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS32) in show_cpuinfo()
375 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS64) in show_cpuinfo()
381 boot_cpu_data.pdc.sys_model_name, in show_cpuinfo()
387 boot_cpu_data.hversion, in show_cpuinfo()
388 boot_cpu_data.sversion ); in show_cpuinfo()
398 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()