Lines Matching refs:new_map
67 struct pinctrl_map *new_map; in mxs_dt_node_to_map() local
95 new_map = kcalloc(new_num, sizeof(*new_map), GFP_KERNEL); in mxs_dt_node_to_map()
96 if (!new_map) in mxs_dt_node_to_map()
100 new_map[i].type = PIN_MAP_TYPE_MUX_GROUP; in mxs_dt_node_to_map()
101 new_map[i].data.mux.function = np->name; in mxs_dt_node_to_map()
110 new_map[i].data.mux.group = group; in mxs_dt_node_to_map()
121 new_map[i].type = PIN_MAP_TYPE_CONFIGS_GROUP; in mxs_dt_node_to_map()
122 new_map[i].data.configs.group_or_pin = purecfg ? np->name : in mxs_dt_node_to_map()
124 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map()
125 new_map[i].data.configs.num_configs = 1; in mxs_dt_node_to_map()
128 *map = new_map; in mxs_dt_node_to_map()
137 kfree(new_map); in mxs_dt_node_to_map()