Lines Matching refs:new_map
120 struct pinctrl_map *new_map; in imx_dt_node_to_map() local
141 new_map = kmalloc(sizeof(struct pinctrl_map) * map_num, GFP_KERNEL); in imx_dt_node_to_map()
142 if (!new_map) in imx_dt_node_to_map()
145 *map = new_map; in imx_dt_node_to_map()
151 kfree(new_map); in imx_dt_node_to_map()
154 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in imx_dt_node_to_map()
155 new_map[0].data.mux.function = parent->name; in imx_dt_node_to_map()
156 new_map[0].data.mux.group = np->name; in imx_dt_node_to_map()
160 new_map++; in imx_dt_node_to_map()
163 new_map[j].type = PIN_MAP_TYPE_CONFIGS_PIN; in imx_dt_node_to_map()
164 new_map[j].data.configs.group_or_pin = in imx_dt_node_to_map()
166 new_map[j].data.configs.configs = &grp->configs[i]; in imx_dt_node_to_map()
167 new_map[j].data.configs.num_configs = 1; in imx_dt_node_to_map()