/openbmc/linux/drivers/pinctrl/ |
H A 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()
|
H A D | pinctrl-utils.h | 18 struct pinctrl_map **map, unsigned *reserved_maps, 21 struct pinctrl_map **map, unsigned *reserved_maps, 25 struct pinctrl_map **map, unsigned *reserved_maps,
|
H A 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()
|
H A D | pinctrl-k210.c | 763 unsigned int *reserved_maps, in k210_pinctrl_dt_subnode_to_map() argument 777 reserved_maps, num_maps, in k210_pinctrl_dt_subnode_to_map() 795 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in k210_pinctrl_dt_subnode_to_map() 816 ret = pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, in k210_pinctrl_dt_subnode_to_map() 827 reserved_maps, num_maps, group_name, in k210_pinctrl_dt_subnode_to_map() 851 unsigned int reserved_maps; in k210_pinctrl_dt_node_to_map() local 855 reserved_maps = 0; in k210_pinctrl_dt_node_to_map() 860 &reserved_maps, num_maps); in k210_pinctrl_dt_node_to_map() 866 &reserved_maps, num_maps); in k210_pinctrl_dt_node_to_map()
|
H A D | pinctrl-at91-pio4.c | 559 unsigned int *reserved_maps, in atmel_pctl_dt_subnode_to_map() argument 595 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in atmel_pctl_dt_subnode_to_map() 612 pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, num_maps, in atmel_pctl_dt_subnode_to_map() 617 reserved_maps, num_maps, group, in atmel_pctl_dt_subnode_to_map() 636 unsigned int reserved_maps; in atmel_pctl_dt_node_to_map() local 641 reserved_maps = 0; in atmel_pctl_dt_node_to_map() 649 &reserved_maps, num_maps); in atmel_pctl_dt_node_to_map() 653 &reserved_maps, num_maps); in atmel_pctl_dt_node_to_map()
|
H A D | pinctrl-apple-gpio.c | 107 unsigned reserved_maps; in apple_gpio_dt_node_to_map() local 116 reserved_maps = 0; in apple_gpio_dt_node_to_map() 130 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, num_maps, num_pins); in apple_gpio_dt_node_to_map() 150 &reserved_maps, num_maps, in apple_gpio_dt_node_to_map()
|
H 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()
|
/openbmc/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.c | 689 unsigned *reserved_maps, in abx500_dt_add_map_mux() argument 693 if (*num_maps == *reserved_maps) in abx500_dt_add_map_mux() 705 unsigned *reserved_maps, in abx500_dt_add_map_configs() argument 711 if (*num_maps == *reserved_maps) in abx500_dt_add_map_configs() 745 unsigned *reserved_maps, in abx500_dt_subnode_to_map() argument 768 ret = abx500_dt_add_map_mux(map, reserved_maps, in abx500_dt_subnode_to_map() 785 reserved_maps, in abx500_dt_subnode_to_map() 793 ret = abx500_dt_add_map_configs(map, reserved_maps, in abx500_dt_subnode_to_map() 808 unsigned reserved_maps; in abx500_dt_node_to_map() local 812 reserved_maps = 0; in abx500_dt_node_to_map() [all …]
|
H A D | pinctrl-nomadik.c | 1246 if (*num_maps == *reserved_maps) in nmk_dt_add_map_mux() 1258 unsigned *reserved_maps, in nmk_dt_add_map_configs() argument 1264 if (*num_maps == *reserved_maps) in nmk_dt_add_map_configs() 1399 unsigned *reserved_maps, in nmk_pinctrl_dt_subnode_to_map() argument 1418 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1424 ret = nmk_dt_add_map_mux(map, reserved_maps, num_maps, in nmk_pinctrl_dt_subnode_to_map() 1445 reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1453 ret = nmk_dt_add_map_configs(map, reserved_maps, in nmk_pinctrl_dt_subnode_to_map() 1469 unsigned reserved_maps; in nmk_pinctrl_dt_node_to_map() local 1473 reserved_maps = 0; in nmk_pinctrl_dt_node_to_map() [all …]
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H 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 …]
|
/openbmc/linux/drivers/pinctrl/berlin/ |
H 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()
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 411 unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument 416 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func() 438 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument 481 err = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in mtk_pctrl_dt_subnode_to_map() 510 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map() 516 reserved_maps, in mtk_pctrl_dt_subnode_to_map() 540 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local 545 reserved_maps = 0; in mtk_pctrl_dt_node_to_map() 549 &reserved_maps, in mtk_pctrl_dt_node_to_map()
|
H A D | pinctrl-mtk-common.c | 498 struct pinctrl_map **map, unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument 503 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func() 525 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument 570 reserved_maps, num_maps, reserve); in mtk_pctrl_dt_subnode_to_map() 599 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map() 605 reserved_maps, num_maps, grp->name, in mtk_pctrl_dt_subnode_to_map() 625 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local 630 reserved_maps = 0; in mtk_pctrl_dt_node_to_map() 634 &reserved_maps, num_maps); in mtk_pctrl_dt_node_to_map()
|
/openbmc/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra.c | 104 unsigned *reserved_maps, in tegra_pinctrl_dt_subnode_to_map() argument 154 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, in tegra_pinctrl_dt_subnode_to_map() 162 reserved_maps, num_maps, group, in tegra_pinctrl_dt_subnode_to_map() 170 reserved_maps, num_maps, group, in tegra_pinctrl_dt_subnode_to_map() 190 unsigned reserved_maps; in tegra_pinctrl_dt_node_to_map() local 194 reserved_maps = 0; in tegra_pinctrl_dt_node_to_map() 200 &reserved_maps, num_maps); in tegra_pinctrl_dt_node_to_map()
|
H A D | pinctrl-tegra-xusb.c | 156 unsigned int *reserved_maps, in tegra_xusb_padctl_parse_subnode() argument 203 err = pinctrl_utils_reserve_map(padctl->pinctrl, maps, reserved_maps, in tegra_xusb_padctl_parse_subnode() 211 reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode() 219 maps, reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode() 240 unsigned int reserved_maps = 0; in tegra_xusb_padctl_dt_node_to_map() local 249 &reserved_maps, in tegra_xusb_padctl_dt_node_to_map()
|
/openbmc/linux/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32cc.c | 216 unsigned int *reserved_maps, in s32_dt_group_node_to_map() argument 242 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in s32_dt_group_node_to_map() 247 ret = pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, num_maps, in s32_dt_group_node_to_map() 253 ret = pinctrl_utils_add_map_configs(pctldev, map, reserved_maps, in s32_dt_group_node_to_map() 270 unsigned int reserved_maps; in s32_dt_node_to_map() local 274 reserved_maps = 0; in s32_dt_node_to_map() 280 &reserved_maps, num_maps, in s32_dt_node_to_map()
|
/openbmc/linux/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 567 struct pinctrl_map **map, unsigned *reserved_maps, in stm32_pctrl_dt_node_to_map_func() argument 570 if (*num_maps == *reserved_maps) in stm32_pctrl_dt_node_to_map_func() 588 unsigned *reserved_maps, in stm32_pctrl_dt_subnode_to_map() argument 634 reserved_maps, num_maps, reserve); in stm32_pctrl_dt_subnode_to_map() 661 reserved_maps, num_maps); in stm32_pctrl_dt_subnode_to_map() 667 reserved_maps, num_maps, grp->name, in stm32_pctrl_dt_subnode_to_map() 685 unsigned reserved_maps; in stm32_pctrl_dt_node_to_map() local 690 reserved_maps = 0; in stm32_pctrl_dt_node_to_map() 694 &reserved_maps, num_maps); in stm32_pctrl_dt_node_to_map()
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | pinconf-generic.h | 196 unsigned *reserved_maps, unsigned *num_maps,
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 345 unsigned int reserved_maps = *num_maps; in rzn1_dt_node_to_map_one() local 372 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, num_maps, in rzn1_dt_node_to_map_one() 378 ret = pinctrl_utils_add_map_mux(pctldev, map, &reserved_maps, num_maps, in rzn1_dt_node_to_map_one() 386 &reserved_maps, num_maps, grp->name, in rzn1_dt_node_to_map_one()
|
/openbmc/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 253 unsigned int reserved_maps = 0; in sprd_dt_node_to_map() local 300 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, in sprd_dt_node_to_map() 307 &reserved_maps, num_maps, in sprd_dt_node_to_map() 325 &reserved_maps, num_maps, in sprd_dt_node_to_map()
|