Lines Matching refs:new_map
228 struct pinctrl_map *new_map; in imx1_dt_node_to_map() local
247 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx1_dt_node_to_map()
249 if (!new_map) in imx1_dt_node_to_map()
252 *map = new_map; in imx1_dt_node_to_map()
258 kfree(new_map); in imx1_dt_node_to_map()
261 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in imx1_dt_node_to_map()
262 new_map[0].data.mux.function = parent->name; in imx1_dt_node_to_map()
263 new_map[0].data.mux.group = np->name; in imx1_dt_node_to_map()
267 new_map++; in imx1_dt_node_to_map()
269 new_map[j].type = PIN_MAP_TYPE_CONFIGS_PIN; in imx1_dt_node_to_map()
270 new_map[j].data.configs.group_or_pin = in imx1_dt_node_to_map()
272 new_map[j].data.configs.configs = &grp->pins[i].config; in imx1_dt_node_to_map()
273 new_map[j].data.configs.num_configs = 1; in imx1_dt_node_to_map()