Lines Matching refs:new_map
63 struct pinctrl_map *new_map; in imx_dt_node_to_map() local
89 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx_dt_node_to_map()
91 if (!new_map) in imx_dt_node_to_map()
94 *map = new_map; in imx_dt_node_to_map()
100 kfree(new_map); in imx_dt_node_to_map()
103 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in imx_dt_node_to_map()
104 new_map[0].data.mux.function = parent->name; in imx_dt_node_to_map()
105 new_map[0].data.mux.group = np->name; in imx_dt_node_to_map()
109 new_map++; in imx_dt_node_to_map()
121 new_map[j].type = PIN_MAP_TYPE_CONFIGS_PIN; in imx_dt_node_to_map()
122 new_map[j].data.configs.group_or_pin = in imx_dt_node_to_map()
130 new_map[j].data.configs.configs = in imx_dt_node_to_map()
132 new_map[j].data.configs.num_configs = 2; in imx_dt_node_to_map()
134 new_map[j].data.configs.configs = in imx_dt_node_to_map()
136 new_map[j].data.configs.num_configs = 1; in imx_dt_node_to_map()