num_rec 277 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sfd, num_rec, 0x08, 0, 8); num_rec 396 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 num_rec = mlxsw_reg_sfd_num_rec_get(payload); num_rec 398 drivers/net/ethernet/mellanox/mlxsw/reg.h if (rec_index >= num_rec) num_rec 618 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8); num_rec 897 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8); num_rec 1824 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8); num_rec 1845 drivers/net/ethernet/mellanox/mlxsw/reg.h int num_rec = vid_end - vid_begin + 1; num_rec 1848 drivers/net/ethernet/mellanox/mlxsw/reg.h WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); num_rec 1852 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); num_rec 1854 drivers/net/ethernet/mellanox/mlxsw/reg.h for (i = 0; i < num_rec; i++) { num_rec 3164 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 num_rec = mlxsw_reg_peabfe_size_get(payload); num_rec 3166 drivers/net/ethernet/mellanox/mlxsw/reg.h if (rec_index >= num_rec) num_rec 3193 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, iedr, num_rec, 0x00, 0, 8); num_rec 3225 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 num_rec = mlxsw_reg_iedr_num_rec_get(payload); num_rec 3227 drivers/net/ethernet/mellanox/mlxsw/reg.h if (rec_index >= num_rec) num_rec 7318 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, rauhtd, num_rec, 0x04, 0, 8); num_rec 8314 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, mtbr, num_rec, 0x04, 0, 8); num_rec 8333 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 num_rec) num_rec 8337 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_mtbr_num_rec_set(payload, num_rec); num_rec 9403 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, mtpptr, num_rec, 0x08, 0, 4); num_rec 4224 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 num_rec; num_rec 4228 drivers/net/ethernet/mellanox/mlxsw/spectrum.c num_rec = mlxsw_reg_mtpptr_num_rec_get(mtpptr_pl); num_rec 4229 drivers/net/ethernet/mellanox/mlxsw/spectrum.c for (i = 0; i < num_rec; i++) { num_rec 2211 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u8 num_rec, last_rec_index, num_entries; num_rec 2213 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); num_rec 2214 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c last_rec_index = num_rec - 1; num_rec 2216 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (num_rec < MLXSW_REG_RAUHTD_REC_MAX_NUM) num_rec 2234 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int i, num_rec; num_rec 2249 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); num_rec 2250 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c for (i = 0; i < num_rec; i++) num_rec 1229 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 num_rec; num_rec 1253 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); num_rec 1258 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) num_rec 1272 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 num_rec; num_rec 1281 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); num_rec 1286 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) num_rec 1316 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 num_rec; num_rec 1327 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); num_rec 1332 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) num_rec 1381 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 num_rec; num_rec 1391 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); num_rec 1396 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) num_rec 2734 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 num_rec; num_rec 2752 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c num_rec = mlxsw_reg_sfn_num_rec_get(sfn_pl); num_rec 2753 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c for (i = 0; i < num_rec; i++)