STRUCT GW_PLD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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