Lines Matching refs:grp
877 const struct st_pctl_group *grp; in st_pctl_dt_node_to_map() local
882 grp = st_pctl_find_group_by_name(info, np->name); in st_pctl_dt_node_to_map()
883 if (!grp) { in st_pctl_dt_node_to_map()
889 map_num = grp->npins + 1; in st_pctl_dt_node_to_map()
910 for (i = 0; i < grp->npins; i++) { in st_pctl_dt_node_to_map()
913 pin_get_name(pctldev, grp->pins[i]); in st_pctl_dt_node_to_map()
914 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()
918 (*map)->data.mux.function, grp->name, map_num); in st_pctl_dt_node_to_map()
1229 struct st_pctl_group *grp, struct st_pinctrl *info, int idx) in st_pctl_dt_parse_groups() argument
1255 grp->npins = npins; in st_pctl_dt_parse_groups()
1256 grp->name = np->name; in st_pctl_dt_parse_groups()
1257 grp->pins = devm_kzalloc(info->dev, npins * sizeof(u32), GFP_KERNEL); in st_pctl_dt_parse_groups()
1258 grp->pin_conf = devm_kzalloc(info->dev, in st_pctl_dt_parse_groups()
1261 if (!grp->pins || !grp->pin_conf) in st_pctl_dt_parse_groups()
1270 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()
1277 grp->pins[i] = conf->pin; in st_pctl_dt_parse_groups()
1305 struct st_pctl_group *grp; in st_pctl_parse_functions() local
1323 grp = &info->groups[*grp_index]; in st_pctl_parse_functions()
1325 ret = st_pctl_dt_parse_groups(child, grp, info, i++); in st_pctl_parse_functions()