STRUCT GW_PLD(9)
okay bestie, welcome to struct gw_pld(9) from the Kernel API Manual π this is the state container for Gateworks PLD, and itβs short, sweet, and lowkey iconic β¨
NAME π
struct gw_pld β State container for Gateworks PLD
SYNOPSIS πΈ
okay so hereβs the struct, copied exactly because we do not play with code accuracy:
struct gw_pld {
struct gpio_chip chip;
struct i2c_client *client;
u8 out;
};
Members π«Ά
chipβ the GPIO chip instance, slay πclientβ the I2C client, periodt β¨outβ the shadow register for the output bute π (keeping βbuteβ exactly as written, no cap)
SEE ALSO π
- Kernel file
./drivers/gpio/gpio-gw-pld.c
okay thatβs the whole page, bestie β source/version: ./drivers/gpio, date: October 2026, page: struct gw_pld(9). mwah πβ¨
π¦ 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