sb_vals 4963 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->sb_vals = &mlxsw_sp1_sb_vals; sb_vals 4985 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->sb_vals = &mlxsw_sp2_sb_vals; sb_vals 177 drivers/net/ethernet/mellanox/mlxsw/spectrum.h const struct mlxsw_sp_sb_vals *sb_vals; sb_vals 176 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c &mlxsw_sp->sb_vals->pool_dess[pool_index]; sb_vals 200 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c &mlxsw_sp->sb_vals->pool_dess[pool_index]; sb_vals 229 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c &mlxsw_sp->sb_vals->pool_dess[pool_index]; sb_vals 250 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c &mlxsw_sp->sb_vals->pool_dess[pool_index]; sb_vals 276 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c &mlxsw_sp->sb_vals->pool_dess[pool_index]; sb_vals 348 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), sb_vals 374 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c prs = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*prs), sb_vals 643 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c const struct mlxsw_sp_sb_vals *sb_vals = mlxsw_sp->sb_vals; sb_vals 655 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (WARN_ON(sb_vals->pool_dess[cm->pool_index].dir != dir)) sb_vals 687 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->cms_ingress, sb_vals 688 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->cms_ingress_count); sb_vals 694 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->cms_egress, sb_vals 695 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->cms_egress_count); sb_vals 701 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->cms_cpu, sb_vals 702 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->cms_cpu_count); sb_vals 762 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (i = 0; i < mlxsw_sp->sb_vals->pool_count; i++) { sb_vals 768 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c des = &mlxsw_sp->sb_vals->pool_dess[i]; sb_vals 789 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->pms, false); sb_vals 794 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c return mlxsw_sp_sb_pms_init(mlxsw_sp, 0, mlxsw_sp->sb_vals->pms_cpu, sb_vals 829 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (i = 0; i < mlxsw_sp->sb_vals->mms_count; i++) { sb_vals 834 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mc = &mlxsw_sp->sb_vals->mms[i]; sb_vals 835 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c des = &mlxsw_sp->sb_vals->pool_dess[mc->pool_index]; sb_vals 854 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (i = 0; i < mlxsw_sp->sb_vals->pool_count; ++i) { sb_vals 855 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (mlxsw_sp->sb_vals->pool_dess[i].dir == sb_vals 928 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_prs_init(mlxsw_sp, mlxsw_sp->sb_vals->prs, sb_vals 929 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp->sb_vals->pool_count); sb_vals 994 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c dir = mlxsw_sp->sb_vals->pool_dess[pool_index].dir; sb_vals 1014 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pr = &mlxsw_sp->sb_vals->prs[pool_index]; sb_vals 1151 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (dir != mlxsw_sp->sb_vals->pool_dess[pool_index].dir) { sb_vals 1157 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c cm = &mlxsw_sp->sb_vals->cms_ingress[tc_index]; sb_vals 1159 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c cm = &mlxsw_sp->sb_vals->cms_egress[tc_index]; sb_vals 1275 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (i = 0; i < mlxsw_sp->sb_vals->pool_count; i++) { sb_vals 1340 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (i = 0; i < mlxsw_sp->sb_vals->pool_count; i++) {