Lines Matching refs:paxel_cfg
159 struct omap3isp_h3a_af_paxel *paxel_cfg = &user_cfg->paxel; in h3a_af_validate_params() local
165 if (IS_OUT_OF_BOUNDS(paxel_cfg->h_cnt, in h3a_af_validate_params()
171 if (IS_OUT_OF_BOUNDS(paxel_cfg->v_cnt, in h3a_af_validate_params()
176 if (IS_OUT_OF_BOUNDS(paxel_cfg->height, OMAP3ISP_AF_PAXEL_HEIGHT_MIN, in h3a_af_validate_params()
178 paxel_cfg->height % 2) in h3a_af_validate_params()
182 if (IS_OUT_OF_BOUNDS(paxel_cfg->width, OMAP3ISP_AF_PAXEL_WIDTH_MIN, in h3a_af_validate_params()
184 paxel_cfg->width % 2) in h3a_af_validate_params()
188 if (IS_OUT_OF_BOUNDS(paxel_cfg->line_inc, in h3a_af_validate_params()
191 paxel_cfg->line_inc % 2) in h3a_af_validate_params()
195 if ((paxel_cfg->h_start < iir_cfg->h_start) || in h3a_af_validate_params()
196 IS_OUT_OF_BOUNDS(paxel_cfg->h_start, in h3a_af_validate_params()
215 if ((paxel_cfg->h_cnt * paxel_cfg->v_cnt > 9) && in h3a_af_validate_params()
216 (paxel_cfg->width * paxel_cfg->height == 12)) in h3a_af_validate_params()