/linux-5.19.10/drivers/pinctrl/ |
D | pinctrl-utils.c | 32 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_reserve_map() argument 35 unsigned old_num = *reserved_maps; in pinctrl_utils_reserve_map() 51 *reserved_maps = new_num; in pinctrl_utils_reserve_map() 57 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_add_map_mux() argument 61 if (WARN_ON(*num_maps == *reserved_maps)) in pinctrl_utils_add_map_mux() 74 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_add_map_configs() argument 81 if (WARN_ON(*num_maps == *reserved_maps)) in pinctrl_utils_add_map_configs()
|
D | pinctrl-utils.h | 26 struct pinctrl_map **map, unsigned *reserved_maps, 29 struct pinctrl_map **map, unsigned *reserved_maps, 33 struct pinctrl_map **map, unsigned *reserved_maps,
|
D | pinconf-generic.c | 296 unsigned *reserved_maps, unsigned *num_maps, in pinconf_generic_dt_subnode_to_map() argument 348 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, in pinconf_generic_dt_subnode_to_map() 356 reserved_maps, num_maps, group, in pinconf_generic_dt_subnode_to_map() 364 reserved_maps, num_maps, group, configs, in pinconf_generic_dt_subnode_to_map() 382 unsigned reserved_maps; in pinconf_generic_dt_node_to_map() local 386 reserved_maps = 0; in pinconf_generic_dt_node_to_map() 391 &reserved_maps, num_maps, type); in pinconf_generic_dt_node_to_map() 397 &reserved_maps, num_maps, type); in pinconf_generic_dt_node_to_map()
|
D | pinctrl-k210.c | 761 unsigned int *reserved_maps, in k210_pinctrl_dt_subnode_to_map() argument 775 reserved_maps, num_maps, in k210_pinctrl_dt_subnode_to_map() 793 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in k210_pinctrl_dt_subnode_to_map() 814 ret = pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, in k210_pinctrl_dt_subnode_to_map() 825 reserved_maps, num_maps, group_name, in k210_pinctrl_dt_subnode_to_map() 849 unsigned int reserved_maps; in k210_pinctrl_dt_node_to_map() local 853 reserved_maps = 0; in k210_pinctrl_dt_node_to_map() 858 &reserved_maps, num_maps); in k210_pinctrl_dt_node_to_map() 864 &reserved_maps, num_maps); in k210_pinctrl_dt_node_to_map()
|
D | pinctrl-at91-pio4.c | 560 unsigned int *reserved_maps, in atmel_pctl_dt_subnode_to_map() argument 596 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in atmel_pctl_dt_subnode_to_map() 613 pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, num_maps, in atmel_pctl_dt_subnode_to_map() 618 reserved_maps, num_maps, group, in atmel_pctl_dt_subnode_to_map() 637 unsigned int reserved_maps; in atmel_pctl_dt_node_to_map() local 642 reserved_maps = 0; in atmel_pctl_dt_node_to_map() 650 &reserved_maps, num_maps); in atmel_pctl_dt_node_to_map() 654 &reserved_maps, num_maps); in atmel_pctl_dt_node_to_map()
|
D | pinctrl-apple-gpio.c | 104 unsigned reserved_maps; in apple_gpio_dt_node_to_map() local 113 reserved_maps = 0; in apple_gpio_dt_node_to_map() 127 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, num_maps, num_pins); in apple_gpio_dt_node_to_map() 147 &reserved_maps, num_maps, in apple_gpio_dt_node_to_map()
|
D | pinctrl-tb10x.c | 544 unsigned reserved_maps = 0; in tb10x_dt_node_to_map() local 556 ret = pinctrl_utils_reserve_map(pctl, map, &reserved_maps, in tb10x_dt_node_to_map() 561 ret = pinctrl_utils_add_map_mux(pctl, map, &reserved_maps, in tb10x_dt_node_to_map()
|
/linux-5.19.10/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 686 unsigned *reserved_maps, in abx500_dt_add_map_mux() argument 690 if (*num_maps == *reserved_maps) in abx500_dt_add_map_mux() 702 unsigned *reserved_maps, in abx500_dt_add_map_configs() argument 708 if (*num_maps == *reserved_maps) in abx500_dt_add_map_configs() 742 unsigned *reserved_maps, in abx500_dt_subnode_to_map() argument 759 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, in abx500_dt_subnode_to_map() 765 ret = abx500_dt_add_map_mux(map, reserved_maps, in abx500_dt_subnode_to_map() 782 reserved_maps, in abx500_dt_subnode_to_map() 790 ret = abx500_dt_add_map_configs(map, reserved_maps, in abx500_dt_subnode_to_map() 805 unsigned reserved_maps; in abx500_dt_node_to_map() local [all …]
|
D | pinctrl-nomadik.c | 1233 static int nmk_dt_add_map_mux(struct pinctrl_map **map, unsigned *reserved_maps, in nmk_dt_add_map_mux() argument 1237 if (*num_maps == *reserved_maps) in nmk_dt_add_map_mux() 1249 unsigned *reserved_maps, in nmk_dt_add_map_configs() argument 1255 if (*num_maps == *reserved_maps) in nmk_dt_add_map_configs() 1390 unsigned *reserved_maps, in nmk_pinctrl_dt_subnode_to_map() argument 1409 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1415 ret = nmk_dt_add_map_mux(map, reserved_maps, num_maps, in nmk_pinctrl_dt_subnode_to_map() 1436 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1444 ret = nmk_dt_add_map_configs(map, reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1460 unsigned reserved_maps; in nmk_pinctrl_dt_node_to_map() local [all …]
|
/linux-5.19.10/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 80 unsigned *reserved_maps, unsigned *num_maps, in reserve_map() argument 83 unsigned old_num = *reserved_maps; in reserve_map() 97 *reserved_maps = new_num; in reserve_map() 102 static int add_map_mux(struct pinctrl_map **map, unsigned *reserved_maps, in add_map_mux() argument 106 if (WARN_ON(*num_maps == *reserved_maps)) in add_map_mux() 118 unsigned *reserved_maps, unsigned *num_maps, in add_map_configs() argument 124 if (WARN_ON(*num_maps == *reserved_maps)) in add_map_configs() 178 unsigned *reserved_maps, in samsung_dt_subnode_to_map() argument 221 ret = reserve_map(dev, map, reserved_maps, num_maps, reserve); in samsung_dt_subnode_to_map() 227 ret = add_map_mux(map, reserved_maps, in samsung_dt_subnode_to_map() [all …]
|
/linux-5.19.10/drivers/pinctrl/mediatek/ |
D | pinctrl-paris.c | 420 unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument 425 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func() 447 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument 490 err = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in mtk_pctrl_dt_subnode_to_map() 519 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map() 525 reserved_maps, in mtk_pctrl_dt_subnode_to_map() 549 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local 554 reserved_maps = 0; in mtk_pctrl_dt_node_to_map() 558 &reserved_maps, in mtk_pctrl_dt_node_to_map()
|
D | pinctrl-mtk-common.c | 485 struct pinctrl_map **map, unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument 490 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func() 512 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument 557 reserved_maps, num_maps, reserve); in mtk_pctrl_dt_subnode_to_map() 586 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map() 592 reserved_maps, num_maps, grp->name, in mtk_pctrl_dt_subnode_to_map() 612 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local 617 reserved_maps = 0; in mtk_pctrl_dt_node_to_map() 621 &reserved_maps, num_maps); in mtk_pctrl_dt_node_to_map()
|
/linux-5.19.10/drivers/pinctrl/berlin/ |
D | berlin.c | 58 unsigned reserved_maps = 0; in berlin_pinctrl_dt_node_to_map() local 78 ret = pinctrl_utils_reserve_map(pctrl_dev, map, &reserved_maps, in berlin_pinctrl_dt_node_to_map() 86 ret = pinctrl_utils_add_map_mux(pctrl_dev, map, &reserved_maps, in berlin_pinctrl_dt_node_to_map()
|
/linux-5.19.10/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 102 unsigned *reserved_maps, in tegra_pinctrl_dt_subnode_to_map() argument 152 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, in tegra_pinctrl_dt_subnode_to_map() 160 reserved_maps, num_maps, group, in tegra_pinctrl_dt_subnode_to_map() 168 reserved_maps, num_maps, group, in tegra_pinctrl_dt_subnode_to_map() 188 unsigned reserved_maps; in tegra_pinctrl_dt_node_to_map() local 192 reserved_maps = 0; in tegra_pinctrl_dt_node_to_map() 198 &reserved_maps, num_maps); in tegra_pinctrl_dt_node_to_map()
|
D | pinctrl-tegra-xusb.c | 153 unsigned int *reserved_maps, in tegra_xusb_padctl_parse_subnode() argument 200 err = pinctrl_utils_reserve_map(padctl->pinctrl, maps, reserved_maps, in tegra_xusb_padctl_parse_subnode() 208 reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode() 216 maps, reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode() 237 unsigned int reserved_maps = 0; in tegra_xusb_padctl_dt_node_to_map() local 246 &reserved_maps, in tegra_xusb_padctl_dt_node_to_map()
|
/linux-5.19.10/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 566 struct pinctrl_map **map, unsigned *reserved_maps, in stm32_pctrl_dt_node_to_map_func() argument 569 if (*num_maps == *reserved_maps) in stm32_pctrl_dt_node_to_map_func() 587 unsigned *reserved_maps, in stm32_pctrl_dt_subnode_to_map() argument 633 reserved_maps, num_maps, reserve); in stm32_pctrl_dt_subnode_to_map() 660 reserved_maps, num_maps); in stm32_pctrl_dt_subnode_to_map() 666 reserved_maps, num_maps, grp->name, in stm32_pctrl_dt_subnode_to_map() 684 unsigned reserved_maps; in stm32_pctrl_dt_node_to_map() local 689 reserved_maps = 0; in stm32_pctrl_dt_node_to_map() 693 &reserved_maps, num_maps); in stm32_pctrl_dt_node_to_map()
|
/linux-5.19.10/include/linux/pinctrl/ |
D | pinconf-generic.h | 191 unsigned *reserved_maps, unsigned *num_maps,
|
/linux-5.19.10/drivers/pinctrl/renesas/ |
D | pinctrl-rzn1.c | 341 unsigned int reserved_maps = *num_maps; in rzn1_dt_node_to_map_one() local 368 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, num_maps, in rzn1_dt_node_to_map_one() 374 ret = pinctrl_utils_add_map_mux(pctldev, map, &reserved_maps, num_maps, in rzn1_dt_node_to_map_one() 382 &reserved_maps, num_maps, grp->name, in rzn1_dt_node_to_map_one()
|
/linux-5.19.10/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 251 unsigned int reserved_maps = 0; in sprd_dt_node_to_map() local 298 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, in sprd_dt_node_to_map() 305 &reserved_maps, num_maps, in sprd_dt_node_to_map() 323 &reserved_maps, num_maps, in sprd_dt_node_to_map()
|