Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/
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()
Dpinctrl-utils.h13 struct pinctrl_map **map, unsigned *reserved_maps,
16 struct pinctrl_map **map, unsigned *reserved_maps,
20 struct pinctrl_map **map, unsigned *reserved_maps,
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()
Dpinctrl-k210.c761 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()
Dpinctrl-at91-pio4.c555 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()
Dpinctrl-apple-gpio.c104 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()
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()
/linux-6.1.9/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c686 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 …]
Dpinctrl-nomadik.c1238 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 …]
/linux-6.1.9/drivers/pinctrl/samsung/
Dpinctrl-samsung.c78 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 …]
/linux-6.1.9/drivers/pinctrl/mediatek/
Dpinctrl-paris.c420 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()
Dpinctrl-mtk-common.c485 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-6.1.9/drivers/pinctrl/berlin/
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()
/linux-6.1.9/drivers/pinctrl/tegra/
Dpinctrl-tegra.c102 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()
Dpinctrl-tegra-xusb.c153 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-6.1.9/drivers/pinctrl/stm32/
Dpinctrl-stm32.c566 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-6.1.9/include/linux/pinctrl/
Dpinconf-generic.h191 unsigned *reserved_maps, unsigned *num_maps,
/linux-6.1.9/drivers/pinctrl/renesas/
Dpinctrl-rzn1.c341 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-6.1.9/drivers/pinctrl/sprd/
Dpinctrl-sprd.c251 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()