pcs_dt_node_to_map(9)
π 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:
struct pcs_func_vals(9)struct pcs_conf_vals(9)struct pcs_conf_type(9)struct pcs_function(9)struct pcs_gpiofunc_range(9)struct pcs_data(9)struct pcs_soc_data(9)struct pcs_device(9)pcs_add_pin(9)pcs_allocate_pin_table(9)pcs_add_function(9)pcs_get_pin_by_offset(9)pcs_parse_one_pinctrl_entry(9)pcs_irq_free(9)pcs_free_resources(9)struct pcs_interrupt(9)pcs_irq_set(9)pcs_irq_mask(9)pcs_irq_unmask(9)pcs_irq_set_wake(9)pcs_irq_handle(9)pcs_irq_handler(9)pcs_irq_chain_handler(9)pcs_irq_init_chained_handler(9)pcs_quirk_missing_pinctrl_cells(9)
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
- 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