Lines Matching refs:user_cfg

155 	struct omap3isp_h3a_af_config *user_cfg = new_conf;  in h3a_af_validate_params()  local
156 struct omap3isp_h3a_af_paxel *paxel_cfg = &user_cfg->paxel; in h3a_af_validate_params()
157 struct omap3isp_h3a_af_iir *iir_cfg = &user_cfg->iir; in h3a_af_validate_params()
216 buf_size = h3a_af_get_buf_size(user_cfg); in h3a_af_validate_params()
217 if (buf_size > user_cfg->buf_size) in h3a_af_validate_params()
219 user_cfg->buf_size = buf_size; in h3a_af_validate_params()
220 else if (user_cfg->buf_size > OMAP3ISP_AF_MAX_BUF_SIZE) in h3a_af_validate_params()
221 user_cfg->buf_size = OMAP3ISP_AF_MAX_BUF_SIZE; in h3a_af_validate_params()
229 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_set_params() local
235 if (cur_cfg->alaw_enable != user_cfg->alaw_enable) { in h3a_af_set_params()
241 if (cur_cfg->hmf.enable != user_cfg->hmf.enable) { in h3a_af_set_params()
245 if (cur_cfg->hmf.threshold != user_cfg->hmf.threshold) { in h3a_af_set_params()
251 if (cur_cfg->rgb_pos != user_cfg->rgb_pos) { in h3a_af_set_params()
257 if (cur_cfg->iir.h_start != user_cfg->iir.h_start) { in h3a_af_set_params()
263 user_cfg->iir.coeff_set0[index]) { in h3a_af_set_params()
268 user_cfg->iir.coeff_set1[index]) { in h3a_af_set_params()
275 if ((cur_cfg->paxel.width != user_cfg->paxel.width) || in h3a_af_set_params()
276 (cur_cfg->paxel.height != user_cfg->paxel.height) || in h3a_af_set_params()
277 (cur_cfg->paxel.h_start != user_cfg->paxel.h_start) || in h3a_af_set_params()
278 (cur_cfg->paxel.v_start != user_cfg->paxel.v_start) || in h3a_af_set_params()
279 (cur_cfg->paxel.h_cnt != user_cfg->paxel.h_cnt) || in h3a_af_set_params()
280 (cur_cfg->paxel.v_cnt != user_cfg->paxel.v_cnt) || in h3a_af_set_params()
281 (cur_cfg->paxel.line_inc != user_cfg->paxel.line_inc)) { in h3a_af_set_params()
287 if (cur_cfg->fvmode != user_cfg->fvmode) in h3a_af_set_params()
292 memcpy(cur_cfg, user_cfg, sizeof(*cur_cfg)); in h3a_af_set_params()