Home
last modified time | relevance | path

Searched refs:group_names (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtmips.c39 const char **group_names; member
58 return (group >= p->group_count) ? NULL : p->group_names[group]; in mtmips_get_group_name()
108 *groups = &p->group_names[p->func[func]->groups[0]]; in mtmips_pmx_group_get_groups()
110 *groups = p->group_names; in mtmips_pmx_group_get_groups()
206 p->group_names = devm_kcalloc(p->dev, p->group_count, in mtmips_pinctrl_index()
208 if (!p->group_names) in mtmips_pinctrl_index()
212 p->group_names[i] = p->groups[i].name; in mtmips_pinctrl_index()
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx.c584 const char **group_names; in imx_pinctrl_parse_functions() local
602 group_names = devm_kcalloc(ipctl->dev, func->ngroups, in imx_pinctrl_parse_functions()
604 if (!group_names) in imx_pinctrl_parse_functions()
608 group_names[i++] = child->name; in imx_pinctrl_parse_functions()
609 func->groups = group_names; in imx_pinctrl_parse_functions()