/linux/drivers/pinctrl/ |
A 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()
|
A D | pinconf-generic.c | 294 unsigned *reserved_maps, unsigned *num_maps, in pinconf_generic_dt_subnode_to_map() argument 346 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, in pinconf_generic_dt_subnode_to_map() 354 reserved_maps, num_maps, group, in pinconf_generic_dt_subnode_to_map() 362 reserved_maps, num_maps, group, configs, in pinconf_generic_dt_subnode_to_map() 380 unsigned reserved_maps; in pinconf_generic_dt_node_to_map() local 384 reserved_maps = 0; in pinconf_generic_dt_node_to_map() 389 &reserved_maps, num_maps, type); in pinconf_generic_dt_node_to_map() 395 &reserved_maps, num_maps, type); in pinconf_generic_dt_node_to_map()
|
A 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,
|
A 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()
|
A 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()
|
A D | pinctrl-apple-gpio.c | 99 unsigned reserved_maps; in apple_gpio_dt_node_to_map() local 108 reserved_maps = 0; in apple_gpio_dt_node_to_map() 122 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, num_maps, in apple_gpio_dt_node_to_map() 144 &reserved_maps, num_maps, in apple_gpio_dt_node_to_map()
|
A 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/drivers/pinctrl/nomadik/ |
A 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 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 809 reserved_maps = 0; in abx500_dt_node_to_map() [all …]
|
A D | pinctrl-nomadik.c | 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() 1434 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1442 ret = nmk_dt_add_map_configs(map, reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1458 unsigned reserved_maps; in nmk_pinctrl_dt_node_to_map() local 1462 reserved_maps = 0; in nmk_pinctrl_dt_node_to_map() [all …]
|
/linux/drivers/pinctrl/samsung/ |
A D | pinctrl-samsung.c | 82 unsigned old_num = *reserved_maps; in reserve_map() 96 *reserved_maps = new_num; in reserve_map() 105 if (WARN_ON(*num_maps == *reserved_maps)) in add_map_mux() 117 unsigned *reserved_maps, unsigned *num_maps, in add_map_configs() argument 123 if (WARN_ON(*num_maps == *reserved_maps)) in add_map_configs() 177 unsigned *reserved_maps, in samsung_dt_subnode_to_map() argument 226 ret = add_map_mux(map, reserved_maps, in samsung_dt_subnode_to_map() 254 unsigned reserved_maps; in samsung_dt_node_to_map() local 260 reserved_maps = 0; in samsung_dt_node_to_map() 267 &reserved_maps, in samsung_dt_node_to_map() [all …]
|
/linux/drivers/pinctrl/mediatek/ |
A D | pinctrl-paris.c | 364 unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument 369 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func() 391 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument 434 err = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in mtk_pctrl_dt_subnode_to_map() 463 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map() 469 reserved_maps, in mtk_pctrl_dt_subnode_to_map() 493 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local 498 reserved_maps = 0; in mtk_pctrl_dt_node_to_map() 502 &reserved_maps, in mtk_pctrl_dt_node_to_map()
|
A D | pinctrl-mtk-common.c | 465 struct pinctrl_map **map, unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument 470 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func() 492 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument 537 reserved_maps, num_maps, reserve); in mtk_pctrl_dt_subnode_to_map() 566 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map() 572 reserved_maps, num_maps, grp->name, in mtk_pctrl_dt_subnode_to_map() 592 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local 597 reserved_maps = 0; in mtk_pctrl_dt_node_to_map() 601 &reserved_maps, num_maps); in mtk_pctrl_dt_node_to_map()
|
/linux/drivers/pinctrl/tegra/ |
A 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()
|
A 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/drivers/pinctrl/berlin/ |
A 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/drivers/pinctrl/stm32/ |
A D | pinctrl-stm32.c | 542 struct pinctrl_map **map, unsigned *reserved_maps, in stm32_pctrl_dt_node_to_map_func() argument 545 if (*num_maps == *reserved_maps) in stm32_pctrl_dt_node_to_map_func() 563 unsigned *reserved_maps, in stm32_pctrl_dt_subnode_to_map() argument 609 reserved_maps, num_maps, reserve); in stm32_pctrl_dt_subnode_to_map() 636 reserved_maps, num_maps); in stm32_pctrl_dt_subnode_to_map() 642 reserved_maps, num_maps, grp->name, in stm32_pctrl_dt_subnode_to_map() 660 unsigned reserved_maps; in stm32_pctrl_dt_node_to_map() local 665 reserved_maps = 0; in stm32_pctrl_dt_node_to_map() 669 &reserved_maps, num_maps); in stm32_pctrl_dt_node_to_map()
|
/linux/drivers/pinctrl/renesas/ |
A 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/include/linux/pinctrl/ |
A D | pinconf-generic.h | 188 unsigned *reserved_maps, unsigned *num_maps,
|
/linux/drivers/pinctrl/sprd/ |
A 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()
|