Home
last modified time | relevance | path

Searched refs:htgt_pl (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c1229 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_dummy_group_init() local
1231 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SP_DUMMY, in mlxsw_sp_trap_dummy_group_init()
1233 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_dummy_group_init()
1643 char htgt_pl[MLXSW_REG_HTGT_LEN]; in __mlxsw_sp_trap_group_init() local
1664 mlxsw_reg_htgt_pack(htgt_pl, group_item->hw_group_id, hw_policer_id, in __mlxsw_sp_trap_group_init()
1666 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in __mlxsw_sp_trap_group_init()
Dcore.c243 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_core_trap_groups_set() local
251 mlxsw_reg_htgt_pack(htgt_pl, mlxsw_core_trap_groups[i], in mlxsw_core_trap_groups_set()
255 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_core_trap_groups_set()
Dspectrum.c2586 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_groups_set() local
2622 mlxsw_reg_htgt_pack(htgt_pl, i, policer_id, priority, tc); in mlxsw_sp_trap_groups_set()
2623 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_groups_set()