intel_gpio_add_pin_ranges(9)
πΈ NAME πΈ
intel_gpio_add_pin_ranges(9) β straight out of the Kernel API Manual β is the function that does exactly this: add GPIO pin ranges for all groups in all communities. Periodt. β¨
π SYNOPSIS π
int intel_gpio_add_pin_ranges (struct gpio_chip *gc );
π¦ ARGUMENTS π¦
gcβ the GPIO chip structure. That's the whole vibe. π«Ά
π₯ DESCRIPTION π₯
Okay so here's the tea: this function iterates over all communities and all groups, and it adds the respective GPIO pin ranges. Why? So the GPIO library will correctly map a GPIO offset to a pin number. No cap. π
π RETURN π
It returns 0, or a negative error code if the range can't be added. Simple as that. π
π SEE ALSO π
- Kernel file
./drivers/pinctrl/intel/pinctrl-intel.c enum (anonymous)(9)enum (anonymous)(9)intel_gpio_to_pin(9)intel_pin_to_gpio(9)
sign-off: this page came from source/version ./drivers/pinctrl/intel and is dated October 2026. 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