samsung_gpiolib_to_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– samsung_gpiolib_to_irq(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this is the samsung_gpiolib_to_irq(9) page, and it’s literally about converting a gpio pin to an irq number. slay ✨


✨ NAME ✨

samsung_gpiolib_to_irq β€” convert gpio pin to irq number πŸ’…

🌸 SYNOPSIS 🌸

int samsung_gpiolib_to_irq (struct gpio_chip *chip , unsigned int offset
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” the gpio chip that the pin belongs to. iconic.
  • offset β€” the offset of the pin in the chip. noted πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

This helper returns the irq number calculated from chip->irq_base and the provided offset. fr fr, that’s the whole vibe β€” no cap 😌

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./arch/arm/mach-s3c/gpio-core.h β€” struct samsung_gpio_pm(9), struct samsung_gpio_chip(9). go read, bestie 😭

okay bye bestie πŸ’– β€” this page is sourced from ./arch/arm/mach-s3c, dated October 2026, and it’s the samsung_gpiolib_to_irq(9) page. mwah 😘

πŸ“¦ where this page comes from