STRUCT INTEL_PINCTRL(9)
β¨ 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 thedevicestructure π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 chipirqnumber π
π§ SEE ALSO π§
- Kernel file
./drivers/pinctrl/intel/pinctrl-intel.hstructintel_pingroup(9), structintel_function(9), structintel_padgroup(9),enum (anonymous)(9), structintel_community(9),PIN_GROUP(9), structintel_pinctrl_soc_data(9), structintel_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
- 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