STRUCT GPIO_PIN_RANGE(9)
π
struct gpio_pin_range β Kernel API Manual bestie edition π
okay so this is the struct gpio_pin_range(9) page from the Kernel API Manual, and ngl itβs a tiny struct with main character energy. itβs literally the struct for a pin range controlled by a gpio chip. iconic. πβ¨
β¨ NAME β¨
struct gpio_pin_range β pin range controlled by a gpio chip. periodt. π
πΈ SYNOPSIS πΈ
struct gpio_pin_range {
struct list_head node;
struct pinctrl_dev *pctldev;
struct pinctrl_gpio_range range;
};
π Members π
nodeβ thelisthook for maintaining the set of pin ranges. itβs used internally, so itβs an inside-the-kernel kind of thing, fr fr. π«Άpctldevβ astruct pinctrl_dev *: the pinctrl device that handles the corresponding pins. think of it as the pin-control bestie in charge. β¨rangeβ astruct pinctrl_gpio_range: the actual range of pins controlled by a gpio controller. the real deal, no cap. π₯
π¦ SEE ALSO π¦
go give these their flowers too, bestie:
- the kernel file
./include/linux/gpio/driver.h struct gpio_irq_chip(9)struct gpio_chip(9)for_each_hwgpio_in_range(9)for_each_hwgpio(9)for_each_requested_gpio_in_range(9)gpiochip_add_data(9)
and thatβs the vibe check, bestie π β source ./include/linux/gpio, date October 2026, page struct gpio_pin_range(9). mwah π
π¦ 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