STRUCT IMX_PIN_MMIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct imx_pin_mmio β€” MMIO pin configurations, bestie. Yep, this is the struct imx_pin_mmio(9) entry in the Kernel API Manual, and she’s literally here to describe pin configs with main-character struct energy. Slay. βœ¨πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

struct imx_pin_mmio {
    unsigned int mux_mode;
    u16 input_reg;
    unsigned int input_val;
    unsigned long config;
 };

Look at her. Four fields, zero mystery, all dressed up in C. πŸ‘‘βœ¨

πŸŽ€ Members πŸŽ€

Okay so the original Members list gives you the tea on mux_mode, input_reg, and input_val; config is right there in the struct above, and the page doesn’t give it a separate Members blurb, so I’m not inventing lore. Ngl, respect. 🫢

  • mux_mode β€” the mux mode for this pin. That’s it, that’s the vibe.
  • input_reg β€” the select input register offset for this pin, if any; it’s 0 if no select input setting is needed. So 0 means no select input setting needed, periodt. πŸ’€
  • input_val β€” the select input value for this pin. Iconic, concise, no notes. πŸŽ€

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/pinctrl/freescale/pinctrl-imx.h β€” struct imx_pin_scu(9), struct imx_pin(9), struct imx_pin_reg(9). Go read those next, bestie; the pin lore continues. πŸ“šβœ¨

Mwah πŸ’‹ β€” this page’s source/version is ./drivers/pinctrl/freescale, dated October 2026, and it’s the struct imx_pin_mmio(9) entry. Bye bestie, go be iconic with your pins! 🫢🌈

πŸ“¦ where this page comes from