kempld_get_info(9)
π kempld_get_info(9) β Kernel API Manual, but make it make sense β¨
Okay bestie, so this is a page from the Kernel API Manual and honestly? It's short, it's sweet, and the function name is kempld_get_info. That (9) at the end? That's just the section number, iykyk. π
β¨ NAME β¨
kempld_get_info β update device specific information π¦
β¨ SYNOPSIS β¨
int kempld_get_info (struct kempld_device_data *pld );
No cap, that's the whole signature. It returns an int, and it takes one pointer. That's her. π
β¨ ARGUMENTS β¨
pldβ astruct kempld_device_datathat describes the PLD. She's the main character here, the whole data situation lives in her. π
β¨ DESCRIPTION β¨
So here's the tea, bestie: this function calls the configured board specific kempld_get_info_XXXX function. Notice the XXXX? That part is whatever the board is, not you. Don't try to pick it. π
That board-specific function is the one actually responsible for gathering up all the information about the specific hardware. Literally its whole job. π
And then? The information gets stored within the pld structure. So this function is giving very much "go fetch the hardware deets and drop them into pld" energy. Iconic. β¨
π«Ά Quick vibe check so you don't forget: the info does not come from the generic side β it comes from whichever kempld_get_info_XXXX the board configured. Your code just calls, and the board-specific one does the gathering. Slay.
π SEE ALSO π
Kernel file ./drivers/mfd/kempld-core.c β yes, that's where she lives. Go look, fr fr. π
And the whole friend group she hangs out with:
kempld_read8(9)kempld_write8(9)kempld_read16(9)kempld_write16(9)kempld_read32(9)kempld_write32(9)kempld_get_mutex(9)kempld_release_mutex(9)
Reads, writes, and the mutex pair β like, they come as a set, don't separate them. π
π That's the whole page, bestie. No filler, all facts, all ours. This beauty comes to you from ./drivers/mfd, dated October 2026, and it's kempld_get_info(9) all day. Go forth and update some device specific information. ππ¦π₯
π¦ 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