MACRO TO UPDATE BITS.(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… macro to update bits.(9) πŸ’…

the Kernel API Manual, but make it a group chat ✨

okay bestie, before anything else: we're in the Kernel API Manual, and this little cutie is named macro to update bits. β€” no cap, that's genuinely the whole title. now let's get into it 🫢


πŸŽ€ THE VIBE (aka what it does) πŸŽ€

RMW_BITS β€” it's giving read, modify, update energy. πŸ’…

so like, RMW_BITS is used to read, modify and update bandgap bitfields. that's the whole personality. you hand it a value, and heads up bestie β€” the value passed will be shifted. ⚠️ not optional, not a vibe, it will be shifted. so factor that in before you go touching bitfields like a main character, fr fr.

πŸ”₯ real talk: it reads, it modifies, it updates. the shift is not a rumour. plan accordingly.

🌈 SEE ALSO 🌈

this is the iconic supporting cast β€” every single one of them, because we don't do "and friends" around here, periodt. πŸ‘‘

twenty-four entries and every last one of them is invited to the function party. πŸ§šπŸ’œ


shoutout to ./drivers/thermal/ti-soc-thermal for being the home base, and to October 2026 for the timestamp β€” this page is officially datestamped and slaying ✨ mwah, bye bestie! πŸ’–

πŸ“¦ where this page comes from