STRUCT WINBOND_GPIO_INFO(9)
π struct winbond_gpio_info(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's all about struct winbond_gpio_info, which is literally the whole info packet for one particular GPIO port (a device). yes. one struct, one port, one vibe. πΈ
π NAME π
struct winbond_gpio_info β all the deets about a particular GPIO port (device). it's giving "knows everything about its one port" energy and honestly? iconic. π
β¨ SYNOPSIS β¨
struct winbond_gpio_info {
u8 dev;
u8 enablereg;
u8 enablebit;
u8 outputreg;
u8 outputppbit;
u8 ioreg;
u8 invreg;
u8 datareg;
struct winbond_gpio_port_conflict conflict;
};
like, look at it. so many u8s. so organized. we love a structured queen. π
π¦ Members π¦
devβ the Super I/O logical device number for all the registers listed down below. like the address of the whole squad πenableregβ the register number that holds the port enable bitenablebitβ and this is which bit in there actually turns the port on, index-style β¨outputregβ register number for the output driver mode bitoutputppbitβ index of the push-pull output driver mode bit, slay π«Άioregβ the data direction register number (in or out, bestie, gotta know)invregβ the pin data inversion register numberdataregβ the pin data register number, i.e. the actual data lives here π₯conflictβ a description of a device that possibly conflicts with this port. so like, the messy ex of this port π pay attention to this one fr fr
π SEE ALSO π
- Kernel file
./drivers/gpio/gpio-winbond.c struct winbond_gpio_port_conflict(9)
lowkey a reminder bestie: conflict is only a possible conflict, not a guaranteed beef. no cap, read the other struct before you panic π
okay that's the whole page, mwah π β this was the Kernel API Manual, from ./drivers/gpio, dated October 2026, and it was a whole moment. go forth and GPIO responsibly, bestie π§βπ
π¦ 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