Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c270 char *spms_pl; in mlxsw_sp_port_vid_stp_set() local
273 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sp_port_vid_stp_set()
274 if (!spms_pl) in mlxsw_sp_port_vid_stp_set()
276 mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port); in mlxsw_sp_port_vid_stp_set()
277 mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state); in mlxsw_sp_port_vid_stp_set()
279 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spms), spms_pl); in mlxsw_sp_port_vid_stp_set()
280 kfree(spms_pl); in mlxsw_sp_port_vid_stp_set()
4373 char *spms_pl; in mlxsw_sp_port_stp_set() local
4380 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sp_port_stp_set()
4381 if (!spms_pl) in mlxsw_sp_port_stp_set()
[all …]