spms_pl           558 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	char *spms_pl;
spms_pl           561 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL);
spms_pl           562 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!spms_pl)
spms_pl           564 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port);
spms_pl           565 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state);
spms_pl           567 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spms), spms_pl);
spms_pl           568 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	kfree(spms_pl);
spms_pl          5845 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	char *spms_pl;
spms_pl          5852 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL);
spms_pl          5853 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!spms_pl)
spms_pl          5855 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port);
spms_pl          5858 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state);
spms_pl          5860 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(spms), spms_pl);
spms_pl          5861 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	kfree(spms_pl);
spms_pl           930 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	char *spms_pl;
spms_pl           933 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL);
spms_pl           934 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	if (!spms_pl)
spms_pl           936 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	mlxsw_reg_spms_pack(spms_pl, mlxsw_sx_port->local_port);
spms_pl           937 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	mlxsw_reg_spms_vid_pack(spms_pl, vid, state);
spms_pl           938 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(spms), spms_pl);
spms_pl           939 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	kfree(spms_pl);