Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.h15 size_t groups_count; /* Number of registered groups */ member
Dspectrum_trap.c1185 for (i = 0; i < trap->groups_count; i++) { in mlxsw_sp_trap_group_item_lookup()
1340 size_t groups_count, spec_groups_count; in mlxsw_sp_trap_group_items_arr_init() local
1351 groups_count = common_groups_count + spec_groups_count; in mlxsw_sp_trap_group_items_arr_init()
1352 trap->group_items_arr = kcalloc(groups_count, elem_size, GFP_KERNEL); in mlxsw_sp_trap_group_items_arr_init()
1361 trap->groups_count = groups_count; in mlxsw_sp_trap_group_items_arr_init()
1382 for (i = 0; i < trap->groups_count; i++) { in mlxsw_sp_trap_groups_init()
1406 for (i = trap->groups_count - 1; i >= 0; i--) { in mlxsw_sp_trap_groups_fini()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_devlink.c467 const u32 groups_count = ARRAY_SIZE(prestera_trap_groups_arr); in prestera_devlink_traps_register() local
491 groups_count); in prestera_devlink_traps_register()
511 groups_count); in prestera_devlink_traps_register()
/linux-6.1.9/drivers/pinctrl/uniphier/
Dpinctrl-uniphier.h143 int groups_count; member
Dpinctrl-uniphier-core.c47 return priv->socdata->groups_count; in uniphier_pctl_get_groups_count()
871 !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.1.9/include/net/
Ddevlink.h1836 size_t groups_count);
1839 size_t groups_count);
1842 size_t groups_count);
1845 size_t groups_count);
/linux-6.1.9/net/core/
Ddevlink.c12162 size_t groups_count) in devl_trap_groups_register() argument
12167 for (i = 0; i < groups_count; i++) { in devl_trap_groups_register()
12201 size_t groups_count) in devlink_trap_groups_register() argument
12206 err = devl_trap_groups_register(devlink, groups, groups_count); in devlink_trap_groups_register()
12220 size_t groups_count) in devl_trap_groups_unregister() argument
12225 for (i = groups_count - 1; i >= 0; i--) in devl_trap_groups_unregister()
12240 size_t groups_count) in devlink_trap_groups_unregister() argument
12243 devl_trap_groups_unregister(devlink, groups, groups_count); in devlink_trap_groups_unregister()