kempld_write32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ kempld_write32(9) ✨

okay bestie, so this is a page from the Kernel API Manual and it's literally all about kempld_write32 β€” the little function that writes a 32-bit register. it's giving "one job, does it well" energy πŸ’…


🌸 NAME 🌸

kempld_write32 β€” write 32 bit register 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void kempld_write32 (struct kempld_device_data *pld , u8 index , u32 data );

that's the whole signature, no cap. it returns void, so don't be out here expecting a return value, bestie 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pld β€” the kempld_device_data structure that describes the PLD πŸ‘‘
  • index β€” the register index on the chip πŸ”₯
  • data β€” the new register value ⭐

πŸ’– DESCRIPTION πŸ’–

okay so here's the thing, and it's lowkey important: kempld_get_mutex must be called prior to calling this function. like, before. not after. not during. before. πŸ™ˆ

fr fr, lock the mutex first or you're gonna have a bad time 😭

🌈 SEE ALSO 🌈


and that's the whole page, periodt πŸ’œ this came from ./drivers/mfd, dated October 2026, and yes it's still kempld_write32(9) β€” iconic behavior, honestly πŸŽ€βœ¨

πŸ“¦ where this page comes from