gpiochip_fwd...get_multiple(9)
β¨ gpiochip_fwd...get_multiple(9) β¨
okay so bestie, this is a page straight out of the Kernel API Manual and it's literally about gpiochip_fwd_gpio_get_multiple β like the function that grabs values for multiple GPIO forwarder lines at once. no cap, it's giving efficiency queen energy ππ
πΈ NAME πΈ
gpiochip_fwd_gpio_get_multiple β Get values for multiple GPIO forwarder lines π¦
π SYNOPSIS π
int gpiochip_fwd_gpio_get_multiple (struct gpiochip_fwd *fwd , unsigned
long *mask , unsigned long *bits );
literally that's the whole signature, keep it exactly like that bestie, don't touch it π
π ARGUMENTS π
fwdβ the GPIO forwarder itself. that's your main character right there π«Άmaskβ a bit mask array, one bit per line, andBITS_PER_LONGbits per word define which lines are gonna get read. so this is the "who's invited to the party" list πbitsβ a bit value array, one bit per line, withBITS_PER_LONGbits per word, and it will contain the read values for the lines thatmaskspecified. so this is where the actual answers land π β¨
β RETURN β
0 on success, or a negative errno on failure. slay when it's zero, π when it's negative.
π SEE ALSO π
Kernel file ./drivers/gpio/gpio-aggregator.c β yes, go look at it, iykyk π₯
and the whole friend group:
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_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)
like, the whole squad is linked, periodt ππ
and that's the page bestie π§ββοΈ this one lives in ./drivers/gpio and it's dated October 2026 β iconic, timestamped, and officially signed off by the kernel girlies πΈπ«Άπ
π¦ 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