Lines Matching refs:group_item
1374 const struct mlxsw_sp_trap_group_item *group_item; in mlxsw_sp_trap_groups_init() local
1383 group_item = &trap->group_items_arr[i]; in mlxsw_sp_trap_groups_init()
1384 err = devl_trap_groups_register(devlink, &group_item->group, 1); in mlxsw_sp_trap_groups_init()
1393 group_item = &trap->group_items_arr[i]; in mlxsw_sp_trap_groups_init()
1394 devl_trap_groups_unregister(devlink, &group_item->group, 1); in mlxsw_sp_trap_groups_init()
1407 const struct mlxsw_sp_trap_group_item *group_item; in mlxsw_sp_trap_groups_fini() local
1409 group_item = &trap->group_items_arr[i]; in mlxsw_sp_trap_groups_fini()
1410 devl_trap_groups_unregister(devlink, &group_item->group, 1); in mlxsw_sp_trap_groups_fini()
1642 const struct mlxsw_sp_trap_group_item *group_item; in __mlxsw_sp_trap_group_init() local
1645 group_item = mlxsw_sp_trap_group_item_lookup(mlxsw_sp, group->id); in __mlxsw_sp_trap_group_init()
1646 if (WARN_ON(!group_item)) in __mlxsw_sp_trap_group_init()
1649 if (group_item->fixed_policer && policer_id != group->init_policer_id) { in __mlxsw_sp_trap_group_init()
1664 mlxsw_reg_htgt_pack(htgt_pl, group_item->hw_group_id, hw_policer_id, in __mlxsw_sp_trap_group_init()
1665 group_item->priority, group_item->priority); in __mlxsw_sp_trap_group_init()