Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
sm_io/*/dsp: add 10 bits limit to TbT data masking
Browse files Browse the repository at this point in the history
  • Loading branch information
lerwys committed Apr 2, 2019
1 parent 60f08d8 commit 78b1a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/sm_io/src/sm_io/c/modules/dsp/sm_io_dsp_exp.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,15 +432,15 @@ RW_PARAM_FUNC(dsp, tbt_data_mask_en) {
}

#define POS_CALC_TBT_DATA_MASK_SAMPLES_BEG_MIN 0
#define POS_CALC_TBT_DATA_MASK_SAMPLES_BEG_MAX ((1<<16ULL)-1)
#define POS_CALC_TBT_DATA_MASK_SAMPLES_BEG_MAX ((1<<10ULL)-1)
RW_PARAM_FUNC(dsp, tbt_data_mask_samples_beg) {
SET_GET_PARAM(dsp, 0x0, POS_CALC, TBT_DATA_MASK_SAMPLES, BEG,
MULT_BIT_PARAM, POS_CALC_TBT_DATA_MASK_SAMPLES_BEG_MIN, POS_CALC_TBT_DATA_MASK_SAMPLES_BEG_MAX,
NO_CHK_FUNC, NO_FMT_FUNC, SET_FIELD);
}

#define POS_CALC_TBT_DATA_MASK_SAMPLES_END_MIN 0
#define POS_CALC_TBT_DATA_MASK_SAMPLES_END_MAX ((1<<16ULL)-1)
#define POS_CALC_TBT_DATA_MASK_SAMPLES_END_MAX ((1<<10ULL)-1)
RW_PARAM_FUNC(dsp, tbt_data_mask_samples_end) {
SET_GET_PARAM(dsp, 0x0, POS_CALC, TBT_DATA_MASK_SAMPLES, END,
MULT_BIT_PARAM, POS_CALC_TBT_DATA_MASK_SAMPLES_END_MIN, POS_CALC_TBT_DATA_MASK_SAMPLES_END_MAX,
Expand Down

0 comments on commit 78b1a58

Please sign in to comment.