Lines Matching refs:num_rec
277 MLXSW_ITEM32(reg, sfd, num_rec, 0x08, 0, 8);
396 u8 num_rec = mlxsw_reg_sfd_num_rec_get(payload); in mlxsw_reg_sfd_rec_pack() local
398 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack()
618 MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8);
897 MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8);
1824 MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8);
1845 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local
1848 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack()
1852 mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); in mlxsw_reg_spvmlr_pack()
1854 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack()
3164 u8 num_rec = mlxsw_reg_peabfe_size_get(payload); in mlxsw_reg_peabfe_rec_pack() local
3166 if (rec_index >= num_rec) in mlxsw_reg_peabfe_rec_pack()
3193 MLXSW_ITEM32(reg, iedr, num_rec, 0x00, 0, 8);
3225 u8 num_rec = mlxsw_reg_iedr_num_rec_get(payload); in mlxsw_reg_iedr_rec_pack() local
3227 if (rec_index >= num_rec) in mlxsw_reg_iedr_rec_pack()
7605 MLXSW_ITEM32(reg, rauhtd, num_rec, 0x04, 0, 8);
8626 MLXSW_ITEM32(reg, mtbr, num_rec, 0x04, 0, 8);
8645 u8 num_rec) in mlxsw_reg_mtbr_pack() argument
8649 mlxsw_reg_mtbr_num_rec_set(payload, num_rec); in mlxsw_reg_mtbr_pack()
9854 MLXSW_ITEM32(reg, mtpptr, num_rec, 0x08, 0, 4);