Lines Matching refs:new_map
64 struct pinctrl_map *new_map; in mxs_dt_node_to_map() local
92 new_map = kcalloc(new_num, sizeof(*new_map), GFP_KERNEL); in mxs_dt_node_to_map()
93 if (!new_map) in mxs_dt_node_to_map()
97 new_map[i].type = PIN_MAP_TYPE_MUX_GROUP; in mxs_dt_node_to_map()
98 new_map[i].data.mux.function = np->name; in mxs_dt_node_to_map()
107 new_map[i].data.mux.group = group; in mxs_dt_node_to_map()
118 new_map[i].type = PIN_MAP_TYPE_CONFIGS_GROUP; in mxs_dt_node_to_map()
119 new_map[i].data.configs.group_or_pin = purecfg ? np->name : in mxs_dt_node_to_map()
121 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map()
122 new_map[i].data.configs.num_configs = 1; in mxs_dt_node_to_map()
125 *map = new_map; in mxs_dt_node_to_map()
134 kfree(new_map); in mxs_dt_node_to_map()