Searched refs:smid2_pl (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_pgt.c | 185 static void mlxsw_sp_pgt_smid2_port_set(char *smid2_pl, u16 local_port, in mlxsw_sp_pgt_smid2_port_set() argument 188 mlxsw_reg_smid2_port_set(smid2_pl, local_port, member); in mlxsw_sp_pgt_smid2_port_set() 189 mlxsw_reg_smid2_port_mask_set(smid2_pl, local_port, 1); in mlxsw_sp_pgt_smid2_port_set() 197 char *smid2_pl; in mlxsw_sp_pgt_entry_port_write() local 200 smid2_pl = kmalloc(MLXSW_REG_SMID2_LEN, GFP_KERNEL); in mlxsw_sp_pgt_entry_port_write() 201 if (!smid2_pl) in mlxsw_sp_pgt_entry_port_write() 204 mlxsw_reg_smid2_pack(smid2_pl, pgt_entry->index, 0, 0, in mlxsw_sp_pgt_entry_port_write() 208 mlxsw_sp_pgt_smid2_port_set(smid2_pl, local_port, member); in mlxsw_sp_pgt_entry_port_write() 209 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid2), smid2_pl); in mlxsw_sp_pgt_entry_port_write() 211 kfree(smid2_pl); in mlxsw_sp_pgt_entry_port_write()
|