Lines Matching refs:new_map
65 struct pinctrl_map *new_map; in imx_dt_node_to_map() local
91 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx_dt_node_to_map()
93 if (!new_map) in imx_dt_node_to_map()
96 *map = new_map; in imx_dt_node_to_map()
102 kfree(new_map); in imx_dt_node_to_map()
105 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in imx_dt_node_to_map()
106 new_map[0].data.mux.function = parent->name; in imx_dt_node_to_map()
107 new_map[0].data.mux.group = np->name; in imx_dt_node_to_map()
111 new_map++; in imx_dt_node_to_map()
123 new_map[j].type = PIN_MAP_TYPE_CONFIGS_PIN; in imx_dt_node_to_map()
124 new_map[j].data.configs.group_or_pin = in imx_dt_node_to_map()
132 new_map[j].data.configs.configs = in imx_dt_node_to_map()
134 new_map[j].data.configs.num_configs = 2; in imx_dt_node_to_map()
136 new_map[j].data.configs.configs = in imx_dt_node_to_map()
138 new_map[j].data.configs.num_configs = 1; in imx_dt_node_to_map()