scm_legacy_call_atomic(9)
π¦ NAME π¦
okay so bestie, welcome to the scm_legacy_call_atomic(9) page from the Kernel API Manual β and it's literally here to Send an atomic SCM command with up to 5 arguments and 3 return values. periodt. π
β¨ SYNOPSIS β¨
int scm_legacy_call_atomic (struct device *unused , const struct
qcom_scm_desc *desc , struct qcom_scm_res *res );
π ARGUMENTS π
unusedβ it's adevice, but it's the legacy argument, so it's not used, and it can beNULL. no cap, just leave it be πdescβ the SCM call descriptor containing arguments. πresβ the SCM call return values. π
π DESCRIPTION π
This shall only be used with commands that are guaranteed to be uninterruptable, atomic and SMP safe. like, do not freestyle with this one β it's strictly for that exact vibe, okay? π₯
π SEE ALSO π
- Kernel file
./drivers/firmware/qcom/qcom_scm-legacy.c struct arm_smccc_args(9)struct scm_legacy_command(9)struct scm_legacy_response(9)scm_legacy_command_to_response(9)scm_legacy_get_command_buffer(9)scm_legacy_get_response_buffer(9)scm_legacy_call(9)
that's the whole page, bestie π«Ά β source/version is ./drivers/firmware/qcom, dated October 2026. slay and stay atomic πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms