qcom_smem_state_update_bits(9)
π qcom_smem_state_update_bits(9) β the Kernel API Manual page, bestie edition β¨
okay so this is a page from the Kernel API Manual, and it's all about qcom_smem_state_update_bits(9) β yes the whole function name is the title, we love a self-titled icon π
πΈ NAME πΈ
qcom_smem_state_update_bits β literally just update the masked bits in state with value, that's the whole vibe π
β¨ SYNOPSIS β¨
int qcom_smem_state_update_bits (struct qcom_smem_state *state , u32
mask , u32 value );
like, that's the signature, no cap. three args, one int coming back at you π«Ά
π¦ ARGUMENTS π¦
stateβ the state handle, and you get it by callingqcom_smem_state_get. that's it, that's the whole thing, it's giving "you had to be there (at the getter)" π«maskβ the bit mask for the change. which bits are we touching? this mask says it all πvalueβ the new value for the masked bits. the fresh fit for the bits you picked π
π DESCRIPTION π
okay so here's the tea: it returns 0 on success, otherwise a negative errno. that's literally the entire description, short and iconic, periodt π₯
ngl, when it comes back negative you gotta check that errno β that's the "something went wrong" signal, fr fr π
π SEE ALSO π
- the kernel file
./drivers/soc/qcom/smem_state.cβ the source, the main character energy itself π struct qcom_smem_state(9)qcom_smem_state_get(9)qcom_smem_state_put(9)devm_qcom_smem_state_get(9)qcom_smem_state_register(9)qcom_smem_state_unregister(9)
like, the whole friend group, iykyk π«Ά
and that's the page!! mwah π this cutie lives under ./drivers/soc/qcom, dated October 2026, and it's serving qcom_smem_state_update_bits(9) realness from the Kernel API Manual β go off, bestie, slay those masked bits πβ¨π¦
π¦ 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