STRUCT SPRD_PMIC_EIC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 β€” the gpio_chip structure. literally the gpio-chip bestie of this whole situation πŸ’…
  • map β€” the regmap from 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