STRUCT ABX500_PINRANGE(9)
πΈ NAME πΈ
Hey bestie, welcome to struct abx500_pinrange(9) from the Kernel API Manual π This little struct is literally here to map pin numbers to GPIO offsets. That's the whole assignment, and she ate.
β¨ SYNOPSIS β¨
struct abx500_pinrange {
unsigned int offset;
unsigned int npins;
int altfunc;
};
π«Ά Members π«Ά
Okay so the fields, one by one, no skipping:
offsetβ where you land in the GPIO local numberspace. Fun fact: itβs incidentally identical to the offset into the local pin numberspace, so same number energy on both sides β¨npinsβ how many pins get mapped from both of those offsets. Thatβs the count, periodt πaltfuncβ thealtfuncsetting used to enable GPIO on a pin in this range, and it may vary. So donβt assume itβs always the same vibe, iykyk π
π SEE ALSO π
Go look at the kernel file ./drivers/pinctrl/nomadik/pinctrl-abx500.h for the whole lore π¦
struct abx500_function(9)struct abx500_pingroup(9)struct alternate_functions(9)struct abx500_gpio_irq_cluster(9)struct abx500_pinctrl_soc_data(9)
Sign-off era: this page lives under ./drivers/pinctrl/nomadik, dated October 2026, and itβs struct abx500_pinrange(9) saying bye bestie π«Άπ
π¦ 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