STRUCT WS16C48_GPIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct ws16c48_gpio(9)

okay bestie, this is the Kernel API Manual page for struct ws16c48_gpio πŸ’… it's the private data structure for a GPIO device, and we are going to read every single field together, no skips, fr fr.


πŸŽ€ NAME πŸŽ€

struct ws16c48_gpio β€” GPIO device private data structure

✨ SYNOPSIS ✨

struct ws16c48_gpio {
    struct regmap *map;
    raw_spinlock_t lock;
    u8 irq_mask[WS16C48_NUM_IRQS / WS16C48_NGPIO_PER_REG];
};

🫢 Members 🫢

  • map β€” regmap for the device. it's the device's regmap, periodt.
  • lock β€” synchronization lock to prevent I/O race conditions. it's giving "wait your turn bestie" so the I/O doesn't get messy.
  • irq_mask β€” I/O bits affected by interrupts. that's the mask for the I/O bits the interrupts are touching.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpio/gpio-ws16c48.c β€” go read it, iykyk πŸ‘‘

and that's the whole page, bestie πŸŽ€ huge shoutout to the ./drivers/gpio source and the October 2026 date β€” struct ws16c48_gpio(9) out πŸ’–

πŸ“¦ where this page comes from