Lines Matching refs:ngroups
59 unsigned int ngroups; member
77 unsigned int ngroups; member
100 return pctrl->ngroups; in zynqmp_pctrl_get_groups_count()
180 *num_groups = pctrl->funcs[selector].ngroups; in zynqmp_pmux_get_function_groups()
518 static int zynqmp_pinctrl_get_func_num_groups(u32 fid, unsigned int *ngroups) in zynqmp_pinctrl_get_func_num_groups() argument
531 *ngroups = payload[1]; in zynqmp_pinctrl_get_func_num_groups()
565 fgroups = devm_kzalloc(dev, sizeof(*fgroups) * func->ngroups, GFP_KERNEL); in zynqmp_pinctrl_prepare_func_groups()
569 for (index = 0; index < func->ngroups; index += NUM_GROUPS_PER_RESP) { in zynqmp_pinctrl_prepare_func_groups()
715 unsigned int ngroups) in zynqmp_pinctrl_prepare_group_pins() argument
764 ret = zynqmp_pinctrl_get_func_num_groups(i, &funcs[i].ngroups); in zynqmp_pinctrl_prepare_function_info()
768 pctrl->ngroups += funcs[i].ngroups; in zynqmp_pinctrl_prepare_function_info()
771 groups = devm_kzalloc(dev, sizeof(*groups) * pctrl->ngroups, GFP_KERNEL); in zynqmp_pinctrl_prepare_function_info()
782 ret = zynqmp_pinctrl_prepare_group_pins(dev, groups, pctrl->ngroups); in zynqmp_pinctrl_prepare_function_info()