Lines Matching refs:new_map
814 struct pinctrl_map *new_map; in st_pctl_dt_node_to_map() local
825 new_map = devm_kcalloc(dev, map_num, sizeof(*new_map), GFP_KERNEL); in st_pctl_dt_node_to_map()
826 if (!new_map) in st_pctl_dt_node_to_map()
831 devm_kfree(dev, new_map); in st_pctl_dt_node_to_map()
835 *map = new_map; in st_pctl_dt_node_to_map()
837 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in st_pctl_dt_node_to_map()
838 new_map[0].data.mux.function = parent->name; in st_pctl_dt_node_to_map()
839 new_map[0].data.mux.group = np->name; in st_pctl_dt_node_to_map()
843 new_map++; in st_pctl_dt_node_to_map()
845 new_map[i].type = PIN_MAP_TYPE_CONFIGS_PIN; in st_pctl_dt_node_to_map()
846 new_map[i].data.configs.group_or_pin = in st_pctl_dt_node_to_map()
848 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()
849 new_map[i].data.configs.num_configs = 1; in st_pctl_dt_node_to_map()