Home
last modified time | relevance | path

Searched refs:reserved_maps (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-utils.c19 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 Dpinctrl-utils.h18 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 Dpinconf-generic.c296 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 Dpinctrl-k210.c763 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 Dpinctrl-at91-pio4.c559 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 Dpinctrl-apple-gpio.c107 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 Dpinctrl-tb10x.c544 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 Dpinctrl-abx500.c689 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 Dpinctrl-nomadik.c1246 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 Dpinctrl-samsung.c82 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 Dberlin.c58 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 Dpinctrl-paris.c411 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 Dpinctrl-mtk-common.c498 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 Dpinctrl-tegra.c104 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 Dpinctrl-tegra-xusb.c156 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 Dpinctrl-s32cc.c216 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 Dpinctrl-stm32.c567 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 Dpinconf-generic.h196 unsigned *reserved_maps, unsigned *num_maps,
/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzn1.c345 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 Dpinctrl-sprd.c253 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()