STRUCT SPEAR_PMX(9)
β¨ NAME β¨
Okay bestie, welcome to the struct spear_pmx(9) page from the Kernel API Manual π β this is all about struct spear_pmx, aka the SPEAr pinctrl mux. Slay.
π¦ SYNOPSIS π¦
struct spear_pmx {
struct device *dev;
struct pinctrl_dev *pctl;
struct spear_pinctrl_machdata *machdata;
struct regmap *regmap;
};
π Members π
Hereβs the cast of this iconic little struct, no cap:
devβ pointer tostruct devofplatform_deviceregistered πpctlβ pointer tostruct pinctrl_devβ¨machdataβ pointer to SoC or machine specific structure π¦regmapβ regmap of pinmux controller π
π SEE ALSO π
Kernel file ./drivers/pinctrl/spear/pinctrl-spear.h and its besties: struct spear_pmx_mode(9), struct spear_muxreg(9), struct spear_modemux(9), struct spear_pingroup(9), struct spear_function(9), struct spear_pinctrl_machdata(9) π«Ά
Thatβs the whole vibe fr fr π β signing off with source/version ./drivers/pinctrl/spear and date October 2026 πβ¨
π¦ 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