/drivers/pinctrl/ |
D | pinctrl-utils.c | 19 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_reserve_map() argument 22 unsigned old_num = *reserved_maps; in pinctrl_utils_reserve_map() 38 *reserved_maps = new_num; in pinctrl_utils_reserve_map() 44 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_add_map_mux() argument 48 if (WARN_ON(*num_maps == *reserved_maps)) in pinctrl_utils_add_map_mux() 61 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_add_map_configs() argument 68 if (WARN_ON(*num_maps == *reserved_maps)) in pinctrl_utils_add_map_configs()
|
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-utils.h | 13 struct pinctrl_map **map, unsigned *reserved_maps, 16 struct pinctrl_map **map, unsigned *reserved_maps, 20 struct pinctrl_map **map, unsigned *reserved_maps,
|
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 | 555 unsigned int *reserved_maps, in atmel_pctl_dt_subnode_to_map() argument 591 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in atmel_pctl_dt_subnode_to_map() 608 pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, num_maps, in atmel_pctl_dt_subnode_to_map() 613 reserved_maps, num_maps, group, in atmel_pctl_dt_subnode_to_map() 632 unsigned int reserved_maps; in atmel_pctl_dt_node_to_map() local 637 reserved_maps = 0; in atmel_pctl_dt_node_to_map() 645 &reserved_maps, num_maps); in atmel_pctl_dt_node_to_map() 649 &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()
|
/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 | 1238 static int nmk_dt_add_map_mux(struct pinctrl_map **map, unsigned *reserved_maps, in nmk_dt_add_map_mux() argument 1242 if (*num_maps == *reserved_maps) in nmk_dt_add_map_mux() 1254 unsigned *reserved_maps, in nmk_dt_add_map_configs() argument 1260 if (*num_maps == *reserved_maps) in nmk_dt_add_map_configs() 1395 unsigned *reserved_maps, in nmk_pinctrl_dt_subnode_to_map() argument 1414 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1420 ret = nmk_dt_add_map_mux(map, reserved_maps, num_maps, in nmk_pinctrl_dt_subnode_to_map() 1441 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1449 ret = nmk_dt_add_map_configs(map, reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1465 unsigned reserved_maps; in nmk_pinctrl_dt_node_to_map() local [all …]
|
/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 78 unsigned *reserved_maps, unsigned *num_maps, in reserve_map() argument 81 unsigned old_num = *reserved_maps; in reserve_map() 95 *reserved_maps = new_num; in reserve_map() 100 static int add_map_mux(struct pinctrl_map **map, unsigned *reserved_maps, in add_map_mux() argument 104 if (WARN_ON(*num_maps == *reserved_maps)) in add_map_mux() 116 unsigned *reserved_maps, unsigned *num_maps, in add_map_configs() argument 122 if (WARN_ON(*num_maps == *reserved_maps)) in add_map_configs() 176 unsigned *reserved_maps, in samsung_dt_subnode_to_map() argument 219 ret = reserve_map(dev, map, reserved_maps, num_maps, reserve); in samsung_dt_subnode_to_map() 225 ret = add_map_mux(map, reserved_maps, in samsung_dt_subnode_to_map() [all …]
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|