Searched refs:map_num (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 230 int map_num = 1; in imx1_dt_node_to_map() local 245 map_num++; in imx1_dt_node_to_map() 247 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx1_dt_node_to_map() 253 *num_maps = map_num; in imx1_dt_node_to_map() 278 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx1_dt_node_to_map()
|
D | pinctrl-imx.c | 68 int map_num = 1; in imx_dt_node_to_map() local 82 map_num += grp->num_pins; in imx_dt_node_to_map() 87 map_num++; in imx_dt_node_to_map() 91 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx_dt_node_to_map() 97 *num_maps = map_num; in imx_dt_node_to_map() 145 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx_dt_node_to_map()
|
/Linux-v6.6/drivers/pinctrl/ |
D | pinctrl-st.c | 824 int map_num, i; in st_pctl_dt_node_to_map() local 832 map_num = grp->npins + 1; in st_pctl_dt_node_to_map() 833 new_map = devm_kcalloc(dev, map_num, sizeof(*new_map), GFP_KERNEL); in st_pctl_dt_node_to_map() 844 *num_maps = map_num; in st_pctl_dt_node_to_map() 860 (*map)->data.mux.function, grp->name, map_num); in st_pctl_dt_node_to_map()
|
D | pinctrl-at91.c | 297 int map_num = 1; in at91_dt_node_to_map() local 311 map_num += grp->npins; in at91_dt_node_to_map() 312 new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), in at91_dt_node_to_map() 318 *num_maps = map_num; in at91_dt_node_to_map() 342 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in at91_dt_node_to_map()
|
D | pinctrl-rockchip.c | 330 int map_num = 1; in rockchip_dt_node_to_map() local 343 map_num += grp->npins; in rockchip_dt_node_to_map() 345 new_map = kcalloc(map_num, sizeof(*new_map), GFP_KERNEL); in rockchip_dt_node_to_map() 350 *num_maps = map_num; in rockchip_dt_node_to_map() 374 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in rockchip_dt_node_to_map()
|