Home
last modified time | relevance | path

Searched refs:ccdcparam (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/media/video/davinci/
Ddm355_ccdc.c272 static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam) in validate_ccdc_param() argument
274 if (ccdcparam->datasft < CCDC_DATA_NO_SHIFT || in validate_ccdc_param()
275 ccdcparam->datasft > CCDC_DATA_SHIFT_6BIT) { in validate_ccdc_param()
280 if (ccdcparam->mfilt1 < CCDC_NO_MEDIAN_FILTER1 || in validate_ccdc_param()
281 ccdcparam->mfilt1 > CCDC_MEDIAN_FILTER1) { in validate_ccdc_param()
286 if (ccdcparam->mfilt2 < CCDC_NO_MEDIAN_FILTER2 || in validate_ccdc_param()
287 ccdcparam->mfilt2 > CCDC_MEDIAN_FILTER2) { in validate_ccdc_param()
292 if ((ccdcparam->med_filt_thres < 0) || in validate_ccdc_param()
293 (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { in validate_ccdc_param()
299 if (ccdcparam->data_sz < CCDC_DATA_16BITS || in validate_ccdc_param()
[all …]
Ddm644x_ccdc.c228 static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam) in validate_ccdc_param() argument
230 if (ccdcparam->alaw.enable) { in validate_ccdc_param()
231 if ((ccdcparam->alaw.gama_wd > CCDC_GAMMA_BITS_09_0) || in validate_ccdc_param()
232 (ccdcparam->alaw.gama_wd < CCDC_GAMMA_BITS_15_6) || in validate_ccdc_param()
233 (ccdcparam->alaw.gama_wd < ccdcparam->data_sz)) { in validate_ccdc_param()