Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/pinctrl/
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()
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,
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()
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()
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()
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()
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()
/linux-6.3-rc2/drivers/pinctrl/nomadik/
A Dpinctrl-abx500.c688 unsigned *reserved_maps, in abx500_dt_add_map_mux() argument
692 if (*num_maps == *reserved_maps) in abx500_dt_add_map_mux()
704 unsigned *reserved_maps, in abx500_dt_add_map_configs() argument
710 if (*num_maps == *reserved_maps) in abx500_dt_add_map_configs()
744 unsigned *reserved_maps, in abx500_dt_subnode_to_map() argument
767 ret = abx500_dt_add_map_mux(map, reserved_maps, in abx500_dt_subnode_to_map()
784 reserved_maps, in abx500_dt_subnode_to_map()
792 ret = abx500_dt_add_map_configs(map, reserved_maps, in abx500_dt_subnode_to_map()
807 unsigned reserved_maps; in abx500_dt_node_to_map() local
811 reserved_maps = 0; in abx500_dt_node_to_map()
[all …]
A Dpinctrl-nomadik.c1244 if (*num_maps == *reserved_maps) in nmk_dt_add_map_mux()
1256 unsigned *reserved_maps, in nmk_dt_add_map_configs() argument
1262 if (*num_maps == *reserved_maps) in nmk_dt_add_map_configs()
1397 unsigned *reserved_maps, in nmk_pinctrl_dt_subnode_to_map() argument
1416 reserved_maps, in nmk_pinctrl_dt_subnode_to_map()
1422 ret = nmk_dt_add_map_mux(map, reserved_maps, num_maps, in nmk_pinctrl_dt_subnode_to_map()
1443 reserved_maps, in nmk_pinctrl_dt_subnode_to_map()
1451 ret = nmk_dt_add_map_configs(map, reserved_maps, in nmk_pinctrl_dt_subnode_to_map()
1467 unsigned reserved_maps; in nmk_pinctrl_dt_node_to_map() local
1471 reserved_maps = 0; in nmk_pinctrl_dt_node_to_map()
[all …]
/linux-6.3-rc2/drivers/pinctrl/samsung/
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 …]
/linux-6.3-rc2/drivers/pinctrl/mediatek/
A Dpinctrl-paris.c425 unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument
430 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func()
452 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument
495 err = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, in mtk_pctrl_dt_subnode_to_map()
524 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map()
530 reserved_maps, in mtk_pctrl_dt_subnode_to_map()
554 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local
559 reserved_maps = 0; in mtk_pctrl_dt_node_to_map()
563 &reserved_maps, in mtk_pctrl_dt_node_to_map()
A Dpinctrl-mtk-common.c500 struct pinctrl_map **map, unsigned *reserved_maps, in mtk_pctrl_dt_node_to_map_func() argument
505 if (*num_maps == *reserved_maps) in mtk_pctrl_dt_node_to_map_func()
527 unsigned *reserved_maps, in mtk_pctrl_dt_subnode_to_map() argument
572 reserved_maps, num_maps, reserve); in mtk_pctrl_dt_subnode_to_map()
601 reserved_maps, num_maps); in mtk_pctrl_dt_subnode_to_map()
607 reserved_maps, num_maps, grp->name, in mtk_pctrl_dt_subnode_to_map()
627 unsigned reserved_maps; in mtk_pctrl_dt_node_to_map() local
632 reserved_maps = 0; in mtk_pctrl_dt_node_to_map()
636 &reserved_maps, num_maps); in mtk_pctrl_dt_node_to_map()
/linux-6.3-rc2/drivers/pinctrl/berlin/
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()
/linux-6.3-rc2/drivers/pinctrl/tegra/
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()
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()
/linux-6.3-rc2/drivers/pinctrl/stm32/
A Dpinctrl-stm32.c568 struct pinctrl_map **map, unsigned *reserved_maps, in stm32_pctrl_dt_node_to_map_func() argument
571 if (*num_maps == *reserved_maps) in stm32_pctrl_dt_node_to_map_func()
589 unsigned *reserved_maps, in stm32_pctrl_dt_subnode_to_map() argument
635 reserved_maps, num_maps, reserve); in stm32_pctrl_dt_subnode_to_map()
662 reserved_maps, num_maps); in stm32_pctrl_dt_subnode_to_map()
668 reserved_maps, num_maps, grp->name, in stm32_pctrl_dt_subnode_to_map()
686 unsigned reserved_maps; in stm32_pctrl_dt_node_to_map() local
691 reserved_maps = 0; in stm32_pctrl_dt_node_to_map()
695 &reserved_maps, num_maps); in stm32_pctrl_dt_node_to_map()
/linux-6.3-rc2/include/linux/pinctrl/
A Dpinconf-generic.h196 unsigned *reserved_maps, unsigned *num_maps,
/linux-6.3-rc2/drivers/pinctrl/renesas/
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()
/linux-6.3-rc2/drivers/pinctrl/sprd/
A Dpinctrl-sprd.c254 unsigned int reserved_maps = 0; in sprd_dt_node_to_map() local
301 ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, in sprd_dt_node_to_map()
308 &reserved_maps, num_maps, in sprd_dt_node_to_map()
326 &reserved_maps, num_maps, in sprd_dt_node_to_map()

Completed in 58 milliseconds