STRUCT GPIO_DESCS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct gpio_descs(9) πŸ’–

okay so bestie, we're in the Kernel API Manual and this page is literally all about struct gpio_descs(9) β€” the struct containing an array of descriptors that can be obtained using gpiod_get_array(). it's giving descriptor squad energy, no cap ✨


🌸 NAME 🌸

struct gpio_descs β€” the struct containing an array of descriptors that can be obtained using gpiod_get_array(). lowkey iconic, highkey useful πŸ’…


✨ SYNOPSIS ✨

struct gpio_descs {
    struct gpio_array *info;
    unsigned int ndescs;
    struct gpio_desc *desc[];
};

🫢 Members 🫢

  • info β€” Pointer to the opaque gpio_array structure. it's opaque, bestie, so we don't peek behind the curtain πŸ‘€
  • ndescs β€” Number of held descriptors. the headcount of this little descriptor party πŸŽ€
  • desc β€” Array of pointers to GPIO descriptors. yes, an array, and yes, it ate πŸ”₯

πŸ”₯ SEE ALSO πŸ”₯


okay bye bestie πŸ’… this page comes from ./include/linux/gpio, dated October 2026, and it's titled struct gpio_descs(9). mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from