STRUCT IOH_GPIO(9)
β¨ 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 theGPIO_USE_SEL1~4register 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
- 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