Home
last modified time | relevance | path

Searched refs:map_num (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/pinctrl/freescale/
Dpinctrl-imx1-core.c227 int map_num = 1; in imx1_dt_node_to_map() local
242 map_num++; in imx1_dt_node_to_map()
244 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx1_dt_node_to_map()
250 *num_maps = map_num; in imx1_dt_node_to_map()
275 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx1_dt_node_to_map()
Dpinctrl-imx.c66 int map_num = 1; in imx_dt_node_to_map() local
80 map_num += grp->num_pins; in imx_dt_node_to_map()
85 map_num++; in imx_dt_node_to_map()
89 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx_dt_node_to_map()
95 *num_maps = map_num; in imx_dt_node_to_map()
143 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx_dt_node_to_map()
/linux-5.19.10/drivers/pinctrl/
Dpinctrl-st.c820 int map_num, i; in st_pctl_dt_node_to_map() local
828 map_num = grp->npins + 1; in st_pctl_dt_node_to_map()
829 new_map = devm_kcalloc(dev, map_num, sizeof(*new_map), GFP_KERNEL); in st_pctl_dt_node_to_map()
840 *num_maps = map_num; in st_pctl_dt_node_to_map()
856 (*map)->data.mux.function, grp->name, map_num); in st_pctl_dt_node_to_map()
Dpinctrl-at91.c279 int map_num = 1; in at91_dt_node_to_map() local
293 map_num += grp->npins; in at91_dt_node_to_map()
294 new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), in at91_dt_node_to_map()
300 *num_maps = map_num; in at91_dt_node_to_map()
324 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in at91_dt_node_to_map()
Dpinctrl-rockchip.c315 int map_num = 1; in rockchip_dt_node_to_map() local
328 map_num += grp->npins; in rockchip_dt_node_to_map()
330 new_map = kcalloc(map_num, sizeof(*new_map), GFP_KERNEL); in rockchip_dt_node_to_map()
335 *num_maps = map_num; in rockchip_dt_node_to_map()
359 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in rockchip_dt_node_to_map()