gpio_generic_write_reg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is gpio_generic_write_reg(9) from the Kernel API Manual, and highkey it does exactly one iconic thing: write a register using the underlying callback. the way that it just writes and dips? obsessed. no cap. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

the signature, exactly as written, because we do not mess with the source:

void gpio_generic_write_reg (struct gpio_generic_chip *chip , void
       __iomem *reg , unsigned long val );

it returns void, so there's literally nothing coming back β€” just the write happening and you moving on. periodt πŸ’…

🌸 ARGUMENTS 🌸

  • chip β€” the generic GPIO chip to use. like, the chip you're working through, main character energy.
  • reg β€” the register to write to. this is the spot getting the new value.
  • val β€” the new value to write. the value sliding into reg, no cap.

🫢 SEE ALSO 🫢

the full reference crew, everyone accounted for:

iykyk β€” that's the SEE ALSO lineup, bestie. slay. πŸ’–


xoxo, source ./include/linux Β· dated October 2026 Β· this page is gpio_generic_write_reg(9) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from