Home
last modified time | relevance | path

Searched refs:smpe (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_pgt.c123 mlxsw_sp_pgt_entry_create(struct mlxsw_sp_pgt *pgt, u16 mid, u16 smpe) in mlxsw_sp_pgt_entry_create() argument
141 pgt_entry->smpe_index = smpe; in mlxsw_sp_pgt_entry_create()
162 mlxsw_sp_pgt_entry_get(struct mlxsw_sp_pgt *pgt, u16 mid, u16 smpe) in mlxsw_sp_pgt_entry_get() argument
170 return mlxsw_sp_pgt_entry_create(pgt, mid, smpe); in mlxsw_sp_pgt_entry_get()
256 u16 smpe, u16 local_port) in mlxsw_sp_pgt_entry_port_add() argument
264 pgt_entry = mlxsw_sp_pgt_entry_get(mlxsw_sp->pgt, mid, smpe); in mlxsw_sp_pgt_entry_port_add()
288 u16 mid, u16 smpe, u16 local_port) in mlxsw_sp_pgt_entry_port_del() argument
311 u16 smpe, u16 local_port, bool member) in mlxsw_sp_pgt_entry_port_set() argument
314 return mlxsw_sp_pgt_entry_port_add(mlxsw_sp, mid, smpe, in mlxsw_sp_pgt_entry_port_set()
317 mlxsw_sp_pgt_entry_port_del(mlxsw_sp, mid, smpe, local_port); in mlxsw_sp_pgt_entry_port_set()
Dspectrum_fid.c433 u16 smpe; in mlxsw_sp_fid_op() local
435 smpe = fid->fid_family->smpe_index_valid ? fid->fid_index : 0; in mlxsw_sp_fid_op()
440 fid->fid_family->smpe_index_valid, smpe); in mlxsw_sp_fid_op()
449 u16 smpe; in mlxsw_sp_fid_edit_op() local
451 smpe = fid->fid_family->smpe_index_valid ? fid->fid_index : 0; in mlxsw_sp_fid_edit_op()
457 fid->fid_family->smpe_index_valid, smpe); in mlxsw_sp_fid_edit_op()
924 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smpe), smpe_pl); in mlxsw_sp_fid_mpe_table_map()
Dreg.h1967 MLXSW_ITEM32(reg, sfmr, smpe, 0x28, 0, 16);
1973 bool smpe_valid, u16 smpe) in mlxsw_reg_sfmr_pack() argument
1984 mlxsw_reg_sfmr_smpe_set(payload, smpe); in mlxsw_reg_sfmr_pack()
2190 MLXSW_REG_DEFINE(smpe, MLXSW_REG_SMPE_ID, MLXSW_REG_SMPE_LEN);
2197 MLXSW_ITEM32_LP(reg, smpe, 0x00, 16, 0x00, 12);
2204 MLXSW_ITEM32(reg, smpe, smpe_index, 0x04, 0, 16);
2210 MLXSW_ITEM32(reg, smpe, evid, 0x08, 0, 12);
2215 MLXSW_REG_ZERO(smpe, payload); in mlxsw_reg_smpe_pack()
2260 MLXSW_ITEM32(reg, smid2, smpe, 0x08, 0, 16);
2275 bool set, bool smpe_valid, u16 smpe) in mlxsw_reg_smid2_pack() argument
[all …]
Dspectrum.h1489 u16 smpe, u16 local_port, bool member);