Searched refs:spms_pl (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchx2.c | 935 char *spms_pl; in mlxsw_sx_port_stp_state_set() local 938 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sx_port_stp_state_set() 939 if (!spms_pl) in mlxsw_sx_port_stp_state_set() 941 mlxsw_reg_spms_pack(spms_pl, mlxsw_sx_port->local_port); in mlxsw_sx_port_stp_state_set() 942 mlxsw_reg_spms_vid_pack(spms_pl, vid, state); in mlxsw_sx_port_stp_state_set() 943 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(spms), spms_pl); in mlxsw_sx_port_stp_state_set() 944 kfree(spms_pl); in mlxsw_sx_port_stp_state_set()
|
D | spectrum.c | 558 char *spms_pl; in mlxsw_sp_port_vid_stp_set() local 561 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sp_port_vid_stp_set() 562 if (!spms_pl) in mlxsw_sp_port_vid_stp_set() 564 mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port); in mlxsw_sp_port_vid_stp_set() 565 mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state); in mlxsw_sp_port_vid_stp_set() 567 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spms), spms_pl); in mlxsw_sp_port_vid_stp_set() 568 kfree(spms_pl); in mlxsw_sp_port_vid_stp_set() 5823 char *spms_pl; in mlxsw_sp_port_stp_set() local 5830 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sp_port_stp_set() 5831 if (!spms_pl) in mlxsw_sp_port_stp_set() [all …]
|