gpio_generic_read_reg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the Kernel API Manual page for gpio_generic_read_reg(9) β€” and it does exactly what it says: gpio_generic_read_reg β€” Read a register using the underlying callback. periodt πŸ’…


✨ SYNOPSIS ✨

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

🫢 ARGUMENTS 🫢

  • chip β€” the Generic GPIO chip to use. that's the main character you're working with πŸŽ€
  • reg β€” the register to read. yes bestie, this one right here ✨

🌸 RETURN 🌸

value read from register. that's the tea, that's the whole return value πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹


alright bestie, that's the whole page β€” source/version: ./include/linux/gpio, date: October 2026. bye and slay πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from