Lines Matching refs:pms
97 struct mlxsw_sp_sb_pm *pms; member
111 const struct mlxsw_sp_sb_pm *pms; member
178 return &mlxsw_sp->sb->ports[local_port].pms[pool_index]; in mlxsw_sp_sb_pm_get()
625 struct mlxsw_sp_sb_pm *pms; in mlxsw_sp_sb_port_init() local
627 pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), in mlxsw_sp_sb_port_init()
629 if (!pms) in mlxsw_sp_sb_port_init()
631 sb_port->pms = pms; in mlxsw_sp_sb_port_init()
637 kfree(sb_port->pms); in mlxsw_sp_sb_port_fini()
1067 const struct mlxsw_sp_sb_pm *pms, in mlxsw_sp_sb_pms_init() argument
1073 const struct mlxsw_sp_sb_pm *pm = &pms[i]; in mlxsw_sp_sb_pms_init()
1099 mlxsw_sp->sb_vals->pms, false); in mlxsw_sp_port_sb_pms_init()
1178 .pms = mlxsw_sp1_sb_pms,
1194 .pms = mlxsw_sp2_sb_pms,