Home
last modified time | relevance | path

Searched refs:ppc_md (Results 1 – 25 of 128) sorted by relevance

123456

/Linux-v5.10/include/linux/
Dnvram.h49 if (ppc_md.nvram_size) in nvram_get_size()
50 return ppc_md.nvram_size(); in nvram_get_size()
61 if (ppc_md.nvram_read_val) in nvram_read_byte()
62 return ppc_md.nvram_read_val(addr); in nvram_read_byte()
73 if (ppc_md.nvram_write_val) in nvram_write_byte()
74 ppc_md.nvram_write_val(addr, val); in nvram_write_byte()
112 if (ppc_md.nvram_read) in nvram_read()
113 return ppc_md.nvram_read(buf, count, ppos); in nvram_read()
124 if (ppc_md.nvram_write) in nvram_write()
125 return ppc_md.nvram_write(buf, count, ppos); in nvram_write()
/Linux-v5.10/arch/powerpc/mm/
Dinit_32.c114 if (ppc_md.progress) in MMU_init()
115 ppc_md.progress("MMU:enter", 0x111); in MMU_init()
153 if (ppc_md.progress) in MMU_init()
154 ppc_md.progress("MMU:hw init", 0x300); in MMU_init()
158 if (ppc_md.progress) in MMU_init()
159 ppc_md.progress("MMU:mapin", 0x301); in MMU_init()
165 if (ppc_md.progress) in MMU_init()
166 ppc_md.progress("MMU:exit", 0x211); in MMU_init()
/Linux-v5.10/arch/powerpc/kernel/
Dsetup-common.c79 struct machdep_calls ppc_md; variable
80 EXPORT_SYMBOL(ppc_md);
139 if (ppc_md.machine_shutdown) in machine_shutdown()
140 ppc_md.machine_shutdown(); in machine_shutdown()
154 if (ppc_md.restart) in machine_restart()
155 ppc_md.restart(cmd); in machine_restart()
183 if (ppc_md.halt) in machine_halt()
184 ppc_md.halt(); in machine_halt()
208 if (ppc_md.name) in show_cpuinfo_summary()
209 seq_printf(m, "platform\t: %s\n", ppc_md.name); in show_cpuinfo_summary()
[all …]
Dsetup_32.c129 if (ppc_md.progress) in ppc_init()
130 ppc_md.progress(" ", 0xffff); in ppc_init()
133 if (ppc_md.init != NULL) { in ppc_init()
134 ppc_md.init(); in ppc_init()
206 ppc_md.power_save = ppc6xx_idle; in setup_power_save()
212 ppc_md.power_save = e500_idle; in setup_power_save()
Dtime.c651 if (ppc_md.suspend_disable_irqs) in arch_suspend_disable_irqs()
652 ppc_md.suspend_disable_irqs(); in arch_suspend_disable_irqs()
660 if (ppc_md.suspend_enable_irqs) in arch_suspend_enable_irqs()
661 ppc_md.suspend_enable_irqs(); in arch_suspend_enable_irqs()
781 if (!ppc_md.set_rtc_time) in update_persistent_clock64()
786 return ppc_md.set_rtc_time(&tm); in update_persistent_clock64()
798 if (ppc_md.time_init) in __read_persistent_clock()
799 timezone_offset = ppc_md.time_init(); in __read_persistent_clock()
802 if (ppc_md.get_boot_time) { in __read_persistent_clock()
803 ts->tv_sec = ppc_md.get_boot_time() - timezone_offset; in __read_persistent_clock()
[all …]
Didle.c38 ppc_md.power_save = NULL; in powersave_off()
48 if (ppc_md.power_save) { in arch_cpu_idle()
49 ppc_md.power_save(); in arch_cpu_idle()
Dpci-common.c231 if (ppc_md.pcibios_default_alignment) in pcibios_default_alignment()
232 return ppc_md.pcibios_default_alignment(); in pcibios_default_alignment()
240 if (ppc_md.pcibios_iov_resource_alignment) in pcibios_iov_resource_alignment()
241 return ppc_md.pcibios_iov_resource_alignment(pdev, resno); in pcibios_iov_resource_alignment()
248 if (ppc_md.pcibios_sriov_enable) in pcibios_sriov_enable()
249 return ppc_md.pcibios_sriov_enable(pdev, num_vfs); in pcibios_sriov_enable()
256 if (ppc_md.pcibios_sriov_disable) in pcibios_sriov_disable()
257 return ppc_md.pcibios_sriov_disable(pdev); in pcibios_sriov_disable()
778 if (ppc_md.pcibios_root_bridge_prepare) in pcibios_root_bridge_prepare()
779 return ppc_md.pcibios_root_bridge_prepare(bridge); in pcibios_root_bridge_prepare()
[all …]
Ddma-mask.c9 if (ppc_md.dma_set_mask) in arch_dma_set_mask()
10 ppc_md.dma_set_mask(dev, dma_mask); in arch_dma_set_mask()
/Linux-v5.10/arch/powerpc/platforms/powermac/
Dnvram.c452 buffer[i] = ppc_md.nvram_read_val(offset+i); in lookup_partitions()
536 ppc_md.nvram_read_val = core99_nvram_read_byte; in core99_nvram_setup()
537 ppc_md.nvram_write_val = core99_nvram_write_byte; in core99_nvram_setup()
538 ppc_md.nvram_read = core99_nvram_read; in core99_nvram_setup()
539 ppc_md.nvram_write = core99_nvram_write; in core99_nvram_setup()
540 ppc_md.nvram_size = core99_nvram_size; in core99_nvram_setup()
541 ppc_md.nvram_sync = core99_nvram_sync; in core99_nvram_setup()
542 ppc_md.machine_shutdown = core99_nvram_sync; in core99_nvram_setup()
595 ppc_md.nvram_read_val = direct_nvram_read_byte; in pmac_nvram_init()
596 ppc_md.nvram_write_val = direct_nvram_write_byte; in pmac_nvram_init()
[all …]
Dsmp.c248 if (ppc_md.progress) ppc_md.progress("psurge_quad_init", 0x351); in psurge_quad_init()
327 if (ppc_md.progress) ppc_md.progress("smp_psurge_probe - done", 0x352); in smp_psurge_probe()
347 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu", 0x353); in smp_psurge_kick_cpu()
394 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu - done", 0x354); in smp_psurge_kick_cpu()
764 if (ppc_md.progress) ppc_md.progress("smp_core99_probe", 0x345); in smp_core99_probe()
801 if (ppc_md.progress) in smp_core99_kick_cpu()
802 ppc_md.progress("smp_core99_kick_cpu", 0x346); in smp_core99_kick_cpu()
829 if (ppc_md.progress) ppc_md.progress("smp_core99_kick_cpu done", 0x347); in smp_core99_kick_cpu()
899 if (ppc_md.progress) in smp_core99_bringup_done()
900 ppc_md.progress("smp_core99_bringup_done", 0x349); in smp_core99_bringup_done()
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dcorenet_generic.c40 if (ppc_md.get_irq == mpic_get_coreint_irq) in corenet_gen_pic_init()
58 pr_info("%s board\n", ppc_md.name); in corenet_gen_setup_arch()
159 ppc_md.init_IRQ = ehv_pic_init; in corenet_generic_probe()
161 ppc_md.get_irq = ehv_pic_get_irq; in corenet_generic_probe()
162 ppc_md.restart = fsl_hv_restart; in corenet_generic_probe()
164 ppc_md.halt = fsl_hv_halt; in corenet_generic_probe()
Dmpc85xx_cds.c320 if (ppc_md.progress) in mpc85xx_cds_setup_arch()
321 ppc_md.progress("mpc85xx_cds_setup_arch()", 0); in mpc85xx_cds_setup_arch()
336 if (ppc_md.progress) { in mpc85xx_cds_setup_arch()
341 ppc_md.progress(buf, 0); in mpc85xx_cds_setup_arch()
345 ppc_md.pci_irq_fixup = mpc85xx_cds_pci_irq_fixup; in mpc85xx_cds_setup_arch()
346 ppc_md.pci_exclude_device = mpc85xx_exclude_device; in mpc85xx_cds_setup_arch()
/Linux-v5.10/arch/powerpc/platforms/chrp/
Dsetup.c315 ppc_md.restart = briq_restart; in chrp_setup_arch()
325 ppc_md.progress = rtas_progress; in chrp_setup_arch()
329 ppc_md.get_boot_time = rtas_get_boot_time; in chrp_setup_arch()
330 ppc_md.get_rtc_time = rtas_get_rtc_time; in chrp_setup_arch()
331 ppc_md.set_rtc_time = rtas_set_rtc_time; in chrp_setup_arch()
357 if (ppc_md.progress) ppc_md.progress("Linux/PPC "UTS_RELEASE"\n", 0x0); in chrp_setup_arch()
447 ppc_md.get_irq = mpic_get_irq; in chrp_find_openpic()
496 if (ppc_md.get_irq == NULL) { in chrp_find_8259()
497 ppc_md.get_irq = i8259_irq; in chrp_find_8259()
527 ppc_md.get_irq = i8259_irq; in chrp_init_IRQ()
[all …]
Dnvram.c88 ppc_md.nvram_read_val = chrp_nvram_read_val; in chrp_nvram_init()
89 ppc_md.nvram_write_val = chrp_nvram_write_val; in chrp_nvram_init()
90 ppc_md.nvram_size = chrp_nvram_size; in chrp_nvram_init()
/Linux-v5.10/arch/powerpc/platforms/embedded6xx/
Dmpc7448_hpc2.c64 if (ppc_md.progress) in mpc7448_hpc2_setup_arch()
65 ppc_md.progress("mpc7448_hpc2_setup_arch():set_bridge", 0); in mpc7448_hpc2_setup_arch()
74 ppc_md.pci_exclude_device = mpc7448_hpc2_exclude_device; in mpc7448_hpc2_setup_arch()
75 if (ppc_md.progress) in mpc7448_hpc2_setup_arch()
76 ppc_md.progress("tsi108: resources set", 0x100); in mpc7448_hpc2_setup_arch()
Dholly.c115 if (ppc_md.progress) in holly_setup_arch()
116 ppc_md.progress("holly_setup_arch():set_bridge", 0); in holly_setup_arch()
127 ppc_md.pci_exclude_device = holly_exclude_device; in holly_setup_arch()
128 if (ppc_md.progress) in holly_setup_arch()
129 ppc_md.progress("tsi108: resources set", 0x100); in holly_setup_arch()
/Linux-v5.10/arch/powerpc/sysdev/
Dmmio_nvram.c136 ppc_md.nvram_read_val = mmio_nvram_read_val; in mmio_nvram_init()
137 ppc_md.nvram_write_val = mmio_nvram_write_val; in mmio_nvram_init()
138 ppc_md.nvram_read = mmio_nvram_read; in mmio_nvram_init()
139 ppc_md.nvram_write = mmio_nvram_write; in mmio_nvram_init()
140 ppc_md.nvram_size = mmio_nvram_get_size; in mmio_nvram_init()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dsetup.c233 WARN_ON(!ppc_md.get_irq); in pnv_init_IRQ()
463 ppc_md.get_boot_time = opal_get_boot_time; in pnv_setup_machdep_opal()
464 ppc_md.restart = pnv_restart; in pnv_setup_machdep_opal()
466 ppc_md.halt = pnv_halt; in pnv_setup_machdep_opal()
468 ppc_md.machine_check_exception = opal_machine_check; in pnv_setup_machdep_opal()
469 ppc_md.mce_check_early_recovery = opal_mce_check_early_recovery; in pnv_setup_machdep_opal()
471 ppc_md.hmi_exception_early = opal_hmi_exception_early2; in pnv_setup_machdep_opal()
473 ppc_md.hmi_exception_early = opal_hmi_exception_early; in pnv_setup_machdep_opal()
474 ppc_md.handle_hmi_exception = opal_handle_hmi_exception; in pnv_setup_machdep_opal()
Dopal-nvram.c109 ppc_md.nvram_read = opal_nvram_read; in opal_nvram_init()
110 ppc_md.nvram_write = opal_nvram_write; in opal_nvram_init()
111 ppc_md.nvram_size = opal_nvram_size; in opal_nvram_init()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dsetup.c460 ppc_md.progress("H_SET_MODE LE exception fail", 0); in pseries_little_endian_exceptions()
802 ppc_md.power_save = pseries_lpar_idle; in pSeries_setup_arch()
803 ppc_md.enable_pmcs = pseries_lpar_enable_pmcs; in pSeries_setup_arch()
805 ppc_md.pcibios_fixup_resources = in pSeries_setup_arch()
807 ppc_md.pcibios_fixup_sriov = in pSeries_setup_arch()
809 ppc_md.pcibios_iov_resource_alignment = in pSeries_setup_arch()
814 ppc_md.enable_pmcs = power4_enable_pmcs; in pSeries_setup_arch()
817 ppc_md.pcibios_root_bridge_prepare = pseries_root_bridge_prepare; in pSeries_setup_arch()
833 ppc_md.progress("Linux ppc64\n", 0); in pSeries_init_panel()
835 ppc_md.progress("Linux ppc64le\n", 0); in pSeries_init_panel()
[all …]
/Linux-v5.10/arch/powerpc/kexec/
Dcore_64.c152 if (ppc_md.kexec_cpu_down) in kexec_smp_down()
153 ppc_md.kexec_cpu_down(0, 1); in kexec_smp_down()
243 if (ppc_md.kexec_cpu_down) in kexec_prepare_cpus()
244 ppc_md.kexec_cpu_down(0, 0); in kexec_prepare_cpus()
263 if (ppc_md.kexec_cpu_down) in kexec_prepare_cpus()
264 ppc_md.kexec_cpu_down(0, 0); in kexec_prepare_cpus()
Dcrash.c92 if (ppc_md.kexec_cpu_down) in crash_ipi_callback()
93 ppc_md.kexec_cpu_down(1, 1); in crash_ipi_callback()
375 if (ppc_md.kexec_cpu_down) in default_machine_crash_shutdown()
376 ppc_md.kexec_cpu_down(1, 0); in default_machine_crash_shutdown()
/Linux-v5.10/arch/powerpc/mm/book3s32/
Dmmu.c361 if ( ppc_md.progress ) ppc_md.progress("hash:enter", 0x105); in MMU_init_hw()
385 if ( ppc_md.progress ) ppc_md.progress("hash:find piece", 0x322); in MMU_init_hw()
410 if (ppc_md.progress) in MMU_init_hw_patch()
411 ppc_md.progress("hash:patch", 0x345); in MMU_init_hw_patch()
412 if (ppc_md.progress) in MMU_init_hw_patch()
413 ppc_md.progress("hash:done", 0x205); in MMU_init_hw_patch()
/Linux-v5.10/arch/powerpc/platforms/86xx/
Dmpc86xx_hpcn.c60 if (ppc_md.progress) in mpc86xx_hpcn_setup_arch()
61 ppc_md.progress("mpc86xx_hpcn_setup_arch()", 0); in mpc86xx_hpcn_setup_arch()
64 ppc_md.pci_exclude_device = mpc86xx_exclude_device; in mpc86xx_hpcn_setup_arch()
/Linux-v5.10/arch/powerpc/platforms/82xx/
Dpq2fads.c120 if (ppc_md.progress) in pq2fads_setup_arch()
121 ppc_md.progress("pq2fads_setup_arch()", 0); in pq2fads_setup_arch()
155 if (ppc_md.progress) in pq2fads_setup_arch()
156 ppc_md.progress("pq2fads_setup_arch(), finish", 0); in pq2fads_setup_arch()

123456