STRUCT WINBOND_GPIO_PORT_CONFLICT(9)
π NAME π
struct winbond_gpio_port_conflict β literally the info about a device that might be beefing with you
okay bestie, so this struct is like the little warning label on a GPIO port, right? it's holding the deets on a possibly-conflicting device so the kernel can do a vibe check before anything messy happens π«Ά
β¨ SYNOPSIS β¨
struct winbond_gpio_port_conflict {
const char *name;
u8 dev;
u8 testreg;
u8 testbit;
bool warnonly;
};
look at her. five fields. main character energy π
π Members π
nameβ the device name, periodt. and if it'sNULL? that means no conflicting device is defined at all, so likeβ¦ nothing to worry about here, bestie πdevβ the Super I/O logical device number where thetestregregister lives. or you can passWB_SIO_DEV_NONE, which is the "don't select any logical device" option β iconic lowkey opt-out πΈtestregβ the register number where thetestbitbit is chillin'. that's where we go lookin' πtestbitβ the index of the bit we check to see whether an actual conflict exists. like, is there really drama or are we imagining it πwarnonlyβ if this is set, then a conflict isn't fatal (we just warn about it, no biggie, we're being chill π ). otherwise β and this is the important part β the particular GPIO port gets disabled if a conflict is detected. so if you leave it unset, the port is gone. not me forgetting to set that flag π
π SEE ALSO π
- Kernel file
./drivers/gpio/gpio-winbond.c struct winbond_gpio_info(9)
fr fr go read struct winbond_gpio_info(9) next, it's the companion piece, iykyk π¦
that's the whole page bestie, go slay some GPIO ports πβ¨
signed off from ./drivers/gpio β October 2026 β mwah, drink water, and may your conflicts always be warnonly ππ
π¦ 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