gpiochip_fwd_gpio_get(9)
π¦ gpiochip_fwd_gpio_get π¦
okay bestie, welcome to the Kernel API Manual corner of the group chat π
this page is literally about gpiochip_fwd_gpio_get, and it is here to return a GPIO forwarder line's value. No cap. π«Ά
πΈ NAME πΈ
gpiochip_fwd_gpio_get β return a GPIO forwarder line's value, periodt. π
β¨ SYNOPSIS β¨
int gpiochip_fwd_gpio_get (struct gpiochip_fwd *fwd , unsigned int
offset );
π ARGUMENTS π
fwdβ the GPIO forwarder, bestie. That's the thing we're working with. π¦offsetβ the offset of the line. yep, that's the line's offset. π
π RETURN π
It gives you the GPIO's logical value β i.e. it's taking the ACTIVE_LOW status into account, so the vibe check is logical β or a negative errno on failure. π
π SEE ALSO π
Kernel file: ./drivers/gpio/gpio-aggregator.c β go read it, iykyk π
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_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_desc_free(9)gpiochip_fwd_register(9)gpiochip_fwd_create(9)
xoxo, this one is sourced from ./drivers/gpio, dated October 2026, and it's literally gpiochip_fwd_gpio_get(9) ππ§π«Ά
π¦ 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