Lines Matching refs:pms
96 struct mlxsw_sp_sb_pm *pms; member
110 const struct mlxsw_sp_sb_pm *pms; member
168 return &mlxsw_sp->sb->ports[local_port].pms[pool_index]; in mlxsw_sp_sb_pm_get()
346 struct mlxsw_sp_sb_pm *pms; in mlxsw_sp_sb_port_init() local
348 pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), in mlxsw_sp_sb_port_init()
350 if (!pms) in mlxsw_sp_sb_port_init()
352 sb_port->pms = pms; in mlxsw_sp_sb_port_init()
358 kfree(sb_port->pms); in mlxsw_sp_sb_port_fini()
757 const struct mlxsw_sp_sb_pm *pms, in mlxsw_sp_sb_pms_init() argument
763 const struct mlxsw_sp_sb_pm *pm = &pms[i]; in mlxsw_sp_sb_pms_init()
789 mlxsw_sp->sb_vals->pms, false); in mlxsw_sp_port_sb_pms_init()
868 .pms = mlxsw_sp1_sb_pms,
884 .pms = mlxsw_sp2_sb_pms,