Lines Matching refs:new_map
277 struct pinctrl_map *new_map; in at91_dt_node_to_map() local
294 new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), in at91_dt_node_to_map()
296 if (!new_map) in at91_dt_node_to_map()
299 *map = new_map; in at91_dt_node_to_map()
305 devm_kfree(pctldev->dev, new_map); in at91_dt_node_to_map()
308 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in at91_dt_node_to_map()
309 new_map[0].data.mux.function = parent->name; in at91_dt_node_to_map()
310 new_map[0].data.mux.group = np->name; in at91_dt_node_to_map()
314 new_map++; in at91_dt_node_to_map()
316 new_map[i].type = PIN_MAP_TYPE_CONFIGS_PIN; in at91_dt_node_to_map()
317 new_map[i].data.configs.group_or_pin = in at91_dt_node_to_map()
319 new_map[i].data.configs.configs = &grp->pins_conf[i].conf; in at91_dt_node_to_map()
320 new_map[i].data.configs.num_configs = 1; in at91_dt_node_to_map()