STRUCT PINCTRL_DT_MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct pinctrl_dt_map(9) ✨

okay bestie, buckle up πŸ’– this is a page straight out of the Kernel API Manual and it's literally all about one lil struct, so let's get into it 🫢


🌸 NAME 🌸

struct pinctrl_dt_map β€” a mapping table chunk that got parsed from the device tree, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pinctrl_dt_map {
    struct list_head node;
    struct pinctrl_dev *pctldev;
    struct pinctrl_map *map;
    unsigned int num_maps;
 };

like, that's the whole vibe right there ✨


πŸŽ€ Members πŸŽ€

  • node β€” the list node for struct pinctrl's dt_maps field. she's linked in, she belongs somewhere πŸ₯Ή
  • pctldev β€” the pin controller that allocated this struct, and will free it too. so like, it made it, it cleans it up β€” main character energy, honestly πŸ‘‘
  • map β€” the mapping table entries themselves. the whole point of the party πŸŽ‰
  • num_maps β€” how many mapping table entries there are. the headcount, if you will πŸ”’

πŸ’œ SEE ALSO πŸ’œ


ok so real talk β€” those sibling functions above are your besties for this journey, so don't skip them fr fr 🧚

and that's it bestie, you ate that πŸ’… this page lives in ./drivers/pinctrl, dated October 2026, and yeah, struct pinctrl_dt_map(9) really said "I'm the moment" β€” periodt πŸ”₯🌈⭐

πŸ“¦ where this page comes from