Lines Matching refs:new_map
294 struct pinctrl_map *new_map; in at91_dt_node_to_map() local
311 new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), in at91_dt_node_to_map()
313 if (!new_map) in at91_dt_node_to_map()
316 *map = new_map; in at91_dt_node_to_map()
322 devm_kfree(pctldev->dev, new_map); in at91_dt_node_to_map()
325 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in at91_dt_node_to_map()
326 new_map[0].data.mux.function = parent->name; in at91_dt_node_to_map()
327 new_map[0].data.mux.group = np->name; in at91_dt_node_to_map()
331 new_map++; in at91_dt_node_to_map()
333 new_map[i].type = PIN_MAP_TYPE_CONFIGS_PIN; in at91_dt_node_to_map()
334 new_map[i].data.configs.group_or_pin = in at91_dt_node_to_map()
336 new_map[i].data.configs.configs = &grp->pins_conf[i].conf; in at91_dt_node_to_map()
337 new_map[i].data.configs.num_configs = 1; in at91_dt_node_to_map()