Home
last modified time | relevance | path

Searched refs:ppc_md (Results 1 - 25 of 242) sorted by relevance

12345678910

/kernel/linux/linux-5.10/include/linux/
H A 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 in nvram_write()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A 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 in nvram_write()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dinit_32.c82 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A 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 in pmac_nvram_init()
[all...]
H A 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 in smp_core99_probe()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/
H A 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 in pmac_nvram_init()
[all...]
H A Dsmp.c249 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 in smp_core99_probe()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsetup-common.c79 struct machdep_calls ppc_md; variable
80 EXPORT_SYMBOL(ppc_md); variable
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 in show_cpuinfo_summary()
[all...]
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsetup-common.c82 struct machdep_calls ppc_md; variable
83 EXPORT_SYMBOL(ppc_md); variable
142 if (ppc_md.machine_shutdown) in machine_shutdown()
143 ppc_md.machine_shutdown(); in machine_shutdown()
157 if (ppc_md.restart) in machine_restart()
158 ppc_md.restart(cmd); in machine_restart()
183 if (max_longs && ppc_md.get_random_seed && ppc_md.get_random_seed(v)) in arch_get_random_seed_longs()
192 if (ppc_md.halt) in machine_halt()
193 ppc_md in machine_halt()
[all...]
H A Dtime.c580 if (ppc_md.suspend_disable_irqs) in arch_suspend_disable_irqs()
581 ppc_md.suspend_disable_irqs(); in arch_suspend_disable_irqs()
597 if (ppc_md.suspend_enable_irqs) in arch_suspend_enable_irqs()
598 ppc_md.suspend_enable_irqs(); in arch_suspend_enable_irqs()
718 if (!ppc_md.set_rtc_time) in update_persistent_clock64()
723 return ppc_md.set_rtc_time(&tm); in update_persistent_clock64()
735 if (ppc_md.time_init) in __read_persistent_clock()
736 timezone_offset = ppc_md.time_init(); in __read_persistent_clock()
739 if (ppc_md.get_boot_time) { in __read_persistent_clock()
740 ts->tv_sec = ppc_md in __read_persistent_clock()
[all...]
H A Dsetup_32.c130 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()
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Drng.c77 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()
H A Dsetup.c269 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()
495 /* ppc_md.system_reset_exception gets filled in by pnv_smp_init() */ 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 in pnv_setup_machdep_opal()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A 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()
H A 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()
469 /* ppc_md.system_reset_exception gets filled in by pnv_smp_init() */ 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 in pnv_setup_machdep_opal()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
H A 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 in chrp_find_8259()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/
H A Dsetup.c317 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 in chrp_find_8259()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/embedded6xx/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/platforms/85xx/
H A Dcorenet_generic.c57 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()
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dsetup.c460 ppc_md.progress("H_SET_MODE LE exception fail", 0); in pseries_little_endian_exceptions()
769 /* Discover PIC type and setup ppc_md accordingly */ in pSeries_setup_arch()
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 in pSeries_init_panel()
[all...]

Completed in 13 milliseconds

12345678910