STRUCT OWL_GPIO_PORT(9)
π 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(anu8) 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.hstructowl_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
- 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