STRUCT INTEL_PINCTRL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct intel_pinctrl(9) ✨

okay so this is the Kernel API Manual page for struct intel_pinctrl, and bestie, it's the Intel pinctrl private structure β€” iykyk, this is the main character struct that holds the whole show together πŸ’…


🌸 NAME 🌸

struct intel_pinctrl β€” the Intel pinctrl private structure, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct intel_pinctrl {
    struct device *dev;
    raw_spinlock_t lock;
    struct pinctrl_desc pctldesc;
    struct pinctrl_dev *pctldev;
    struct gpio_chip chip;
    const struct intel_pinctrl_soc_data *soc;
    struct intel_community *communities;
    size_t ncommunities;
    struct intel_pinctrl_context context;
    int irq;
};

literally the whole squad right there ✨


πŸ’– Members πŸ’–

okay so let's meet the members one by one, they all ate fr fr:

  • dev β€” pointer to the device structure πŸ‘‘
  • lock β€” the lock that serializes register access, keeping everything from chaotic overlap πŸ’€
  • pctldesc β€” the pin controller description 🌸
  • pctldev β€” pointer to the pin controller device ⭐
  • chip β€” the GPIO chip chilling inside this pin controller πŸŽ€
  • soc β€” SoC/PCH specific pin configuration data, the personalized lil setup πŸ¦‹
  • communities β€” all the communities in this pin controller, the whole group chat 🌈
  • ncommunities β€” the number of communities in this pin controller, aka the headcount πŸ”₯
  • context β€” configuration saved over system sleep, nap-time memory 😴
  • irq β€” the pinctrl/GPIO chip irq number πŸ™ˆ

🧚 SEE ALSO 🧚

  • Kernel file ./drivers/pinctrl/intel/pinctrl-intel.h struct intel_pingroup(9), struct intel_function(9), struct intel_padgroup(9), enum (anonymous)(9), struct intel_community(9), PIN_GROUP(9), struct intel_pinctrl_soc_data(9), struct intel_pinctrl_context(9)

like, go read those too, they're all iconic in their own way πŸ’œ


ngl bestie, if you're poking at Intel pinctrl internals, this struct is your bestie now β€” treat her register access with respect (that's what lock is for πŸ’…)

and that's the tea! this page lives at ./drivers/pinctrl/intel, dated October 2026, and it's struct intel_pinctrl(9) β€” slay, periodt πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from