Searched refs:lsc_cfg (Results 1 – 1 of 1) sorted by relevance
132 struct omap3isp_ccdc_lsc_config *lsc_cfg) in ccdc_lsc_validate_config() argument141 paxel_shift_x = lsc_cfg->gain_mode_m; in ccdc_lsc_validate_config()142 paxel_shift_y = lsc_cfg->gain_mode_n; in ccdc_lsc_validate_config()150 if (lsc_cfg->offset & 3) { in ccdc_lsc_validate_config()156 if ((lsc_cfg->initial_x & 1) || (lsc_cfg->initial_y & 1)) { in ccdc_lsc_validate_config()168 min_width = ((input_width + lsc_cfg->initial_x + paxel_width - 1) in ccdc_lsc_validate_config()172 min_height = ((input_height + lsc_cfg->initial_y + paxel_height - 1) in ccdc_lsc_validate_config()176 if (min_size > lsc_cfg->size) { in ccdc_lsc_validate_config()180 if (lsc_cfg->offset < (min_width * 4)) { in ccdc_lsc_validate_config()184 if ((lsc_cfg->size / lsc_cfg->offset) < min_height) { in ccdc_lsc_validate_config()[all …]