Lines Matching refs:new_map
72 struct pinctrl_map *new_map; in mxs_dt_node_to_map() local
100 new_map = kzalloc(sizeof(*new_map) * new_num, GFP_KERNEL); in mxs_dt_node_to_map()
101 if (!new_map) in mxs_dt_node_to_map()
105 new_map[i].type = PIN_MAP_TYPE_MUX_GROUP; in mxs_dt_node_to_map()
106 new_map[i].data.mux.function = np->name; in mxs_dt_node_to_map()
115 new_map[i].data.mux.group = group; in mxs_dt_node_to_map()
126 new_map[i].type = PIN_MAP_TYPE_CONFIGS_GROUP; in mxs_dt_node_to_map()
127 new_map[i].data.configs.group_or_pin = purecfg ? np->name : in mxs_dt_node_to_map()
129 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map()
130 new_map[i].data.configs.num_configs = 1; in mxs_dt_node_to_map()
133 *map = new_map; in mxs_dt_node_to_map()
142 kfree(new_map); in mxs_dt_node_to_map()