STRUCT PINCTRL_MAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pinctrl_maps(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes we're doing kernel internals today and yes you're gonna slay it. this page is literally all about struct pinctrl_maps, which is, and i quote the universe here, a list item containing part of the mapping table. that's the whole vibe. it's one lil node in a bigger list, holding a chunk of the mapping table like it's carrying snacks for the group chat πŸ“


✨ NAME ✨

struct pinctrl_maps β€” a list item containing part of the mapping table. that's it, that's the girl. one list item, part of the mapping table, iconic behavior only πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pinctrl_maps {
    struct list_head node;
    const struct pinctrl_map *maps;
    unsigned int num_maps;
 };

no cap, that's the whole struct. three fields, all business. look at her. so compact. so mysterious. she ate πŸ’…


πŸŽ€ Members πŸŽ€

  • node β€” the mapping table list node. it's the little handle that links this entry into the bigger list, like the string on a friendship bracelet 🫢
  • maps β€” array of mapping table entries. this is the actual payload, the array where all the mapping table entries live ✨
  • num_maps β€” the number of entries in maps. literally how many things are in that array. count 'em, bestie πŸ”’

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pinctrl/core.h
  • struct pinctrl_dev(9)
  • struct pinctrl(9)
  • struct pinctrl_state(9)
  • struct pinctrl_setting_mux(9)
  • struct pinctrl_setting_configs(9)
  • struct pinctrl_setting(9)
  • struct pin_desc(9)
  • struct group_desc(9)

like, go read all of these too. the whole pinctrl extended universe, fr fr. iykyk 🌸


lowkey mandatory reading if you're poking around drivers/pinctrl β€” the friends are all connected, bestie 🧚

and that's the page!! πŸ’œ this lil gem lives under ./drivers/pinctrl, dated October 2026, and it's page struct pinctrl_maps(9) of the Kernel API Manual β€” so go forth, map your pins, and remember: every mapping table is just a bunch of list items holding hands πŸ˜­πŸŽ€

πŸ“¦ where this page comes from