kempld_write8(9)
π kempld_write8(9) π
okay so bestie, welcome to the kempld_write8(9) page from the Kernel API Manual β itβs giving tiny-but-mighty hardware helper energy β¨. This one writes an 8 bit register, and itβs literally one function, so letβs get into it π
.
β¨ NAME β¨
kempld_write8 β write 8 bit register.
π¦ SYNOPSIS π¦
void kempld_write8 (struct kempld_device_data *pld , u8 index , u8 data
);
The return type is void, so it doesnβt hand anything back β itβs just here to do the write π«Ά.
π ARGUMENTS π
pldβ thekempld_device_datastructure describing the PLD π§.indexβ register index on the chip π₯.dataβ new register value π.
π₯ DESCRIPTION π₯
kempld_get_mutex must be called prior to calling this function. Thatβs the vibe check, bestie: grab the mutex first, then call kempld_write8. Must is doing a lot of work there β no cap π.
π SEE ALSO π
The kernel file is ./drivers/mfd/kempld-core.c, and hereβs the whole related squad:
kempld_read8(9)kempld_read16(9)kempld_write16(9)kempld_read32(9)kempld_write32(9)kempld_get_mutex(9)kempld_release_mutex(9)kempld_get_info(9)
Thatβs it, bestie β short page, iconic energy π. Cute sign-off time: source/version is ./drivers/mfd, and the date on this one is October 2026 πΈ. Mwah π.
π¦ 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