netxbig_gpio_ext_get(9)
π 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 π«Ά
- Kernel file
./drivers/leds/leds-netxbig.cπ netxbig_gpio_ext_remove(9)π§Ή
<cute>source/version: ./drivers/leds Β· date: October 2026</cute> β mwah, signed off with main character energy ππβ
π¦ 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