qcom_smem_state_update_bits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 calling qcom_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 🌈

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