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()
625 MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8);
927 MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8);
1957 MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8);
1978 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local
1981 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack()
1985 mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); in mlxsw_reg_spvmlr_pack()
1987 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack()
3430 u8 num_rec = mlxsw_reg_peabfe_size_get(payload); in mlxsw_reg_peabfe_rec_pack() local
3432 if (rec_index >= num_rec) in mlxsw_reg_peabfe_rec_pack()
3459 MLXSW_ITEM32(reg, iedr, num_rec, 0x00, 0, 8);
3491 u8 num_rec = mlxsw_reg_iedr_num_rec_get(payload); in mlxsw_reg_iedr_rec_pack() local
3493 if (rec_index >= num_rec) in mlxsw_reg_iedr_rec_pack()
7874 MLXSW_ITEM32(reg, rauhtd, num_rec, 0x04, 0, 8);
8887 MLXSW_ITEM32(reg, xmdr, num_rec, 0x04, 0, 4);
9032 u8 num_rec = mlxsw_reg_xmdr_num_rec_get(xmdr_payload); in mlxsw_reg_xmdr_c_ltr_pack() local
9034 mlxsw_reg_xmdr_num_rec_set(xmdr_payload, num_rec + 1); in mlxsw_reg_xmdr_c_ltr_pack()
9623 MLXSW_ITEM32(reg, mtbr, num_rec, 0x04, 0, 8);
9642 u8 num_rec) in mlxsw_reg_mtbr_pack() argument
9646 mlxsw_reg_mtbr_num_rec_set(payload, num_rec); in mlxsw_reg_mtbr_pack()
10886 MLXSW_ITEM32(reg, mtpptr, num_rec, 0x08, 0, 4);