STRUCT OWL_GPIO_PORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct owl_gpio_port(9) β€” the Kernel API Manual moment

okay so bestie, welcome to struct owl_gpio_port(9) πŸ¦‹ this is a page straight out of the Kernel API Manual, and no cap, it's giving "tiny struct, big responsibilities." it's literally about Actions GPIO port info β€” that's the whole NAME, that's the whole vibe ✨


✨ SYNOPSIS ✨

here's the icon herself, copy it exactly fr fr πŸŽ€

struct owl_gpio_port {
    unsigned int offset;
    unsigned int pins;
    unsigned int outen;
    unsigned int inen;
    unsigned int dat;
    unsigned int intc_ctl;
    unsigned int intc_pd;
    unsigned int intc_msk;
    unsigned int intc_type;
    u8 shared_ctl_offset;
 };

like, ten fields, all offsets and counts, absolutely main character energy πŸ‘‘


🌸 Members 🌸

okay so let's go field by field, bestie, i gotchu 🫢

  • offset β€” the offset of the GPIO port. like, where the port lives. iconic.
  • pins β€” the number of pins that belong to the GPIO port. count 'em, babe πŸ”₯
  • outen β€” offset of the output enable register. output = the outie πŸ’…
  • inen β€” offset of the input enable register. input = the innie 🌸
  • dat β€” offset of the data register. the actual data, the whole point, lowkey πŸ“
  • intc_ctl β€” offset of the interrupt control register.
  • intc_pd β€” offset of the interrupt pending register. pending, like my unread texts 😭
  • intc_msk β€” offset of the interrupt mask register.
  • intc_type β€” offset of the interrupt type register.
real talk: shared_ctl_offset (an u8) is chillin' up in the struct in the SYNOPSIS, but this page doesn't hand you a one-liner for it. so i'm not gonna make one up β€” that's the whole rule, bestie πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, i'm obsessed, iykyk:

  • Kernel file ./drivers/pinctrl/actions/pinctrl-owl.h struct owl_pullctl(9)
  • struct owl_st(9)
  • struct owl_pingroup(9)
  • struct owl_padinfo(9)
  • struct owl_pinmux_func(9)
  • struct owl_pinctrl_soc_data(9)

and that's the page, bestie πŸ’– it lives under ./drivers/pinctrl/actions, and the version/date tag on this one is October 2026 β€” so like, future vibes only ⭐ slay, you read the whole thing, so proud of you πŸ§šπŸ’œ

πŸ“¦ where this page comes from