Lines Matching refs:ppc_md
82 struct machdep_calls ppc_md; variable
83 EXPORT_SYMBOL(ppc_md);
144 if (ppc_md.machine_shutdown) in machine_shutdown()
145 ppc_md.machine_shutdown(); in machine_shutdown()
159 if (ppc_md.restart) in machine_restart()
160 ppc_md.restart(cmd); in machine_restart()
188 if (ppc_md.halt) in machine_halt()
189 ppc_md.halt(); in machine_halt()
212 if (ppc_md.name) in show_cpuinfo_summary()
213 seq_printf(m, "platform\t: %s\n", ppc_md.name); in show_cpuinfo_summary()
221 if (ppc_md.show_cpuinfo != NULL) in show_cpuinfo_summary()
222 ppc_md.show_cpuinfo(m); in show_cpuinfo_summary()
284 if (ppc_md.get_proc_freq) in show_cpuinfo()
285 proc_freq = ppc_md.get_proc_freq(cpu_id); in show_cpuinfo()
293 if (ppc_md.show_percpuinfo != NULL) in show_cpuinfo()
294 ppc_md.show_percpuinfo(m, cpu_id); in show_cpuinfo()
618 for (i = 0; i < (sizeof(ppc_md) / sizeof(void *)); i++) { in probe_machine()
619 if (((void **)&ppc_md)[i]) { in probe_machine()
629 memcpy(&ppc_md, machine_id, sizeof(struct machdep_calls)); in probe_machine()
630 if (ppc_md.probe()) { in probe_machine()
642 printk(KERN_INFO "Using %s machine description\n", ppc_md.name); in probe_machine()
714 if (ppc_md.panic) in ppc_panic_event()
715 ppc_md.panic(ptr); /* May not return */ in ppc_panic_event()
727 if (!IS_ENABLED(CONFIG_PPC64) && !ppc_md.panic) in setup_panic()
972 if (ppc_md.setup_arch) in setup_arch()
973 ppc_md.setup_arch(); in setup_arch()