pcs_dt_node_to_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the pcs_dt_node_to_map(9) page β€” it’s giving Kernel API Manual realness. pcs_dt_node_to_map allocates and parses pinctrl maps. that’s the whole slay. πŸ’…


✨ SYNOPSIS ✨

the signature is literally this, no cap:

       int pcs_dt_node_to_map (struct pinctrl_dev *pctldev , struct device_node
       *np_config , struct pinctrl_map **map , unsigned *num_maps );

πŸŽ€ ARGUMENTS πŸŽ€

four besties walk into a function, and they are:

  • pctldev β€” the pinctrl instance. main character energy, honestly. πŸ‘‘
  • np_config β€” the device tree pinmux entry. yes bestie, the DT one. 🌸
  • map β€” array of map entries. it’s an array, it has entries, periodt. πŸ’…
  • num_maps β€” number of maps. literally the count. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

if you’re in your reading era, the Kernel file is ./drivers/pinctrl/pinctrl-single.c, and these icons are all linked in the same little universe:


mwah πŸ’‹ your kernel bestie signing off β€” this page lives under source/version ./drivers/pinctrl and is stamped October 2026. bye bestie, go parse some maps! πŸŽ€

πŸ“¦ where this page comes from