Lines Matching refs:pdc
242 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data()
243 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) { in collect_boot_cpu_data()
248 add_device_randomness(&boot_cpu_data.pdc.model, in collect_boot_cpu_data()
249 sizeof(boot_cpu_data.pdc.model)); in collect_boot_cpu_data()
253 if (pdc_model_versions(&boot_cpu_data.pdc.versions, 0) == PDC_OK) { in collect_boot_cpu_data()
255 boot_cpu_data.pdc.versions); in collect_boot_cpu_data()
257 add_device_randomness(&boot_cpu_data.pdc.versions, in collect_boot_cpu_data()
258 sizeof(boot_cpu_data.pdc.versions)); in collect_boot_cpu_data()
261 if (pdc_model_cpuid(&boot_cpu_data.pdc.cpuid) == PDC_OK) { in collect_boot_cpu_data()
263 (boot_cpu_data.pdc.cpuid >> 5) & 127, in collect_boot_cpu_data()
264 boot_cpu_data.pdc.cpuid & 31, in collect_boot_cpu_data()
265 boot_cpu_data.pdc.cpuid); in collect_boot_cpu_data()
267 add_device_randomness(&boot_cpu_data.pdc.cpuid, in collect_boot_cpu_data()
268 sizeof(boot_cpu_data.pdc.cpuid)); in collect_boot_cpu_data()
271 if (pdc_model_capabilities(&boot_cpu_data.pdc.capabilities) == PDC_OK) in collect_boot_cpu_data()
273 boot_cpu_data.pdc.capabilities); in collect_boot_cpu_data()
275 if (pdc_model_sysmodel(boot_cpu_data.pdc.sys_model_name) == PDC_OK) in collect_boot_cpu_data()
277 boot_cpu_data.pdc.sys_model_name); in collect_boot_cpu_data()
279 dump_stack_set_arch_desc("%s", boot_cpu_data.pdc.sys_model_name); in collect_boot_cpu_data()
281 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data()
282 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data()
402 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS32) in show_cpuinfo()
404 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS64) in show_cpuinfo()
406 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) in show_cpuinfo()
408 switch (boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) { in show_cpuinfo()
419 seq_printf(m, " (0x%02lx)\n", boot_cpu_data.pdc.capabilities); in show_cpuinfo()
422 boot_cpu_data.pdc.sys_model_name, in show_cpuinfo()
439 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()