kempld_write32(9)
β¨ 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β thekempld_device_datastructure 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 π
- Kernel file
./drivers/mfd/kempld-core.cπ§ kempld_read8(9)kempld_write8(9)kempld_read16(9)kempld_write16(9)kempld_read32(9)kempld_get_mutex(9)kempld_release_mutex(9)kempld_get_info(9)
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
- 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