netxbig_gpio_ext_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– netxbig_gpio_ext_get(9) πŸ’–

okay bestie, this one is straight from the Kernel API Manual, and it's giving β€œtiny helper function that knows exactly what it’s doing.” ✨


🌸 NAME 🌸

netxbig_gpio_ext_get β€” obtain GPIO extension device data πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int netxbig_gpio_ext_get (struct device *dev , struct device *gpio_ext_dev , struct netxbig_gpio_ext *gpio_ext );

πŸ‘‘ ARGUMENTS πŸ‘‘

  • dev β€” the main LED device πŸ’‘
  • gpio_ext_dev β€” the GPIO extension device πŸ”Œ
  • gpio_ext β€” the data structure holding the GPIO extension data πŸ“¦

✨ DESCRIPTION ✨

So, bestie, this function literally walks the subdevice that only contain GPIO line handles in the device tree 🌳 and obtains the GPIO descriptors from that device. No cap. πŸ’…


🫢 SEE ALSO 🫢


<cute>source/version: ./drivers/leds Β· date: October 2026</cute> β€” mwah, signed off with main character energy πŸ‘‘πŸ’‹β­

πŸ“¦ where this page comes from