qcom_scm_ocmem_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ qcom_scm_ocmem_lock(9) ✨

okay so bestie, this page is from the Kernel API Manual, and the main character is qcom_scm_ocmem_lock(9). it's giving firmware-girl realness: this is the call to the OCMEM lock interface that assigns an OCMEM region to the initiator you specify. no cap. πŸ¦‹

πŸ’– NAME πŸ’–

qcom_scm_ocmem_lock β€” call OCMEM lock interface to assign an OCMEM region to the specified initiator.

🌸 SYNOPSIS 🌸

int qcom_scm_ocmem_lock (enum qcom_scm_ocmem_client id , u32 offset ,
       u32 size , u32 mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” tz initiator id. this is the initiator ID from tz, periodt.
  • offset β€” OCMEM offset. literally the offset into OCMEM.
  • size β€” OCMEM size. how much OCMEM we're talking about.
  • mode β€” access mode (WIDE/NARROW). pick your mode, bestie.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./drivers/firmware/qcom/qcom_scm.c, and here's the whole squad of related references β€” yes, all of them, we're not skipping anybody:


xoxo, your local Unix bestie πŸ’… β€” page source/version: ./drivers/firmware/qcom; date: October 2026; page: qcom_scm_ocmem_lock(9). 🫢

πŸ“¦ where this page comes from