Lines Matching refs:grp
867 const struct st_pctl_group *grp; in st_pctl_dt_node_to_map() local
872 grp = st_pctl_find_group_by_name(info, np->name); in st_pctl_dt_node_to_map()
873 if (!grp) { in st_pctl_dt_node_to_map()
879 map_num = grp->npins + 1; in st_pctl_dt_node_to_map()
900 for (i = 0; i < grp->npins; i++) { in st_pctl_dt_node_to_map()
903 pin_get_name(pctldev, grp->pins[i]); in st_pctl_dt_node_to_map()
904 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()
908 (*map)->data.mux.function, grp->name, map_num); in st_pctl_dt_node_to_map()
1219 struct st_pctl_group *grp, struct st_pinctrl *info, int idx) in st_pctl_dt_parse_groups() argument
1245 grp->npins = npins; in st_pctl_dt_parse_groups()
1246 grp->name = np->name; in st_pctl_dt_parse_groups()
1247 grp->pins = devm_kzalloc(info->dev, npins * sizeof(u32), GFP_KERNEL); in st_pctl_dt_parse_groups()
1248 grp->pin_conf = devm_kzalloc(info->dev, in st_pctl_dt_parse_groups()
1251 if (!grp->pins || !grp->pin_conf) in st_pctl_dt_parse_groups()
1260 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()
1267 grp->pins[i] = conf->pin; in st_pctl_dt_parse_groups()
1295 struct st_pctl_group *grp; in st_pctl_parse_functions() local
1313 grp = &info->groups[*grp_index]; in st_pctl_parse_functions()
1315 ret = st_pctl_dt_parse_groups(child, grp, info, i++); in st_pctl_parse_functions()