STRUCT IOH_GPIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this page is all about struct ioh_gpio β€” the GPIO private data structure β€” and we are absolutely in the Kernel API Manual, section 9. no cap, that's the whole name vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

here is the struct in all its exact glory, copied character for character so you can screenshot it for the group chat:

       struct ioh_gpio {
           void __iomem *base;
           struct ioh_regs __iomem *reg;
           struct device *dev;
           struct gpio_chip gpio;
           struct ioh_gpio_reg_data ioh_gpio_reg;
           u32 gpio_use_sel;
           int ch;
           int irq_base;
           raw_spinlock_t *spinlock;
        };

🫢 Members 🫢

  • base β€” the PCI base address of Memory mapped I/O register. literally the address energy. 🌈
  • reg β€” the Memory mapped IOH GPIO register list. ✨
  • dev β€” pointer to device structure. 🫢
  • gpio β€” data for GPIO infrastructure. πŸ‘‘
  • ioh_gpio_reg β€” Memory mapped Register data is saved here when suspend 😴
  • gpio_use_sel β€” save the GPIO_USE_SEL1~4 register for PM πŸ’…
  • ch β€” indicate GPIO channel πŸŽ€
  • irq_base β€” save base of IRQ number for interrupt πŸ”₯
  • spinlock β€” shared register access lock πŸ”’

🌟 SEE ALSO 🌟

  • Kernel file ./drivers/gpio/gpio-ml-ioh.c πŸ’–
  • struct ioh_gpio_reg_data(9) πŸ¦‹

and that's the page, bestie! 🫢 source/version vibes: ./drivers/gpio Β· date: October 2026 Β· page: struct ioh_gpio(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from