STRUCT ABX500_PINRANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 β€” the altfunc setting 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