Home
last modified time | relevance | path

Searched refs:groups_count (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.h15 size_t groups_count; /* Number of registered groups */ member
Dspectrum_trap.c1210 for (i = 0; i < trap->groups_count; i++) { in mlxsw_sp_trap_group_item_lookup()
1365 size_t groups_count, spec_groups_count; in mlxsw_sp_trap_group_items_arr_init() local
1376 groups_count = common_groups_count + spec_groups_count; in mlxsw_sp_trap_group_items_arr_init()
1377 trap->group_items_arr = kcalloc(groups_count, elem_size, GFP_KERNEL); in mlxsw_sp_trap_group_items_arr_init()
1386 trap->groups_count = groups_count; in mlxsw_sp_trap_group_items_arr_init()
1407 for (i = 0; i < trap->groups_count; i++) { in mlxsw_sp_trap_groups_init()
1431 for (i = trap->groups_count - 1; i >= 0; i--) { in mlxsw_sp_trap_groups_fini()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_devlink.c445 const u32 groups_count = ARRAY_SIZE(prestera_trap_groups_arr); in prestera_devlink_traps_register() local
469 groups_count); in prestera_devlink_traps_register()
489 groups_count); in prestera_devlink_traps_register()
/linux-6.6.21/net/devlink/
Dtrap.c1618 size_t groups_count) in devl_trap_groups_register() argument
1623 for (i = 0; i < groups_count; i++) { in devl_trap_groups_register()
1657 size_t groups_count) in devlink_trap_groups_register() argument
1662 err = devl_trap_groups_register(devlink, groups, groups_count); in devlink_trap_groups_register()
1676 size_t groups_count) in devl_trap_groups_unregister() argument
1681 for (i = groups_count - 1; i >= 0; i--) in devl_trap_groups_unregister()
1696 size_t groups_count) in devlink_trap_groups_unregister() argument
1699 devl_trap_groups_unregister(devlink, groups, groups_count); in devlink_trap_groups_unregister()
/linux-6.6.21/drivers/pinctrl/uniphier/
Dpinctrl-uniphier.h143 int groups_count; member
Dpinctrl-uniphier-core.c49 return priv->socdata->groups_count; in uniphier_pctl_get_groups_count()
873 !socdata->groups || !socdata->groups_count || in uniphier_pinctrl_probe()
Dpinctrl-uniphier-nx1.c464 .groups_count = ARRAY_SIZE(uniphier_nx1_groups),
Dpinctrl-uniphier-sld8.c653 .groups_count = ARRAY_SIZE(uniphier_sld8_groups),
Dpinctrl-uniphier-ld4.c724 .groups_count = ARRAY_SIZE(uniphier_ld4_groups),
Dpinctrl-uniphier-ld11.c723 .groups_count = ARRAY_SIZE(uniphier_ld11_groups),
Dpinctrl-uniphier-ld6b.c939 .groups_count = ARRAY_SIZE(uniphier_ld6b_groups),
Dpinctrl-uniphier-ld20.c875 .groups_count = ARRAY_SIZE(uniphier_ld20_groups),
Dpinctrl-uniphier-pro5.c1002 .groups_count = ARRAY_SIZE(uniphier_pro5_groups),
Dpinctrl-uniphier-pxs2.c1005 .groups_count = ARRAY_SIZE(uniphier_pxs2_groups),
Dpinctrl-uniphier-pxs3.c1046 .groups_count = ARRAY_SIZE(uniphier_pxs3_groups),
Dpinctrl-uniphier-pro4.c1233 .groups_count = ARRAY_SIZE(uniphier_pro4_groups),
/linux-6.6.21/include/net/
Ddevlink.h1954 size_t groups_count);
1957 size_t groups_count);
1960 size_t groups_count);
1963 size_t groups_count);