Lines Matching refs:to

26 /* WARNING1: Number of inv points should be less or equal to 16,
27 * due to implementation limitation. See kernel design document
90 struct eed1_8_vmem_params *to,
102 to->e_dew_enh_x[0][i] = 0;
103 to->e_dew_enh_y[0][i] = 0;
104 to->e_dew_enh_a[0][i] = 0;
105 to->e_dew_enh_f[0][i] = 0;
106 to->chgrinv_x[0][i] = 0;
107 to->chgrinv_a[0][i] = 0;
108 to->chgrinv_b[0][i] = 0;
109 to->chgrinv_c[0][i] = 0;
110 to->tcinv_x[0][i] = 0;
111 to->tcinv_a[0][i] = 0;
112 to->tcinv_b[0][i] = 0;
113 to->tcinv_c[0][i] = 0;
114 to->fcinv_x[0][i] = 0;
115 to->fcinv_a[0][i] = 0;
116 to->fcinv_b[0][i] = 0;
117 to->fcinv_c[0][i] = 0;
121 * - values should be greater or equal to 0.
123 * - value of index zero is equal to 0.
127 /* TODO: investigate if an assert is the right way to report that
144 * - values should be greater or equal to 0.
146 * - value of index zero is equal to 0.
166 * A 64 element vector is split up in 4 blocks of 16 element. Each array is copied to
168 * initialised as described in the KFS. The remaining elements of a vector are set to 0.
175 to->e_dew_enh_x[0][base + j] = min_t(int, max_t(int,
178 to->e_dew_enh_y[0][base + j] = min_t(int, max_t(int,
184 to->e_dew_enh_a[0][base + j] = min_t(int, max_t(int,
187 /* Convert dew_enhance_seg_exp to flag:
191 to->e_dew_enh_f[0][base + j] = (min_t(int, max_t(int,
196 /* Hard-coded to 0, in order to be able to handle out of
200 to->e_dew_enh_a[0][base + (IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS - 1)] = 0;
201 to->e_dew_enh_f[0][base + (IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS - 1)] = 0;
204 to->chgrinv_x[0][base + j] = chgrinv_x[j];
205 to->chgrinv_a[0][base + j] = chgrinv_a[j];
206 to->chgrinv_b[0][base + j] = chgrinv_b[j];
207 to->chgrinv_c[0][base + j] = chgrinv_c[j];
211 to->tcinv_x[0][base + j] = tcinv_x[j];
212 to->tcinv_a[0][base + j] = tcinv_a[j];
213 to->tcinv_b[0][base + j] = tcinv_b[j];
214 to->tcinv_c[0][base + j] = tcinv_c[j];
218 to->fcinv_x[0][base + j] = fcinv_x[j];
219 to->fcinv_a[0][base + j] = fcinv_a[j];
220 to->fcinv_b[0][base + j] = fcinv_b[j];
221 to->fcinv_c[0][base + j] = fcinv_c[j];
228 struct eed1_8_dmem_params *to,
237 to->rbzp_strength = from->rbzp_strength;
239 to->fcstrength = from->fcstrength;
240 to->fcthres_0 = from->fcthres_0;
241 to->fc_sat_coef = from->fc_sat_coef;
242 to->fc_coring_prm = from->fc_coring_prm;
243 to->fc_slope = from->fcthres_1 - from->fcthres_0;
245 to->aerel_thres0 = from->aerel_thres0;
246 to->aerel_gain0 = from->aerel_gain0;
247 to->aerel_thres_diff = from->aerel_thres1 - from->aerel_thres0;
248 to->aerel_gain_diff = from->aerel_gain1 - from->aerel_gain0;
250 to->derel_thres0 = from->derel_thres0;
251 to->derel_gain0 = from->derel_gain0;
252 to->derel_thres_diff = (from->derel_thres1 - from->derel_thres0);
253 to->derel_gain_diff = (from->derel_gain1 - from->derel_gain0);
255 to->coring_pos0 = from->coring_pos0;
256 to->coring_pos_diff = (from->coring_pos1 - from->coring_pos0);
257 to->coring_neg0 = from->coring_neg0;
258 to->coring_neg_diff = (from->coring_neg1 - from->coring_neg0);
261 * TODO: currently the testbench does not support to use
262 * ISP_VEC_ELEMBITS. Investigate how to fix this
264 to->gain_exp = (13 - from->gain_exp);
265 to->gain_pos0 = from->gain_pos0;
266 to->gain_pos_diff = (from->gain_pos1 - from->gain_pos0);
267 to->gain_neg0 = from->gain_neg0;
268 to->gain_neg_diff = (from->gain_neg1 - from->gain_neg0);
270 to->margin_pos0 = from->pos_margin0;
271 to->margin_pos_diff = (from->pos_margin1 - from->pos_margin0);
272 to->margin_neg0 = from->neg_margin0;
273 to->margin_neg_diff = (from->neg_margin1 - from->neg_margin0);
279 to->e_dew_enh_asr = 13 - min(max(min_exp, 0), 13);
281 to->dedgew_max = from->dedgew_max;