Home
last modified time | relevance | path

Searched refs:num_groups (Results 1 – 25 of 111) sorted by relevance

12345

/drivers/pinctrl/
Dpinctrl-artpec6.c77 const unsigned int num_groups; member
523 .num_groups = ARRAY_SIZE(gpiogrps),
528 .num_groups = ARRAY_SIZE(cpuclkoutgrps),
533 .num_groups = ARRAY_SIZE(udlclkoutgrps),
538 .num_groups = ARRAY_SIZE(i2c1grps),
543 .num_groups = ARRAY_SIZE(i2c2grps),
548 .num_groups = ARRAY_SIZE(i2c3grps),
553 .num_groups = ARRAY_SIZE(i2s0grps),
558 .num_groups = ARRAY_SIZE(i2s1grps),
563 .num_groups = ARRAY_SIZE(i2srefclkgrps),
[all …]
Dpinctrl-gemini.c2035 const unsigned int num_groups; member
2071 .num_groups = ARRAY_SIZE(idegrps),
2076 .num_groups = ARRAY_SIZE(rtcgrps),
2081 .num_groups = ARRAY_SIZE(powergrps),
2087 .num_groups = ARRAY_SIZE(cirgrps),
2092 .num_groups = ARRAY_SIZE(systemgrps),
2097 .num_groups = ARRAY_SIZE(vcontrolgrps),
2102 .num_groups = ARRAY_SIZE(icegrps),
2107 .num_groups = ARRAY_SIZE(idegrps),
2112 .num_groups = ARRAY_SIZE(satagrps),
[all …]
Dpinmux.c345 unsigned num_groups; in pinmux_map_to_setting() local
363 &groups, &num_groups); in pinmux_map_to_setting()
369 if (!num_groups) { in pinmux_map_to_setting()
377 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting()
554 unsigned num_groups; in pinmux_functions_show() local
559 &groups, &num_groups); in pinmux_functions_show()
568 for (i = 0; i < num_groups; i++) in pinmux_functions_show()
729 unsigned * const num_groups) in pinmux_generic_get_function_groups() argument
741 *num_groups = function->num_group_names; in pinmux_generic_get_function_groups()
777 const unsigned int num_groups, in pinmux_generic_add_function() argument
[all …]
Dpinctrl-u300.c885 const unsigned num_groups; member
900 .num_groups = ARRAY_SIZE(powergrps),
906 .num_groups = ARRAY_SIZE(emif0grps),
912 .num_groups = ARRAY_SIZE(emif1grps),
918 .num_groups = ARRAY_SIZE(uart0grps),
924 .num_groups = ARRAY_SIZE(mmc0grps),
930 .num_groups = ARRAY_SIZE(spi0grps),
988 unsigned * const num_groups) in u300_pmx_get_groups() argument
991 *num_groups = u300_pmx_functions[selector].num_groups; in u300_pmx_get_groups()
Dpinmux.h146 unsigned * const num_groups);
154 unsigned const num_groups,
Dpinctrl-lantiq.c201 unsigned * const num_groups) in ltq_pmx_get_groups() argument
206 *num_groups = info->funcs[func].num_groups; in ltq_pmx_get_groups()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c656 for (i = ft->num_groups - 1; i >= 0; i--) { in mlx5e_destroy_groups()
661 ft->num_groups = 0; in mlx5e_destroy_groups()
955 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_ttc_table_groups()
956 if (IS_ERR(ft->g[ft->num_groups])) in mlx5e_create_ttc_table_groups()
958 ft->num_groups++; in mlx5e_create_ttc_table_groups()
965 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_ttc_table_groups()
966 if (IS_ERR(ft->g[ft->num_groups])) in mlx5e_create_ttc_table_groups()
968 ft->num_groups++; in mlx5e_create_ttc_table_groups()
975 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in mlx5e_create_ttc_table_groups()
976 if (IS_ERR(ft->g[ft->num_groups])) in mlx5e_create_ttc_table_groups()
[all …]
Den_arfs.c266 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
267 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups()
269 ft->num_groups++; in arfs_create_groups()
275 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups()
276 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups()
278 ft->num_groups++; in arfs_create_groups()
284 err = PTR_ERR(ft->g[ft->num_groups]); in arfs_create_groups()
285 ft->g[ft->num_groups] = NULL; in arfs_create_groups()
302 ft->num_groups = 0; in arfs_create_table()
/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c33 unsigned num_groups; member
52 unsigned num_groups; member
86 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid()
99 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_name()
275 unsigned * const num_groups) in mvebu_pinmux_get_groups() argument
280 *num_groups = pctl->functions[fid].num_groups; in mvebu_pinmux_get_groups()
375 return pctl->num_groups; in mvebu_pinctrl_get_groups_count()
474 while (funcs->num_groups) { in _add_function()
477 funcs->num_groups++; in _add_function()
485 funcs->num_groups = 1; in _add_function()
[all …]
/drivers/pinctrl/bcm/
Dpinctrl-ns.c29 unsigned int num_groups; member
114 const unsigned int num_groups; member
131 .num_groups = ARRAY_SIZE(_groups), \
153 return ns_pinctrl->num_groups; in ns_pinctrl_get_groups_count()
207 unsigned * const num_groups) in ns_pinctrl_get_function_groups() argument
212 *num_groups = ns_pinctrl->functions[selector].num_groups; in ns_pinctrl_get_function_groups()
329 ns_pinctrl->num_groups++; in ns_pinctrl_probe()
Dpinctrl-nsp-mux.c96 const unsigned int num_groups; member
121 unsigned int num_groups; member
295 .num_groups = ARRAY_SIZE(func ## _grps), \
322 return pinctrl->num_groups; in nsp_get_groups_count()
378 unsigned * const num_groups) in nsp_get_function_groups() argument
383 *num_groups = pinctrl->functions[selector].num_groups; in nsp_get_function_groups()
399 for (i = 0; i < pinctrl->num_groups; i++) { in nsp_pinmux_set()
422 if (i == pinctrl->num_groups) in nsp_pinmux_set()
463 if (grp_select >= pinctrl->num_groups || in nsp_pinmux_enable()
609 pinctrl->num_groups = ARRAY_SIZE(nsp_pin_groups); in nsp_pinmux_probe()
Dpinctrl-cygnus-mux.c90 unsigned num_groups; member
114 unsigned num_groups; member
653 .num_groups = ARRAY_SIZE(func ## _grps), \
709 return pinctrl->num_groups; in cygnus_get_groups_count()
765 unsigned * const num_groups) in cygnus_get_function_groups() argument
770 *num_groups = pinctrl->functions[selector].num_groups; in cygnus_get_function_groups()
984 pinctrl->num_groups = ARRAY_SIZE(cygnus_pin_groups); in cygnus_pinmux_probe()
Dpinctrl-ns2-mux.c102 const unsigned int num_groups; member
128 unsigned int num_groups; member
484 .num_groups = ARRAY_SIZE(func ## _grps), \
505 return pinctrl->num_groups; in ns2_get_groups_count()
561 unsigned int * const num_groups) in ns2_get_function_groups() argument
566 *num_groups = pinctrl->functions[selector].num_groups; in ns2_get_function_groups()
643 if (grp_select >= pinctrl->num_groups || in ns2_pinmux_enable()
1080 pinctrl->num_groups = ARRAY_SIZE(ns2_pin_groups); in ns2_pinmux_probe()
/drivers/pinctrl/meson/
Dpinctrl-meson.h45 unsigned int num_groups; member
114 unsigned int num_groups; member
141 .num_groups = ARRAY_SIZE(fn ## _groups), \
174 unsigned * const num_groups);
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c242 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups()
243 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups()
245 ft->num_groups++; in accel_fs_tcp_create_groups()
252 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups()
253 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups()
255 ft->num_groups++; in accel_fs_tcp_create_groups()
261 err = PTR_ERR(ft->g[ft->num_groups]); in accel_fs_tcp_create_groups()
262 ft->g[ft->num_groups] = NULL; in accel_fs_tcp_create_groups()
275 ft->num_groups = 0; in accel_fs_tcp_create_table()
/drivers/firmware/psci/
Dpsci_checker.c152 int num_groups = 0; in alloc_init_cpu_groups() local
171 if (!alloc_cpumask_var(&cpu_groups[num_groups], GFP_KERNEL)) { in alloc_init_cpu_groups()
173 free_cpu_groups(num_groups, &cpu_groups); in alloc_init_cpu_groups()
176 cpumask_copy(cpu_groups[num_groups++], cpu_group); in alloc_init_cpu_groups()
183 return num_groups; in alloc_init_cpu_groups()
/drivers/counter/
Dcounter.c1188 const size_t num_groups) in counter_device_groups_list_free() argument
1194 for (i = 0; i < num_groups; i++) { in counter_device_groups_list_free()
1214 size_t num_groups = 0; in counter_device_groups_list_prepare() local
1230 num_groups += counter->num_signals; in counter_device_groups_list_prepare()
1233 err = counter_counts_register(groups_list + num_groups, counter); in counter_device_groups_list_prepare()
1236 num_groups += counter->num_counts; in counter_device_groups_list_prepare()
1239 err = counter_global_attr_register(groups_list + num_groups, counter); in counter_device_groups_list_prepare()
1242 num_groups++; in counter_device_groups_list_prepare()
1246 counter->device_state->num_groups = num_groups; in counter_device_groups_list_prepare()
1251 counter_device_groups_list_free(groups_list, num_groups); in counter_device_groups_list_prepare()
[all …]
/drivers/pinctrl/renesas/
Dpinctrl-rzn1.c87 unsigned int num_groups; member
450 unsigned int * const num_groups) in rzn1_pmx_get_groups() argument
455 *num_groups = ipctl->functions[selector].num_groups; in rzn1_pmx_get_groups()
767 func->num_groups = rzn1_pinctrl_count_function_groups(np); in rzn1_pinctrl_parse_functions()
768 if (func->num_groups == 0) { in rzn1_pinctrl_parse_functions()
773 np->name, func->num_groups); in rzn1_pinctrl_parse_functions()
776 func->num_groups, sizeof(char *), in rzn1_pinctrl_parse_functions()
806 np->name, i, func->num_groups); in rzn1_pinctrl_parse_functions()
Dpinctrl.c116 unsigned int num_groups; in sh_pfc_dt_subnode_to_map() local
172 num_groups = 0; in sh_pfc_dt_subnode_to_map()
177 num_groups = ret; in sh_pfc_dt_subnode_to_map()
180 if (!num_pins && !num_groups) { in sh_pfc_dt_subnode_to_map()
187 nmaps += num_groups; in sh_pfc_dt_subnode_to_map()
189 nmaps += num_pins + num_groups; in sh_pfc_dt_subnode_to_map()
332 unsigned * const num_groups) in sh_pfc_get_function_groups() argument
337 *num_groups = pmx->pfc->info->functions[selector].nr_groups; in sh_pfc_get_function_groups()
/drivers/pinctrl/sirf/
Dpinctrl-sirf.h92 const unsigned num_groups; member
100 .num_groups = ARRAY_SIZE(g), \
/drivers/pinctrl/freescale/
Dpinctrl-imx1-core.c367 unsigned * const num_groups) in imx1_pmx_get_groups() argument
373 *num_groups = info->functions[selector].num_groups; in imx1_pmx_get_groups()
521 func->num_groups = of_get_child_count(np); in imx1_pinctrl_parse_functions()
522 if (func->num_groups == 0) in imx1_pinctrl_parse_functions()
526 func->num_groups, sizeof(char *), GFP_KERNEL); in imx1_pinctrl_parse_functions()
Dpinctrl-imx1.h51 unsigned num_groups; member
/drivers/pinctrl/uniphier/
Dpinctrl-uniphier.h136 unsigned num_groups; member
180 .num_groups = ARRAY_SIZE(func##_groups), \
/drivers/pinctrl/samsung/
Dpinctrl-samsung.h92 .num_groups = ARRAY_SIZE(g), \
328 u8 num_groups; member
/drivers/pinctrl/tegra/
Dpinctrl-tegra-xusb.c51 unsigned int num_groups; member
284 unsigned * const num_groups) in tegra_xusb_padctl_get_function_groups() argument
288 *num_groups = padctl->soc->functions[function].num_groups; in tegra_xusb_padctl_get_function_groups()
784 .num_groups = ARRAY_SIZE(tegra124_##_name##_groups), \

12345