Searched refs:user_cfg (Results 1 – 4 of 4) sorted by relevance
117 struct omap3isp_h3a_aewb_config *user_cfg = new_conf; in h3a_aewb_validate_params() local120 if (unlikely(user_cfg->saturation_limit > in h3a_aewb_validate_params()124 if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || in h3a_aewb_validate_params()125 user_cfg->win_height > OMAP3ISP_AEWB_MAX_WIN_H || in h3a_aewb_validate_params()126 user_cfg->win_height & 0x01)) in h3a_aewb_validate_params()129 if (unlikely(user_cfg->win_width < OMAP3ISP_AEWB_MIN_WIN_W || in h3a_aewb_validate_params()130 user_cfg->win_width > OMAP3ISP_AEWB_MAX_WIN_W || in h3a_aewb_validate_params()131 user_cfg->win_width & 0x01)) in h3a_aewb_validate_params()134 if (unlikely(user_cfg->ver_win_count < OMAP3ISP_AEWB_MIN_WINVC || in h3a_aewb_validate_params()135 user_cfg->ver_win_count > OMAP3ISP_AEWB_MAX_WINVC)) in h3a_aewb_validate_params()[all …]
276 struct omap3isp_hist_config *user_cfg = hist->priv; in hist_buf_process() local292 hist->wait_acc_frames = user_cfg->num_acc_frames; in hist_buf_process()310 struct omap3isp_hist_config *user_cfg = new_conf; in hist_validate_params() local314 if (user_cfg->cfa > OMAP3ISP_HIST_CFA_FOVEONX3) in hist_validate_params()319 if ((user_cfg->num_regions < OMAP3ISP_HIST_MIN_REGIONS) || in hist_validate_params()320 (user_cfg->num_regions > OMAP3ISP_HIST_MAX_REGIONS)) in hist_validate_params()324 for (c = 0; c < user_cfg->num_regions; c++) { in hist_validate_params()325 if (user_cfg->region[c].h_start & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()327 if (user_cfg->region[c].h_end & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()329 if (user_cfg->region[c].v_start & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()[all …]
158 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_validate_params() local159 struct omap3isp_h3a_af_paxel *paxel_cfg = &user_cfg->paxel; in h3a_af_validate_params()160 struct omap3isp_h3a_af_iir *iir_cfg = &user_cfg->iir; in h3a_af_validate_params()219 buf_size = h3a_af_get_buf_size(user_cfg); in h3a_af_validate_params()220 if (buf_size > user_cfg->buf_size) in h3a_af_validate_params()222 user_cfg->buf_size = buf_size; in h3a_af_validate_params()223 else if (user_cfg->buf_size > OMAP3ISP_AF_MAX_BUF_SIZE) in h3a_af_validate_params()224 user_cfg->buf_size = OMAP3ISP_AF_MAX_BUF_SIZE; in h3a_af_validate_params()232 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_set_params() local238 if (cur_cfg->alaw_enable != user_cfg->alaw_enable) { in h3a_af_set_params()[all …]
523 struct ispstat_generic_config *user_cfg = new_conf; in omap3isp_stat_config() local524 u32 buf_size = user_cfg->buf_size; in omap3isp_stat_config()545 if (buf_size != user_cfg->buf_size) in omap3isp_stat_config()548 (unsigned long)user_cfg->buf_size); in omap3isp_stat_config()562 buf_size = user_cfg->buf_size * 2 + MAGIC_SIZE; in omap3isp_stat_config()577 buf_size = PAGE_ALIGN(user_cfg->buf_size + MAGIC_SIZE); in omap3isp_stat_config()594 user_cfg->config_counter = stat->config_counter + stat->inc_config; in omap3isp_stat_config()