Home
last modified time | relevance | path

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

12345

/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()
/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()
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()
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()
Dtime.c649 if (ppc_md.suspend_disable_irqs) in arch_suspend_disable_irqs()
650 ppc_md.suspend_disable_irqs(); in arch_suspend_disable_irqs()
658 if (ppc_md.suspend_enable_irqs) in arch_suspend_enable_irqs()
659 ppc_md.suspend_enable_irqs(); in arch_suspend_enable_irqs()
779 if (!ppc_md.set_rtc_time) in update_persistent_clock64()
784 return ppc_md.set_rtc_time(&tm); in update_persistent_clock64()
796 if (ppc_md.time_init) in __read_persistent_clock()
797 timezone_offset = ppc_md.time_init(); in __read_persistent_clock()
800 if (ppc_md.get_boot_time) { in __read_persistent_clock()
801 ts->tv_sec = ppc_md.get_boot_time() - timezone_offset; in __read_persistent_clock()
[all …]
/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()
Dbsc913x_rdb.c35 if (ppc_md.progress) in bsc913x_rdb_setup_arch()
36 ppc_md.progress("bsc913x_rdb_setup_arch()", 0); in bsc913x_rdb_setup_arch()
Dc293pcie.c38 if (ppc_md.progress) in c293_pcie_setup_arch()
39 ppc_md.progress("c293_pcie_setup_arch()", 0); in c293_pcie_setup_arch()
/arch/powerpc/platforms/powernv/
Drng.c99 ppc_md.get_random_seed = powernv_get_random_darn; in initialise_darn()
165 ppc_md.get_random_seed = powernv_get_random_long; in rng_create()
177 if (cmpxchg(&ppc_md.get_random_seed, pnv_get_random_long_early, in pnv_get_random_long_early()
184 if (!ppc_md.get_random_seed) in pnv_get_random_long_early()
186 return ppc_md.get_random_seed(v); in pnv_get_random_long_early()
199 ppc_md.get_random_seed = pnv_get_random_long_early; in pnv_rng_init()
210 if (ppc_md.get_random_seed == pnv_get_random_long_early) in pnv_rng_late_init()
213 if (ppc_md.get_random_seed == powernv_get_random_long) { in pnv_rng_late_init()
Dsetup.c235 WARN_ON(!ppc_md.get_irq); in pnv_init_IRQ()
465 ppc_md.get_boot_time = opal_get_boot_time; in pnv_setup_machdep_opal()
466 ppc_md.restart = pnv_restart; in pnv_setup_machdep_opal()
468 ppc_md.halt = pnv_halt; in pnv_setup_machdep_opal()
470 ppc_md.machine_check_exception = opal_machine_check; in pnv_setup_machdep_opal()
471 ppc_md.mce_check_early_recovery = opal_mce_check_early_recovery; in pnv_setup_machdep_opal()
473 ppc_md.hmi_exception_early = opal_hmi_exception_early2; in pnv_setup_machdep_opal()
475 ppc_md.hmi_exception_early = opal_hmi_exception_early; in pnv_setup_machdep_opal()
476 ppc_md.handle_hmi_exception = opal_handle_hmi_exception; in pnv_setup_machdep_opal()
/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()
/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()
/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()
/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()
/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()
/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()
/arch/powerpc/platforms/44x/
Didle.c35 ppc_md.power_save = &ppc44x_idle; in ppc44x_idle_init()
48 ppc_md.power_save = NULL; in idle_param()
/arch/powerpc/platforms/52xx/
Dmpc5200_simple.c35 if (ppc_md.progress) in mpc5200_simple_setup_arch()
36 ppc_md.progress("mpc5200_simple_setup_arch()", 0); in mpc5200_simple_setup_arch()
/arch/powerpc/include/asm/
Darchrandom.h21 if (ppc_md.get_random_seed) in arch_get_random_seed_long()
22 return ppc_md.get_random_seed(v); in arch_get_random_seed_long()
/arch/powerpc/platforms/pseries/
Dsetup.c460 ppc_md.progress("H_SET_MODE LE exception fail", 0); in pseries_little_endian_exceptions()
808 ppc_md.power_save = pseries_lpar_idle; in pSeries_setup_arch()
809 ppc_md.enable_pmcs = pseries_lpar_enable_pmcs; in pSeries_setup_arch()
811 ppc_md.pcibios_fixup_resources = in pSeries_setup_arch()
813 ppc_md.pcibios_fixup_sriov = in pSeries_setup_arch()
815 ppc_md.pcibios_iov_resource_alignment = in pSeries_setup_arch()
820 ppc_md.enable_pmcs = power4_enable_pmcs; in pSeries_setup_arch()
823 ppc_md.pcibios_root_bridge_prepare = pseries_root_bridge_prepare; in pSeries_setup_arch()
841 ppc_md.progress("Linux ppc64\n", 0); in pSeries_init_panel()
843 ppc_md.progress("Linux ppc64le\n", 0); in pSeries_init_panel()
[all …]

12345