Home
last modified time | relevance | path

Searched refs:psci_ops (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Dpsci_smp.c47 if (psci_ops.cpu_on) in psci_boot_secondary()
48 return psci_ops.cpu_on(cpu_logical_map(cpu), in psci_boot_secondary()
57 if (!psci_ops.cpu_off) in psci_cpu_disable()
72 if (psci_ops.cpu_off) in psci_cpu_die()
73 psci_ops.cpu_off(state); in psci_cpu_die()
83 if (!psci_ops.affinity_info) in psci_cpu_kill()
92 err = psci_ops.affinity_info(cpu_logical_map(cpu), 0); in psci_cpu_kill()
113 return (psci_ops.cpu_on != NULL); in psci_smp_available()
/openbmc/linux/arch/arm64/kernel/
H A Dpsci.c31 if (!psci_ops.cpu_on) { in cpu_psci_cpu_prepare()
42 int err = psci_ops.cpu_on(cpu_logical_map(cpu), pa_secondary_entry); in cpu_psci_cpu_boot()
58 if (!psci_ops.cpu_off) in cpu_psci_cpu_disable()
77 psci_ops.cpu_off(state); in cpu_psci_cpu_die()
85 if (!psci_ops.affinity_info) in cpu_psci_cpu_kill()
96 err = psci_ops.affinity_info(cpu_logical_map(cpu), 0); in cpu_psci_cpu_kill()
H A Dcpuidle.c33 if (!psci_ops.cpu_suspend) in psci_acpi_cpu_init_idle()
/openbmc/linux/drivers/firmware/psci/
H A Dpsci.c51 struct psci_operations psci_ops; variable
374 ver = psci_ops.get_version(); in psci_debugfs_read()
403 type = psci_ops.migrate_info_type(); in psci_debugfs_read()
449 if (!invoke_psci_fn || !psci_ops.get_version) in psci_debugfs_init()
478 ret = psci_ops.cpu_suspend(state, 0); in psci_cpu_suspend_enter()
558 type = psci_ops.migrate_info_type(); in psci_init_migrate()
618 psci_ops = (struct psci_operations){ in psci_0_2_set_functions()
703 psci_ops.get_version = psci_0_1_get_version; in psci_0_1_init()
712 psci_ops.cpu_off = psci_0_1_cpu_off; in psci_0_1_init()
717 psci_ops.cpu_on = psci_0_1_cpu_on; in psci_0_1_init()
[all …]
H A Dpsci_checker.c50 if (!(psci_ops.cpu_off && psci_ops.cpu_on && psci_ops.cpu_suspend)) { in psci_ops_check()
55 if (psci_ops.migrate_info_type) in psci_ops_check()
56 migrate_type = psci_ops.migrate_info_type(); in psci_ops_check()
/openbmc/linux/arch/arm/mach-highbank/
H A Dpm.c24 return psci_ops.cpu_suspend(HIGHBANK_SUSPEND_PARAM, __pa(cpu_resume)); in highbank_suspend_finish()
47 if (!psci_ops.cpu_suspend) in highbank_pm_init()
H A Dhighbank.c154 if (psci_ops.cpu_suspend) in highbank_init()
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-calxeda.c31 return psci_ops.cpu_suspend(CALXEDA_IDLE_PARAM, __pa(cpu_resume)); in calxeda_idle_finish()
H A Dcpuidle-psci.c296 if (!psci_ops.cpu_suspend) in psci_cpu_init_idle()
/openbmc/linux/include/linux/
H A Dpsci.h35 extern struct psci_operations psci_ops;
/openbmc/linux/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c74 if (psci_ops.cpu_on) in rcar_gen2_timer_init()
/openbmc/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c872 if (!psci_ops.cpu_suspend) in cpg_mssr_suspend_noirq()
898 if (!psci_ops.cpu_suspend) in cpg_mssr_resume_noirq()
/openbmc/linux/arch/arm64/kvm/
H A Darm.c1986 config.psci_0_1_ ## what ## _implemented = psci_ops.what
1994 if (!psci_ops.get_version) { in init_psci_relay()
1999 kvm_host_psci_config.version = psci_ops.get_version(); in init_psci_relay()
/openbmc/linux/drivers/pinctrl/renesas/
H A Dcore.c700 if (!psci_ops.cpu_suspend) in sh_pfc_suspend_init()