STRUCT SPEAR_PMX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 to struct dev of platform_device registered πŸ‘‘
  • pctl β€” pointer to struct 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