STRUCT XGENE_GPIO_SB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, you're in the Kernel API Manual, specifically struct xgene_gpio_sb(9), and it's literally the page for the GPIO-Standby private data structure πŸ’…βœ¨ Not me being obsessed with a private data struct, but here we are.

✨ NAME ✨

struct xgene_gpio_sb β€” GPIO-Standby private data structure. That's the whole name, periodt πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

the exact shape of this struct, no cap:

       struct xgene_gpio_sb {
           struct gpio_generic_chip chip;
           void __iomem            *regs;
           struct irq_domain       *irq_domain;
           u16 irq_start;
           u16 nirq;
           u16 parent_irq_base;
        };

🌸 Members 🌸

  • chip β€” Generic GPIO chip data. It's giving "generic chip but make it the main character" πŸ’…
  • regs β€” GPIO register base offset. The address math starts here, bestie ✨
  • irq_domain β€” GPIO interrupt domain. Interrupt lore, no cap πŸ¦‹
  • irq_start β€” GPIO pin that start support interrupt. So the interrupt-support era begins at this pin 🌸
  • nirq β€” Number of GPIO pins that supports interrupt. Count 'em, bestie πŸ”₯
  • parent_irq_base β€” Start parent HWIRQ. Where the parent HWIRQ starts, periodt πŸ‘‘

πŸ’– SEE ALSO πŸ’–

  • Kernel file ./drivers/gpio/gpio-xgene-sb.c β€” go peek, iykyk 🫢

later bestie β€” this was struct xgene_gpio_sb(9) from source/version ./drivers/gpio, dated October 2026 πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from