STRUCT PINCTRL_DT_MAP(9)
β¨ 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 forstruct pinctrl'sdt_mapsfield. 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 π
- Kernel file
./drivers/pinctrl/devicetree.cβ go read it, iykyk π pinctrl_get_list_and_count(9)pinctrl_count_index_with_args(9)pinctrl_copy_args(9)pinctrl_parse_index_with_args(9)
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
- 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