Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/firmware/
Dqcom_scm-legacy.c143 struct arm_smccc_res smc_res; in scm_legacy_call() local
177 __scm_legacy_do(&smc, &smc_res); in scm_legacy_call()
178 if (smc_res.a0) in scm_legacy_call()
179 ret = qcom_scm_remap_error(smc_res.a0); in scm_legacy_call()
229 struct arm_smccc_res smc_res; in scm_legacy_call_atomic() local
237 desc->args[3], desc->args[4], 0, &smc_res); in scm_legacy_call_atomic()
240 res->result[0] = smc_res.a1; in scm_legacy_call_atomic()
241 res->result[1] = smc_res.a2; in scm_legacy_call_atomic()
242 res->result[2] = smc_res.a3; in scm_legacy_call_atomic()
245 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()
/linux-6.1.9/drivers/remoteproc/
Dstm32_rproc.c401 struct arm_smccc_res smc_res; in stm32_rproc_set_hold_boot() local
408 hold_boot.reg, val, 0, 0, 0, 0, &smc_res); in stm32_rproc_set_hold_boot()
409 err = smc_res.a0; in stm32_rproc_set_hold_boot()