Searched refs:map_num (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx-scmi.c | 64 int map_num, size, pin_size, pin_id, num_pins; in pinctrl_scmi_imx_dt_node_to_map() local 93 map_num = num_pins; in pinctrl_scmi_imx_dt_node_to_map() 95 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in pinctrl_scmi_imx_dt_node_to_map() 101 *num_maps = map_num; in pinctrl_scmi_imx_dt_node_to_map()
|
H A D | pinctrl-imx.c | 68 int map_num = 1; in imx_dt_node_to_map() local 82 map_num += grp->grp.npins; 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()
|
H A 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()
|
/linux/drivers/ras/amd/atl/ |
H A D | map.c | 146 u8 map_num; in get_dram_offset() local 159 map_num = ctx->map.num - 1; in get_dram_offset() 163 if (df_indirect_read_instance(ctx->node_id, 7, 0x140 + (4 * map_num), in get_dram_offset() 169 if (df_indirect_read_instance(ctx->node_id, 0, 0x1B4 + (4 * map_num), in get_dram_offset()
|
/linux/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-ma35.c | 207 int map_num = 1; in ma35_pinctrl_dt_node_to_map_func() local 220 map_num += grp->npins; in ma35_pinctrl_dt_node_to_map_func() 221 new_map = kcalloc(map_num, sizeof(*new_map), GFP_KERNEL); in ma35_pinctrl_dt_node_to_map_func() 226 *num_maps = map_num; in ma35_pinctrl_dt_node_to_map_func() 245 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in ma35_pinctrl_dt_node_to_map_func()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-st.c | 816 int map_num, i; in st_pctl_dt_node_to_map() local 824 map_num = grp->npins + 1; in st_pctl_dt_node_to_map() 825 new_map = devm_kcalloc(dev, map_num, sizeof(*new_map), GFP_KERNEL); in st_pctl_dt_node_to_map() 836 *num_maps = map_num; in st_pctl_dt_node_to_map() 852 (*map)->data.mux.function, grp->name, map_num); in st_pctl_dt_node_to_map()
|
H A D | pinctrl-at91.c | 296 int map_num = 1; in at91_dt_node_to_map() local 310 map_num += grp->npins; in at91_dt_node_to_map() 311 new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), in at91_dt_node_to_map() 317 *num_maps = map_num; in at91_dt_node_to_map() 341 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in at91_dt_node_to_map()
|
H A D | pinctrl-rockchip.c | 351 int map_num = 1; in rockchip_dt_node_to_map() local 364 map_num += grp->npins; in rockchip_dt_node_to_map() 366 new_map = kcalloc(map_num, sizeof(*new_map), GFP_KERNEL); in rockchip_dt_node_to_map() 371 *num_maps = map_num; in rockchip_dt_node_to_map() 395 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in rockchip_dt_node_to_map()
|