Lines Matching defs:pm_arg
162 * @pm_arg: pointer to the argument data for the API call.
174 static uintptr_t eemi_for_compatibility(uint32_t api_id, uint32_t *pm_arg,
185 ret = pm_api_ioctl(pm_arg[0], pm_arg[1], pm_arg[2],
186 pm_arg[3], pm_arg[4],
198 ret = pm_query_data(pm_arg[0], pm_arg[1], pm_arg[2],
199 pm_arg[3], data, security_flag);
209 ret = pm_feature_check(pm_arg[0], result, security_flag);
216 ret = pm_load_pdi(pm_arg[0], pm_arg[1], pm_arg[2],
229 * @pm_arg: pointer to the argument data for the API call.
243 static uintptr_t eemi_psci_debugfs_handler(uint32_t api_id, uint32_t *pm_arg,
251 ret = pm_self_suspend(pm_arg[0], pm_arg[1], pm_arg[2],
252 pm_arg[3], security_flag);
256 ret = pm_force_powerdown(pm_arg[0], pm_arg[1], security_flag);
260 ret = pm_req_suspend(pm_arg[0], pm_arg[1], pm_arg[2],
261 pm_arg[3], security_flag);
265 ret = pm_abort_suspend(pm_arg[0], security_flag);
269 ret = pm_system_shutdown(pm_arg[0], pm_arg[1], security_flag);
280 * @pm_arg: pointer to the argument data for the API call.
291 static uintptr_t TF_A_specific_handler(uint32_t api_id, uint32_t *pm_arg,
300 ret = pm_register_sgi(pm_arg[0], pm_arg[1]);
335 * @pm_arg: pointer to the argument data for the API call.
349 static uintptr_t eemi_handler(uint32_t api_id, uint32_t *pm_arg,
355 ret = pm_handle_eemi_call(security_flag, api_id, pm_arg[0], pm_arg[1],
356 pm_arg[2], pm_arg[3], pm_arg[4],
365 if ((pm_arg[0] == XPM_QID_CLOCK_GET_NAME ||
366 pm_arg[0] == XPM_QID_PINCTRL_GET_FUNCTION_NAME) &&
402 uint32_t pm_arg[PAYLOAD_ARG_CNT] = {0};
413 * Mark BIT24 payload (i.e 1st bit of pm_arg[3] ) as secure (0)
423 pm_arg[0] = (uint32_t)x1;
424 pm_arg[1] = (uint32_t)(x1 >> 32U);
425 pm_arg[2] = (uint32_t)x2;
426 pm_arg[3] = (uint32_t)(x2 >> 32U);
427 pm_arg[4] = (uint32_t)x3;
431 ret = eemi_for_compatibility(api_id, pm_arg, handle, security_flag);
436 ret = eemi_psci_debugfs_handler(api_id, pm_arg, handle, flags);
441 ret = TF_A_specific_handler(api_id, pm_arg, handle, security_flag);
446 ret = eemi_handler(api_id, pm_arg, handle, security_flag);