Lines Matching refs:invoke_psci_fn
61 static psci_fn *invoke_psci_fn; variable
157 return invoke_psci_fn(PSCI_0_2_FN_PSCI_VERSION, 0, 0, 0); in psci_0_2_get_version()
168 err = invoke_psci_fn(PSCI_1_0_FN_SET_SUSPEND_MODE, suspend_mode, 0, 0); in psci_set_osi_mode()
180 err = invoke_psci_fn(fn, state, entry_point, 0); in __psci_cpu_suspend()
202 err = invoke_psci_fn(fn, state, 0, 0); in __psci_cpu_off()
220 err = invoke_psci_fn(fn, cpuid, entry_point, 0); in __psci_cpu_on()
238 err = invoke_psci_fn(fn, cpuid, 0, 0); in __psci_migrate()
255 return invoke_psci_fn(PSCI_FN_NATIVE(0_2, AFFINITY_INFO), in psci_affinity_info()
261 return invoke_psci_fn(PSCI_0_2_FN_MIGRATE_INFO_TYPE, 0, 0, 0); in psci_migrate_info_type()
266 return invoke_psci_fn(PSCI_FN_NATIVE(0_2, MIGRATE_INFO_UP_CPU), in psci_migrate_info_up_cpu()
274 invoke_psci_fn = __invoke_psci_fn_hvc; in set_conduit()
277 invoke_psci_fn = __invoke_psci_fn_smc; in set_conduit()
318 invoke_psci_fn(PSCI_FN_NATIVE(1_1, SYSTEM_RESET2), 0, 0, 0); in psci_sys_reset()
320 invoke_psci_fn(PSCI_0_2_FN_SYSTEM_RESET, 0, 0, 0); in psci_sys_reset()
333 invoke_psci_fn(PSCI_0_2_FN_SYSTEM_OFF, 0, 0, 0); in psci_sys_poweroff()
338 return invoke_psci_fn(PSCI_1_0_FN_PSCI_FEATURES, in psci_features()
385 ver = invoke_psci_fn(ARM_SMCCC_VERSION_FUNC_ID, 0, 0, 0); in psci_debugfs_read()
449 if (!invoke_psci_fn || !psci_ops.get_version) in psci_debugfs_init()
503 err = invoke_psci_fn(PSCI_FN_NATIVE(1_0, SYSTEM_SUSPEND), in psci_system_suspend()
598 ret = invoke_psci_fn(ARM_SMCCC_VERSION_FUNC_ID, 0, 0, 0); in psci_init_smccc()