STRUCT SPRD_PMIC_EIC(9)
πΈ NAME πΈ
okay so bestie, this page is from the Kernel API Manual, and it's all about struct sprd_pmic_eic - PMIC EIC controller β¨
π SYNOPSIS π
struct sprd_pmic_eic {
struct gpio_chip chip;
struct regmap *map;
u32 offset;
u8 reg[CACHE_NR_REGS];
struct mutex buslock;
int irq;
};
π Members π
chipβ thegpio_chipstructure. literally the gpio-chip bestie of this whole situation πmapβ theregmapfrom the parent device. it's giving "where the registers actually live" energy π¦offsetβ the EIC controller's offset address of the PMIC. yes, an offset, iconic behavior β¨regβ the array to cache the EIC registers. cachey little register array, we love to see it πbuslockβ for bus lock/sync and unlock. lock it, sync it, unlock it, periodt πirqβ the interrupt number of the PMIC EIC conteroller. (spelling exactly as the page says, no cap π)
π SEE ALSO π
Kernel file ./drivers/gpio/gpio-pmic-eic-sprd.c β go read it, iykyk ππ
signing off from ./drivers/gpio, dated October 2026, for struct sprd_pmic_eic(9) β bye bestie, slay responsibly π
β¨
π¦ 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