gpiochip_fwd_desc_free(9)
π gpiochip_fwd_desc_free(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a little function page from the kernel docs, and honestly? she's short and sweet. Let's get into it π«Ά
πΈ NAME πΈ
gpiochip_fwd_desc_free β the girl whose whole job is removing a GPIO desc from the forwarder π
β¨ SYNOPSIS β¨
void gpiochip_fwd_desc_free (struct gpiochip_fwd *fwd , unsigned int
offset );
like, that's it. that's the whole signature. no return value, no drama, just vibes π
π ARGUMENTS π
fwdβ the GPIO forwarder in question π¦ your main character struct, fr froffsetβ the offset of the GPIO desc you wanna remove. yes, that one. bye bestie π
π₯ SEE ALSO π₯
the kernel file where all this lives:
./drivers/gpio/gpio-aggregator.c
and the whole friend group, because nobody exists in a vacuum π:
gpiochip_fwd_get_gpiochip(9)gpiochip_fwd_get_data(9)gpiochip_fwd_gpio_request(9)gpiochip_fwd_gpio_get_direction(9)gpiochip_fwd_gpio_direction_output(9)gpiochip_fwd_gpio_direction_input(9)gpiochip_fwd_gpio_get(9)gpiochip_fwd_gpio_get_multiple(9)gpiochip_fwd_gpio_set(9)gpiochip_fwd_gpio_set_multiple(9)gpiochip_fwd_gpio_set_config(9)gpiochip_fwd_gpio_to_irq(9)devm_gpiochip_fwd_alloc(9)gpiochip_fwd_desc_add(9)gpiochip_fwd_register(9)gpiochip_fwd_create(9)
ngl the desc_add one is literally this function's opposite twin β she adds, this one removes. sibling energy fr π§
π okay that's the whole page, you ate that. signed off from ./drivers/gpio, dated October 2026, and the page is gpiochip_fwd_desc_free(9) β periodt. ππ
π¦ 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