Lines Matching full:pdc

28 #include <asm/pdc.h>
57 ** The code path not shared is how PDC hands control of the CPU to the OS.
104 txn_addr = dev->hpa.start; /* for legacy PDC */ in processor_probe()
143 * We'll care when we need to query PAT PDC about a CPU *after* in processor_probe()
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(OS_ID_HPUX, 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()
284 dump_stack_set_arch_desc("%s", boot_cpu_data.pdc.sys_model_name); in collect_boot_cpu_data()
286 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data()
287 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data()
417 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS32) in show_cpuinfo()
419 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS64) in show_cpuinfo()
421 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) in show_cpuinfo()
423 switch (boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) { in show_cpuinfo()
434 seq_printf(m, " (0x%02lx)\n", boot_cpu_data.pdc.capabilities); in show_cpuinfo()
437 boot_cpu_data.pdc.sys_model_name, in show_cpuinfo()
453 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()