Home
last modified time | relevance | path

Searched refs:pm_arg (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/
H A Dzynqmp_pm_svc_main.c293 uint32_t pm_arg[5]; in pm_smc_handler() local
314 pm_arg[0] = (uint32_t)x1; in pm_smc_handler()
315 pm_arg[1] = (uint32_t)(x1 >> 32); in pm_smc_handler()
316 pm_arg[2] = (uint32_t)x2; in pm_smc_handler()
317 pm_arg[3] = (uint32_t)(x2 >> 32); in pm_smc_handler()
318 pm_arg[4] = (uint32_t)x3; in pm_smc_handler()
325 ret = pm_self_suspend(pm_arg[0], pm_arg[1], pm_arg[2], in pm_smc_handler()
326 pm_arg[3], security_flag); in pm_smc_handler()
330 ret = pm_req_suspend(pm_arg[0], pm_arg[1], pm_arg[2], in pm_smc_handler()
331 pm_arg[3], security_flag); in pm_smc_handler()
[all …]
/rk3399_ARM-atf/plat/xilinx/common/pm_service/
H A Dpm_svc_main.c56 #define EXTRACT_ARGS(pm_arg, x) \ argument
59 pm_arg[i] = lower_32_bits(x[(i / 2U) + 1U]); \
61 pm_arg[i] = upper_32_bits(x[i / 2U]); \
314 static uintptr_t eemi_for_compatibility(uint32_t api_id, const uint32_t *pm_arg, in eemi_for_compatibility() argument
325 ret = pm_feature_check(pm_arg[0], result, security_flag); in eemi_for_compatibility()
332 ret = pm_load_pdi(pm_arg[0], pm_arg[1], pm_arg[2], in eemi_for_compatibility()
359 static uintptr_t eemi_psci_debugfs_handler(uint32_t api_id, const uint32_t *pm_arg, in eemi_psci_debugfs_handler() argument
367 ret = pm_self_suspend(pm_arg[0], pm_arg[1], pm_arg[2], in eemi_psci_debugfs_handler()
368 pm_arg[3], security_flag); in eemi_psci_debugfs_handler()
372 ret = pm_force_powerdown(pm_arg[0], (uint8_t)pm_arg[1], security_flag); in eemi_psci_debugfs_handler()
[all …]
/rk3399_ARM-atf/plat/amd/versal2/pm_service/
H A Dpm_svc_main.c56 #define EXTRACT_ARGS(pm_arg, x) \ argument
59 pm_arg[i] = lower_32_bits(x[(i / 2U) + 1U]); \
61 pm_arg[i] = upper_32_bits(x[i / 2U]); \
328 static uintptr_t eemi_psci_debugfs_handler(uint32_t api_id, uint32_t *pm_arg, in eemi_psci_debugfs_handler() argument
337 ret = pm_self_suspend(pm_arg[0], pm_arg[1], pm_arg[2], in eemi_psci_debugfs_handler()
338 pm_arg[3], security_flag); in eemi_psci_debugfs_handler()
342 ret = pm_force_powerdown(pm_arg[0], (uint8_t)pm_arg[1], security_flag); in eemi_psci_debugfs_handler()
346 ret = pm_system_shutdown(pm_arg[0], pm_arg[1], security_flag); in eemi_psci_debugfs_handler()
368 static uintptr_t TF_A_specific_handler(uint32_t api_id, uint32_t *pm_arg, in TF_A_specific_handler() argument
378 ret = tfa_api_feature_check(pm_arg[0], result); in TF_A_specific_handler()
[all …]