Lines Matching refs:ngroups
56 unsigned int ngroups; member
74 unsigned int ngroups; member
97 return pctrl->ngroups; in zynqmp_pctrl_get_groups_count()
177 *num_groups = pctrl->funcs[selector].ngroups; in zynqmp_pmux_get_function_groups()
506 static int zynqmp_pinctrl_get_func_num_groups(u32 fid, unsigned int *ngroups) in zynqmp_pinctrl_get_func_num_groups() argument
519 *ngroups = payload[1]; in zynqmp_pinctrl_get_func_num_groups()
553 fgroups = devm_kzalloc(dev, sizeof(*fgroups) * func->ngroups, GFP_KERNEL); in zynqmp_pinctrl_prepare_func_groups()
557 for (index = 0; index < func->ngroups; index += NUM_GROUPS_PER_RESP) { in zynqmp_pinctrl_prepare_func_groups()
703 unsigned int ngroups) in zynqmp_pinctrl_prepare_group_pins() argument
752 ret = zynqmp_pinctrl_get_func_num_groups(i, &funcs[i].ngroups); in zynqmp_pinctrl_prepare_function_info()
756 pctrl->ngroups += funcs[i].ngroups; in zynqmp_pinctrl_prepare_function_info()
759 groups = devm_kzalloc(dev, sizeof(*groups) * pctrl->ngroups, GFP_KERNEL); in zynqmp_pinctrl_prepare_function_info()
770 ret = zynqmp_pinctrl_prepare_group_pins(dev, groups, pctrl->ngroups); in zynqmp_pinctrl_prepare_function_info()