/linux-6.1.9/arch/powerpc/mm/ |
D | init_32.c | 82 if (ppc_md.progress) in MMU_init() 83 ppc_md.progress("MMU:enter", 0x111); in MMU_init() 105 if (ppc_md.progress) in MMU_init() 106 ppc_md.progress("MMU:hw init", 0x300); in MMU_init() 110 if (ppc_md.progress) in MMU_init() 111 ppc_md.progress("MMU:mapin", 0x301); in MMU_init() 117 if (ppc_md.progress) in MMU_init() 118 ppc_md.progress("MMU:exit", 0x211); in MMU_init()
|
/linux-6.1.9/include/linux/ |
D | nvram.h | 49 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-6.1.9/arch/powerpc/kernel/ |
D | setup-common.c | 81 struct machdep_calls ppc_md; variable 82 EXPORT_SYMBOL(ppc_md); 137 if (ppc_md.machine_shutdown) in machine_shutdown() 138 ppc_md.machine_shutdown(); in machine_shutdown() 152 if (ppc_md.restart) in machine_restart() 153 ppc_md.restart(cmd); in machine_restart() 178 if (max_longs && ppc_md.get_random_seed && ppc_md.get_random_seed(v)) in arch_get_random_seed_longs() 187 if (ppc_md.halt) in machine_halt() 188 ppc_md.halt(); in machine_halt() 212 if (ppc_md.name) in show_cpuinfo_summary() [all …]
|
D | setup_32.c | 130 if (ppc_md.progress) in ppc_init() 131 ppc_md.progress(" ", 0xffff); in ppc_init() 134 if (ppc_md.init != NULL) { in ppc_init() 135 ppc_md.init(); in ppc_init() 207 ppc_md.power_save = ppc6xx_idle; in setup_power_save() 213 ppc_md.power_save = e500_idle; in setup_power_save()
|
D | time.c | 598 if (ppc_md.suspend_disable_irqs) in arch_suspend_disable_irqs() 599 ppc_md.suspend_disable_irqs(); in arch_suspend_disable_irqs() 615 if (ppc_md.suspend_enable_irqs) in arch_suspend_enable_irqs() 616 ppc_md.suspend_enable_irqs(); in arch_suspend_enable_irqs() 736 if (!ppc_md.set_rtc_time) in update_persistent_clock64() 741 return ppc_md.set_rtc_time(&tm); in update_persistent_clock64() 753 if (ppc_md.time_init) in __read_persistent_clock() 754 timezone_offset = ppc_md.time_init(); in __read_persistent_clock() 757 if (ppc_md.get_boot_time) { in __read_persistent_clock() 758 ts->tv_sec = ppc_md.get_boot_time() - timezone_offset; in __read_persistent_clock() [all …]
|
D | idle.c | 38 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()
|
D | pci-common.c | 250 if (ppc_md.pcibios_default_alignment) in pcibios_default_alignment() 251 return ppc_md.pcibios_default_alignment(); in pcibios_default_alignment() 259 if (ppc_md.pcibios_iov_resource_alignment) in pcibios_iov_resource_alignment() 260 return ppc_md.pcibios_iov_resource_alignment(pdev, resno); in pcibios_iov_resource_alignment() 267 if (ppc_md.pcibios_sriov_enable) in pcibios_sriov_enable() 268 return ppc_md.pcibios_sriov_enable(pdev, num_vfs); in pcibios_sriov_enable() 275 if (ppc_md.pcibios_sriov_disable) in pcibios_sriov_disable() 276 return ppc_md.pcibios_sriov_disable(pdev); in pcibios_sriov_disable() 871 if (ppc_md.pcibios_root_bridge_prepare) in pcibios_root_bridge_prepare() 872 return ppc_md.pcibios_root_bridge_prepare(bridge); in pcibios_root_bridge_prepare() [all …]
|
D | dma-mask.c | 9 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-6.1.9/arch/powerpc/platforms/powermac/ |
D | nvram.c | 452 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 …]
|
D | smp.c | 249 if (ppc_md.progress) ppc_md.progress("psurge_quad_init", 0x351); in psurge_quad_init() 328 if (ppc_md.progress) ppc_md.progress("smp_psurge_probe - done", 0x352); in smp_psurge_probe() 348 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu", 0x353); in smp_psurge_kick_cpu() 395 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu - done", 0x354); in smp_psurge_kick_cpu() 766 if (ppc_md.progress) ppc_md.progress("smp_core99_probe", 0x345); in smp_core99_probe() 803 if (ppc_md.progress) in smp_core99_kick_cpu() 804 ppc_md.progress("smp_core99_kick_cpu", 0x346); in smp_core99_kick_cpu() 831 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-6.1.9/arch/powerpc/platforms/powernv/ |
D | rng.c | 77 ppc_md.get_random_seed = pnv_get_random_darn; in initialise_darn() 145 ppc_md.get_random_seed = pnv_get_random_long; in rng_create() 157 if (cmpxchg(&ppc_md.get_random_seed, pnv_get_random_long_early, in pnv_get_random_long_early() 164 if (!ppc_md.get_random_seed) in pnv_get_random_long_early() 166 return ppc_md.get_random_seed(v); in pnv_get_random_long_early() 179 ppc_md.get_random_seed = pnv_get_random_long_early; in pnv_rng_init() 190 if (ppc_md.get_random_seed == pnv_get_random_long_early) in pnv_rng_late_init() 193 if (ppc_md.get_random_seed == pnv_get_random_long) { in pnv_rng_late_init()
|
D | setup.c | 269 WARN_ON(!ppc_md.get_irq); in pnv_init_IRQ() 499 ppc_md.get_boot_time = opal_get_boot_time; in pnv_setup_machdep_opal() 500 ppc_md.restart = pnv_restart; in pnv_setup_machdep_opal() 502 ppc_md.halt = pnv_halt; in pnv_setup_machdep_opal() 504 ppc_md.machine_check_exception = opal_machine_check; in pnv_setup_machdep_opal() 505 ppc_md.mce_check_early_recovery = opal_mce_check_early_recovery; in pnv_setup_machdep_opal() 507 ppc_md.hmi_exception_early = opal_hmi_exception_early2; in pnv_setup_machdep_opal() 509 ppc_md.hmi_exception_early = opal_hmi_exception_early; in pnv_setup_machdep_opal() 510 ppc_md.handle_hmi_exception = opal_handle_hmi_exception; in pnv_setup_machdep_opal()
|
D | opal-nvram.c | 109 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-6.1.9/arch/powerpc/platforms/chrp/ |
D | setup.c | 317 ppc_md.restart = briq_restart; in chrp_setup_arch() 327 ppc_md.progress = rtas_progress; in chrp_setup_arch() 331 ppc_md.get_boot_time = rtas_get_boot_time; in chrp_setup_arch() 332 ppc_md.get_rtc_time = rtas_get_rtc_time; in chrp_setup_arch() 333 ppc_md.set_rtc_time = rtas_set_rtc_time; in chrp_setup_arch() 348 if (ppc_md.progress) ppc_md.progress("Linux/PPC "UTS_RELEASE"\n", 0x0); in chrp_setup_arch() 438 ppc_md.get_irq = mpic_get_irq; in chrp_find_openpic() 487 if (ppc_md.get_irq == NULL) { in chrp_find_8259() 488 ppc_md.get_irq = i8259_irq; in chrp_find_8259() 518 ppc_md.get_irq = i8259_irq; in chrp_init_IRQ() [all …]
|
D | nvram.c | 88 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-6.1.9/arch/powerpc/platforms/85xx/ |
D | corenet_generic.c | 57 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()
|
D | mpc85xx_cds.c | 322 if (ppc_md.progress) in mpc85xx_cds_setup_arch() 323 ppc_md.progress("mpc85xx_cds_setup_arch()", 0); in mpc85xx_cds_setup_arch() 338 if (ppc_md.progress) { in mpc85xx_cds_setup_arch() 343 ppc_md.progress(buf, 0); in mpc85xx_cds_setup_arch() 347 ppc_md.pci_irq_fixup = mpc85xx_cds_pci_irq_fixup; in mpc85xx_cds_setup_arch() 348 ppc_md.pci_exclude_device = mpc85xx_exclude_device; in mpc85xx_cds_setup_arch()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | mmio_nvram.c | 136 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-6.1.9/arch/powerpc/platforms/embedded6xx/ |
D | mpc7448_hpc2.c | 65 if (ppc_md.progress) in mpc7448_hpc2_setup_pci() 66 ppc_md.progress("mpc7448_hpc2_setup_pci():set_bridge", 0); in mpc7448_hpc2_setup_pci() 72 ppc_md.pci_exclude_device = mpc7448_hpc2_exclude_device; in mpc7448_hpc2_setup_pci() 73 if (ppc_md.progress) in mpc7448_hpc2_setup_pci() 74 ppc_md.progress("tsi108: resources set", 0x100); in mpc7448_hpc2_setup_pci()
|
D | holly.c | 116 if (ppc_md.progress) in holly_init_pci() 117 ppc_md.progress("holly_setup_arch():set_bridge", 0); in holly_init_pci() 128 ppc_md.pci_exclude_device = holly_exclude_device; in holly_init_pci() 129 if (ppc_md.progress) in holly_init_pci() 130 ppc_md.progress("tsi108: resources set", 0x100); in holly_init_pci()
|
/linux-6.1.9/arch/powerpc/kexec/ |
D | core_64.c | 155 if (ppc_md.kexec_cpu_down) in kexec_smp_down() 156 ppc_md.kexec_cpu_down(0, 1); in kexec_smp_down() 246 if (ppc_md.kexec_cpu_down) in kexec_prepare_cpus() 247 ppc_md.kexec_cpu_down(0, 0); in kexec_prepare_cpus() 266 if (ppc_md.kexec_cpu_down) in kexec_prepare_cpus() 267 ppc_md.kexec_cpu_down(0, 0); in kexec_prepare_cpus()
|
/linux-6.1.9/arch/powerpc/mm/book3s32/ |
D | mmu.c | 350 if ( ppc_md.progress ) ppc_md.progress("hash:enter", 0x105); in MMU_init_hw() 374 if ( ppc_md.progress ) ppc_md.progress("hash:find piece", 0x322); in MMU_init_hw() 399 if (ppc_md.progress) in MMU_init_hw_patch() 400 ppc_md.progress("hash:patch", 0x345); in MMU_init_hw_patch() 401 if (ppc_md.progress) in MMU_init_hw_patch() 402 ppc_md.progress("hash:done", 0x205); in MMU_init_hw_patch()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | setup.c | 491 ppc_md.progress("H_SET_MODE LE exception fail", 0); in pseries_little_endian_exceptions() 859 ppc_md.power_save = pseries_lpar_idle; in pSeries_setup_arch() 860 ppc_md.enable_pmcs = pseries_lpar_enable_pmcs; in pSeries_setup_arch() 862 ppc_md.pcibios_fixup_resources = in pSeries_setup_arch() 864 ppc_md.pcibios_fixup_sriov = in pSeries_setup_arch() 866 ppc_md.pcibios_iov_resource_alignment = in pSeries_setup_arch() 871 ppc_md.enable_pmcs = power4_enable_pmcs; in pSeries_setup_arch() 874 ppc_md.pcibios_root_bridge_prepare = pseries_root_bridge_prepare; in pSeries_setup_arch() 888 ppc_md.progress("Linux ppc64\n", 0); in pSeries_init_panel() 890 ppc_md.progress("Linux ppc64le\n", 0); in pSeries_init_panel() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/86xx/ |
D | mpc86xx_hpcn.c | 59 if (ppc_md.progress) in mpc86xx_hpcn_setup_arch() 60 ppc_md.progress("mpc86xx_hpcn_setup_arch()", 0); in mpc86xx_hpcn_setup_arch() 63 ppc_md.pci_exclude_device = mpc86xx_exclude_device; in mpc86xx_hpcn_setup_arch()
|
/linux-6.1.9/arch/powerpc/platforms/82xx/ |
D | pq2fads.c | 120 if (ppc_md.progress) in pq2fads_setup_arch() 121 ppc_md.progress("pq2fads_setup_arch()", 0); in pq2fads_setup_arch() 153 if (ppc_md.progress) in pq2fads_setup_arch() 154 ppc_md.progress("pq2fads_setup_arch(), finish", 0); in pq2fads_setup_arch()
|