Lines Matching refs:new_map
205 struct pinctrl_map *new_map; in ma35_pinctrl_dt_node_to_map_func() local
221 new_map = kcalloc(map_num, sizeof(*new_map), GFP_KERNEL); in ma35_pinctrl_dt_node_to_map_func()
222 if (!new_map) in ma35_pinctrl_dt_node_to_map_func()
225 *map = new_map; in ma35_pinctrl_dt_node_to_map_func()
232 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in ma35_pinctrl_dt_node_to_map_func()
233 new_map[0].data.mux.function = parent->name; in ma35_pinctrl_dt_node_to_map_func()
234 new_map[0].data.mux.group = np->name; in ma35_pinctrl_dt_node_to_map_func()
237 new_map++; in ma35_pinctrl_dt_node_to_map_func()
239 new_map[i].type = PIN_MAP_TYPE_CONFIGS_PIN; in ma35_pinctrl_dt_node_to_map_func()
240 new_map[i].data.configs.group_or_pin = pin_get_name(pctldev, grp->pins[i]); in ma35_pinctrl_dt_node_to_map_func()
241 new_map[i].data.configs.configs = grp->settings[i].configs; in ma35_pinctrl_dt_node_to_map_func()
242 new_map[i].data.configs.num_configs = grp->settings[i].nconfigs; in ma35_pinctrl_dt_node_to_map_func()