Home
last modified time | relevance | path

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

/drivers/firmware/
Dqcom_scm-legacy.c140 struct arm_smccc_res smc_res; in scm_legacy_call() local
174 __scm_legacy_do(&smc, &smc_res); in scm_legacy_call()
175 if (smc_res.a0) in scm_legacy_call()
176 ret = qcom_scm_remap_error(smc_res.a0); in scm_legacy_call()
225 struct arm_smccc_res smc_res; in scm_legacy_call_atomic() local
233 desc->args[3], desc->args[4], 0, &smc_res); in scm_legacy_call_atomic()
236 res->result[0] = smc_res.a1; in scm_legacy_call_atomic()
237 res->result[1] = smc_res.a2; in scm_legacy_call_atomic()
238 res->result[2] = smc_res.a3; in scm_legacy_call_atomic()
241 return smc_res.a0; in scm_legacy_call_atomic()
Dqcom_scm-smc.c94 struct arm_smccc_res smc_res; in __scm_smc_call() local
138 __scm_smc_do(&smc, &smc_res, atomic); in __scm_smc_call()
146 res->result[0] = smc_res.a1; in __scm_smc_call()
147 res->result[1] = smc_res.a2; in __scm_smc_call()
148 res->result[2] = smc_res.a3; in __scm_smc_call()
151 return (long)smc_res.a0 ? qcom_scm_remap_error(smc_res.a0) : 0; in __scm_smc_call()
/drivers/remoteproc/
Dstm32_rproc.c409 struct arm_smccc_res smc_res; in stm32_rproc_set_hold_boot() local
416 hold_boot.reg, val, 0, 0, 0, 0, &smc_res); in stm32_rproc_set_hold_boot()
417 err = smc_res.a0; in stm32_rproc_set_hold_boot()