/linux-6.12.1/arch/powerpc/mm/ |
D | init_32.c | 83 if (ppc_md.progress) in MMU_init() 84 ppc_md.progress("MMU:enter", 0x111); in MMU_init() 106 if (ppc_md.progress) in MMU_init() 107 ppc_md.progress("MMU:hw init", 0x300); in MMU_init() 111 if (ppc_md.progress) in MMU_init() 112 ppc_md.progress("MMU:mapin", 0x301); in MMU_init() 118 if (ppc_md.progress) in MMU_init() 119 ppc_md.progress("MMU:exit", 0x211); in MMU_init()
|
/linux-6.12.1/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.12.1/arch/powerpc/kernel/ |
D | setup-common.c | 81 struct machdep_calls ppc_md; variable 82 EXPORT_SYMBOL(ppc_md); 127 if (ppc_md.machine_shutdown) in machine_shutdown() 128 ppc_md.machine_shutdown(); in machine_shutdown() 142 if (ppc_md.restart) in machine_restart() 143 ppc_md.restart(cmd); in machine_restart() 168 if (max_longs && ppc_md.get_random_seed && ppc_md.get_random_seed(v)) in arch_get_random_seed_longs() 177 if (ppc_md.halt) in machine_halt() 178 ppc_md.halt(); in machine_halt() 202 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 | 602 if (ppc_md.suspend_disable_irqs) in arch_suspend_disable_irqs() 603 ppc_md.suspend_disable_irqs(); in arch_suspend_disable_irqs() 619 if (ppc_md.suspend_enable_irqs) in arch_suspend_enable_irqs() 620 ppc_md.suspend_enable_irqs(); in arch_suspend_enable_irqs() 740 if (!ppc_md.set_rtc_time) in update_persistent_clock64() 745 return ppc_md.set_rtc_time(&tm); in update_persistent_clock64() 757 if (ppc_md.time_init) in __read_persistent_clock() 758 timezone_offset = ppc_md.time_init(); in __read_persistent_clock() 761 if (ppc_md.get_boot_time) { in __read_persistent_clock() 762 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() 870 if (ppc_md.pcibios_root_bridge_prepare) in pcibios_root_bridge_prepare() 871 return ppc_md.pcibios_root_bridge_prepare(bridge); in pcibios_root_bridge_prepare() [all …]
|
D | dma-mask.c | 10 if (ppc_md.dma_set_mask) in arch_dma_set_mask() 11 ppc_md.dma_set_mask(dev, dma_mask); in arch_dma_set_mask()
|
/linux-6.12.1/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() 768 if (ppc_md.progress) ppc_md.progress("smp_core99_probe", 0x345); in smp_core99_probe() 805 if (ppc_md.progress) in smp_core99_kick_cpu() 806 ppc_md.progress("smp_core99_kick_cpu", 0x346); in smp_core99_kick_cpu() 833 if (ppc_md.progress) ppc_md.progress("smp_core99_kick_cpu done", 0x347); in smp_core99_kick_cpu() 901 if (ppc_md.progress) in smp_core99_bringup_done() 902 ppc_md.progress("smp_core99_bringup_done", 0x349); in smp_core99_bringup_done()
|
/linux-6.12.1/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() 491 ppc_md.get_boot_time = opal_get_boot_time; in pnv_setup_machdep_opal() 492 ppc_md.restart = pnv_restart; in pnv_setup_machdep_opal() 494 ppc_md.halt = pnv_halt; in pnv_setup_machdep_opal() 496 ppc_md.machine_check_exception = opal_machine_check; in pnv_setup_machdep_opal() 497 ppc_md.mce_check_early_recovery = opal_mce_check_early_recovery; in pnv_setup_machdep_opal() 499 ppc_md.hmi_exception_early = opal_hmi_exception_early2; in pnv_setup_machdep_opal() 501 ppc_md.hmi_exception_early = opal_hmi_exception_early; in pnv_setup_machdep_opal() 502 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.12.1/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.12.1/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()
|
/linux-6.12.1/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()
|
D | indirect_pci.c | 33 if (ppc_md.pci_exclude_device) in __indirect_read_config() 34 if (ppc_md.pci_exclude_device(hose, bus_number, devfn)) in __indirect_read_config() 99 if (ppc_md.pci_exclude_device) in indirect_write_config() 100 if (ppc_md.pci_exclude_device(hose, bus->number, devfn)) in indirect_write_config()
|
/linux-6.12.1/arch/powerpc/mm/book3s32/ |
D | mmu.c | 355 if ( ppc_md.progress ) ppc_md.progress("hash:enter", 0x105); in MMU_init_hw() 379 if ( ppc_md.progress ) ppc_md.progress("hash:find piece", 0x322); in MMU_init_hw() 404 if (ppc_md.progress) in MMU_init_hw_patch() 405 ppc_md.progress("hash:patch", 0x345); in MMU_init_hw_patch() 406 if (ppc_md.progress) in MMU_init_hw_patch() 407 ppc_md.progress("hash:done", 0x205); in MMU_init_hw_patch()
|
/linux-6.12.1/arch/powerpc/platforms/embedded6xx/ |
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.12.1/arch/powerpc/platforms/pseries/ |
D | setup.c | 492 ppc_md.progress("H_SET_MODE LE exception fail", 0); in pseries_little_endian_exceptions() 862 ppc_md.power_save = pseries_lpar_idle; in pSeries_setup_arch() 863 ppc_md.enable_pmcs = pseries_lpar_enable_pmcs; in pSeries_setup_arch() 865 ppc_md.pcibios_fixup_resources = in pSeries_setup_arch() 867 ppc_md.pcibios_fixup_sriov = in pSeries_setup_arch() 869 ppc_md.pcibios_iov_resource_alignment = in pSeries_setup_arch() 874 ppc_md.enable_pmcs = power4_enable_pmcs; in pSeries_setup_arch() 877 ppc_md.pcibios_root_bridge_prepare = pseries_root_bridge_prepare; in pSeries_setup_arch() 891 ppc_md.progress("Linux ppc64\n", 0); in pSeries_init_panel() 893 ppc_md.progress("Linux ppc64le\n", 0); in pSeries_init_panel() [all …]
|
D | nvram.c | 173 rc = ppc_md.nvram_write((char *)&clear_word, sizeof(int), &tmp_index); in nvram_clear_error_log() 235 ppc_md.nvram_read = pSeries_nvram_read; in pSeries_nvram_init() 236 ppc_md.nvram_write = pSeries_nvram_write; in pSeries_nvram_init() 237 ppc_md.nvram_size = pSeries_nvram_get_size; in pSeries_nvram_init()
|
/linux-6.12.1/arch/powerpc/kexec/ |
D | core_64.c | 158 if (ppc_md.kexec_cpu_down) in kexec_smp_down() 159 ppc_md.kexec_cpu_down(0, 1); in kexec_smp_down() 249 if (ppc_md.kexec_cpu_down) in kexec_prepare_cpus() 250 ppc_md.kexec_cpu_down(0, 0); in kexec_prepare_cpus() 269 if (ppc_md.kexec_cpu_down) in kexec_prepare_cpus() 270 ppc_md.kexec_cpu_down(0, 0); in kexec_prepare_cpus()
|
/linux-6.12.1/arch/powerpc/platforms/82xx/ |
D | km82xx.c | 161 if (ppc_md.progress) in km82xx_setup_arch() 162 ppc_md.progress("km82xx_setup_arch()", 0); in km82xx_setup_arch() 173 if (ppc_md.progress) in km82xx_setup_arch() 174 ppc_md.progress("km82xx_setup_arch(), finish", 0); in km82xx_setup_arch()
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_hv_ras.c | 173 if (ppc_md.hmi_exception_early) in kvmppc_p9_realmode_hmi_handler() 174 ppc_md.hmi_exception_early(NULL); in kvmppc_p9_realmode_hmi_handler() 353 if (ppc_md.hmi_exception_early) in kvmppc_realmode_hmi_handler() 354 ppc_md.hmi_exception_early(NULL); in kvmppc_realmode_hmi_handler()
|