/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | fs_ttc.c | 30 int num_groups; member 322 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 324 ttc->num_groups++; in mlx5_create_ttc_table_groups() 332 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 334 ttc->num_groups++; in mlx5_create_ttc_table_groups() 344 ttc->num_groups++; in mlx5_create_ttc_table_groups() 351 ttc->g[ttc->num_groups] = NULL; in mlx5_create_ttc_table_groups() 461 ttc->num_groups++; in mlx5_create_inner_ttc_table_groups() 471 ttc->num_groups++; in mlx5_create_inner_ttc_table_groups() 481 ttc->num_groups++; in mlx5_create_inner_ttc_table_groups() [all …]
|
/linux/drivers/pinctrl/ |
A D | pinctrl-artpec6.c | 77 const unsigned int num_groups; member 523 .num_groups = ARRAY_SIZE(gpiogrps), 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), 568 .num_groups = ARRAY_SIZE(spi0grps), 573 .num_groups = ARRAY_SIZE(spi1grps), 613 .num_groups = ARRAY_SIZE(nandgrps), [all …]
|
A D | pinctrl-gemini.c | 2035 const unsigned int num_groups; member 2071 .num_groups = ARRAY_SIZE(idegrps), 2076 .num_groups = ARRAY_SIZE(rtcgrps), 2087 .num_groups = ARRAY_SIZE(cirgrps), 2102 .num_groups = ARRAY_SIZE(icegrps), 2107 .num_groups = ARRAY_SIZE(idegrps), 2117 .num_groups = ARRAY_SIZE(usbgrps), 2127 .num_groups = ARRAY_SIZE(pcigrps), 2132 .num_groups = ARRAY_SIZE(lpcgrps), 2137 .num_groups = ARRAY_SIZE(lcdgrps), [all …]
|
A D | pinmux.c | 346 unsigned num_groups; in pinmux_map_to_setting() local 364 &groups, &num_groups); in pinmux_map_to_setting() 370 if (!num_groups) { in pinmux_map_to_setting() 555 unsigned num_groups; in pinmux_functions_show() local 560 &groups, &num_groups); in pinmux_functions_show() 569 for (i = 0; i < num_groups; i++) in pinmux_functions_show() 686 unsigned int num_groups; in pinmux_select() local 831 unsigned * const num_groups) in pinmux_generic_get_function_groups() argument 843 *num_groups = function->num_group_names; in pinmux_generic_get_function_groups() 879 const unsigned int num_groups, in pinmux_generic_add_function() argument [all …]
|
A D | pinmux.h | 146 unsigned * const num_groups); 154 unsigned const num_groups,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | fs_tt_redirect.c | 183 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups() 185 ft->num_groups++; in fs_udp_create_groups() 193 if (IS_ERR(ft->g[ft->num_groups])) in fs_udp_create_groups() 195 ft->num_groups++; in fs_udp_create_groups() 202 ft->g[ft->num_groups] = NULL; in fs_udp_create_groups() 215 ft->num_groups = 0; in fs_udp_create_table() 450 if (IS_ERR(ft->g[ft->num_groups])) in fs_any_create_groups() 452 ft->num_groups++; in fs_any_create_groups() 462 ft->num_groups++; in fs_any_create_groups() 469 ft->g[ft->num_groups] = NULL; in fs_any_create_groups() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs.c | 841 ft->num_groups = 0; in mlx5e_destroy_groups() 1009 ft->num_groups++; in mlx5e_create_l2_table_groups() 1020 ft->num_groups++; in mlx5e_create_l2_table_groups() 1030 ft->num_groups++; in mlx5e_create_l2_table_groups() 1057 ft->num_groups = 0; in mlx5e_create_l2_table() 1112 ft->num_groups++; in __mlx5e_create_vlan_table_groups() 1124 ft->num_groups++; in __mlx5e_create_vlan_table_groups() 1135 ft->num_groups++; in __mlx5e_create_vlan_table_groups() 1146 ft->num_groups++; in __mlx5e_create_vlan_table_groups() 1155 ft->num_groups++; in __mlx5e_create_vlan_table_groups() [all …]
|
A D | en_arfs.c | 295 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups() 296 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups() 298 ft->num_groups++; in arfs_create_groups() 304 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in arfs_create_groups() 305 if (IS_ERR(ft->g[ft->num_groups])) in arfs_create_groups() 307 ft->num_groups++; in arfs_create_groups() 313 err = PTR_ERR(ft->g[ft->num_groups]); in arfs_create_groups() 314 ft->g[ft->num_groups] = NULL; in arfs_create_groups() 329 ft->num_groups = 0; in arfs_create_table()
|
/linux/drivers/pinctrl/mvebu/ |
A D | pinctrl-mvebu.c | 33 unsigned num_groups; member 52 unsigned num_groups; member 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() 550 f->num_groups, in mvebu_pinctrl_build_functions() 600 pctl->num_groups = 0; in mvebu_pinctrl_probe() [all …]
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-ns.c | 29 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()
|
A D | pinctrl-nsp-mux.c | 96 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()
|
A D | pinctrl-bcm6362.c | 47 const unsigned num_groups; member 390 .num_groups = ARRAY_SIZE(n##_groups), \ 398 .num_groups = ARRAY_SIZE(n##_groups), \ 406 .num_groups = ARRAY_SIZE(n##_groups), \ 414 .num_groups = ARRAY_SIZE(n##_groups), \ 488 unsigned * const num_groups) in bcm6362_pinctrl_get_groups() argument 491 *num_groups = bcm6362_funcs[selector].num_groups; in bcm6362_pinctrl_get_groups()
|
A D | pinctrl-bcm6328.c | 38 const unsigned num_groups; member 250 .num_groups = ARRAY_SIZE(n##_groups), \ 258 .num_groups = ARRAY_SIZE(n##_groups), \ 317 unsigned * const num_groups) in bcm6328_pinctrl_get_groups() argument 320 *num_groups = bcm6328_funcs[selector].num_groups; in bcm6328_pinctrl_get_groups()
|
A D | pinctrl-bcm63268.c | 52 const unsigned num_groups; member 414 .num_groups = ARRAY_SIZE(n##_groups), \ 422 .num_groups = ARRAY_SIZE(n##_groups), \ 430 .num_groups = ARRAY_SIZE(n##_groups), \ 438 .num_groups = ARRAY_SIZE(n##_groups), \ 512 unsigned * const num_groups) in bcm63268_pinctrl_get_groups() argument 515 *num_groups = bcm63268_funcs[selector].num_groups; in bcm63268_pinctrl_get_groups()
|
A D | pinctrl-bcm6318.c | 39 const unsigned num_groups; member 314 .num_groups = ARRAY_SIZE(n##_groups), \ 322 .num_groups = ARRAY_SIZE(n##_groups), \ 393 unsigned * const num_groups) in bcm6318_pinctrl_get_groups() argument 396 *num_groups = bcm6318_funcs[selector].num_groups; in bcm6318_pinctrl_get_groups()
|
A D | pinctrl-bcm6368.c | 38 const unsigned num_groups; member 301 .num_groups = ARRAY_SIZE(n##_groups), \ 309 .num_groups = ARRAY_SIZE(n##_groups), \ 383 unsigned * const num_groups) in bcm6368_pinctrl_get_groups() argument 386 *num_groups = bcm6368_funcs[selector].num_groups; in bcm6368_pinctrl_get_groups()
|
A D | pinctrl-bcm6358.c | 51 const unsigned num_groups; member 198 .num_groups = ARRAY_SIZE(n##_groups), \ 249 unsigned * const num_groups) in bcm6358_pinctrl_get_groups() argument 252 *num_groups = bcm6358_funcs[selector].num_groups; in bcm6358_pinctrl_get_groups()
|
A D | pinctrl-cygnus-mux.c | 90 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()
|
A D | pinctrl-ns2-mux.c | 102 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()
|
/linux/tools/perf/bench/ |
A D | sched-messaging.c | 37 static unsigned int num_groups = 10; variable 251 OPT_UINTEGER('g', "group", &num_groups, "Specify number of groups"), 273 pth_tab = malloc(num_fds * 2 * num_groups * sizeof(pthread_t)); in bench_sched_messaging() 281 for (i = 0; i < num_groups; i++) in bench_sched_messaging() 309 num_groups, num_groups * 2 * num_fds, in bench_sched_messaging()
|
/linux/drivers/pinctrl/meson/ |
A D | pinctrl-meson.h | 45 unsigned int num_groups; member 114 unsigned int num_groups; member 141 .num_groups = ARRAY_SIZE(fn ## _groups), \ 174 unsigned * const num_groups);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | fs_tcp.c | 241 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups() 242 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups() 244 ft->num_groups++; in accel_fs_tcp_create_groups() 251 ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in accel_fs_tcp_create_groups() 252 if (IS_ERR(ft->g[ft->num_groups])) in accel_fs_tcp_create_groups() 254 ft->num_groups++; in accel_fs_tcp_create_groups() 260 err = PTR_ERR(ft->g[ft->num_groups]); in accel_fs_tcp_create_groups() 261 ft->g[ft->num_groups] = NULL; in accel_fs_tcp_create_groups() 274 ft->num_groups = 0; in accel_fs_tcp_create_table()
|
/linux/drivers/firmware/psci/ |
A D | psci_checker.c | 152 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()
|
/linux/drivers/pinctrl/renesas/ |
A D | pinctrl-rzn1.c | 87 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()
|
/linux/drivers/pinctrl/freescale/ |
A D | pinctrl-imx1-core.c | 367 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()
|