user_cfg 114 drivers/media/platform/omap3isp/isph3a_aewb.c struct omap3isp_h3a_aewb_config *user_cfg = new_conf; user_cfg 117 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->saturation_limit > user_cfg 121 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || user_cfg 122 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->win_height > OMAP3ISP_AEWB_MAX_WIN_H || user_cfg 123 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->win_height & 0x01)) user_cfg 126 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->win_width < OMAP3ISP_AEWB_MIN_WIN_W || user_cfg 127 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->win_width > OMAP3ISP_AEWB_MAX_WIN_W || user_cfg 128 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->win_width & 0x01)) user_cfg 131 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->ver_win_count < OMAP3ISP_AEWB_MIN_WINVC || user_cfg 132 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->ver_win_count > OMAP3ISP_AEWB_MAX_WINVC)) user_cfg 135 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->hor_win_count < OMAP3ISP_AEWB_MIN_WINHC || user_cfg 136 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->hor_win_count > OMAP3ISP_AEWB_MAX_WINHC)) user_cfg 139 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->ver_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) user_cfg 142 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->hor_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) user_cfg 145 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->blk_ver_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) user_cfg 148 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->blk_win_height < OMAP3ISP_AEWB_MIN_WIN_H || user_cfg 149 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->blk_win_height > OMAP3ISP_AEWB_MAX_WIN_H || user_cfg 150 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->blk_win_height & 0x01)) user_cfg 153 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->subsample_ver_inc < OMAP3ISP_AEWB_MIN_SUB_INC || user_cfg 154 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->subsample_ver_inc > OMAP3ISP_AEWB_MAX_SUB_INC || user_cfg 155 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->subsample_ver_inc & 0x01)) user_cfg 158 drivers/media/platform/omap3isp/isph3a_aewb.c if (unlikely(user_cfg->subsample_hor_inc < OMAP3ISP_AEWB_MIN_SUB_INC || user_cfg 159 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->subsample_hor_inc > OMAP3ISP_AEWB_MAX_SUB_INC || user_cfg 160 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->subsample_hor_inc & 0x01)) user_cfg 163 drivers/media/platform/omap3isp/isph3a_aewb.c buf_size = h3a_aewb_get_buf_size(user_cfg); user_cfg 164 drivers/media/platform/omap3isp/isph3a_aewb.c if (buf_size > user_cfg->buf_size) user_cfg 165 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->buf_size = buf_size; user_cfg 166 drivers/media/platform/omap3isp/isph3a_aewb.c else if (user_cfg->buf_size > OMAP3ISP_AEWB_MAX_BUF_SIZE) user_cfg 167 drivers/media/platform/omap3isp/isph3a_aewb.c user_cfg->buf_size = OMAP3ISP_AEWB_MAX_BUF_SIZE; user_cfg 181 drivers/media/platform/omap3isp/isph3a_aewb.c struct omap3isp_h3a_aewb_config *user_cfg = new_conf; user_cfg 185 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->saturation_limit != user_cfg->saturation_limit) { user_cfg 186 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->saturation_limit = user_cfg->saturation_limit; user_cfg 189 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->alaw_enable != user_cfg->alaw_enable) { user_cfg 190 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->alaw_enable = user_cfg->alaw_enable; user_cfg 193 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->win_height != user_cfg->win_height) { user_cfg 194 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->win_height = user_cfg->win_height; user_cfg 197 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->win_width != user_cfg->win_width) { user_cfg 198 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->win_width = user_cfg->win_width; user_cfg 201 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->ver_win_count != user_cfg->ver_win_count) { user_cfg 202 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->ver_win_count = user_cfg->ver_win_count; user_cfg 205 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->hor_win_count != user_cfg->hor_win_count) { user_cfg 206 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->hor_win_count = user_cfg->hor_win_count; user_cfg 209 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->ver_win_start != user_cfg->ver_win_start) { user_cfg 210 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->ver_win_start = user_cfg->ver_win_start; user_cfg 213 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->hor_win_start != user_cfg->hor_win_start) { user_cfg 214 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->hor_win_start = user_cfg->hor_win_start; user_cfg 217 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->blk_ver_win_start != user_cfg->blk_ver_win_start) { user_cfg 218 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->blk_ver_win_start = user_cfg->blk_ver_win_start; user_cfg 221 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->blk_win_height != user_cfg->blk_win_height) { user_cfg 222 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->blk_win_height = user_cfg->blk_win_height; user_cfg 225 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->subsample_ver_inc != user_cfg->subsample_ver_inc) { user_cfg 226 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->subsample_ver_inc = user_cfg->subsample_ver_inc; user_cfg 229 drivers/media/platform/omap3isp/isph3a_aewb.c if (cur_cfg->subsample_hor_inc != user_cfg->subsample_hor_inc) { user_cfg 230 drivers/media/platform/omap3isp/isph3a_aewb.c cur_cfg->subsample_hor_inc = user_cfg->subsample_hor_inc; user_cfg 155 drivers/media/platform/omap3isp/isph3a_af.c struct omap3isp_h3a_af_config *user_cfg = new_conf; user_cfg 156 drivers/media/platform/omap3isp/isph3a_af.c struct omap3isp_h3a_af_paxel *paxel_cfg = &user_cfg->paxel; user_cfg 157 drivers/media/platform/omap3isp/isph3a_af.c struct omap3isp_h3a_af_iir *iir_cfg = &user_cfg->iir; user_cfg 216 drivers/media/platform/omap3isp/isph3a_af.c buf_size = h3a_af_get_buf_size(user_cfg); user_cfg 217 drivers/media/platform/omap3isp/isph3a_af.c if (buf_size > user_cfg->buf_size) user_cfg 219 drivers/media/platform/omap3isp/isph3a_af.c user_cfg->buf_size = buf_size; user_cfg 220 drivers/media/platform/omap3isp/isph3a_af.c else if (user_cfg->buf_size > OMAP3ISP_AF_MAX_BUF_SIZE) user_cfg 221 drivers/media/platform/omap3isp/isph3a_af.c user_cfg->buf_size = OMAP3ISP_AF_MAX_BUF_SIZE; user_cfg 229 drivers/media/platform/omap3isp/isph3a_af.c struct omap3isp_h3a_af_config *user_cfg = new_conf; user_cfg 235 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->alaw_enable != user_cfg->alaw_enable) { user_cfg 241 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->hmf.enable != user_cfg->hmf.enable) { user_cfg 245 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->hmf.threshold != user_cfg->hmf.threshold) { user_cfg 251 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->rgb_pos != user_cfg->rgb_pos) { user_cfg 257 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->iir.h_start != user_cfg->iir.h_start) { user_cfg 263 drivers/media/platform/omap3isp/isph3a_af.c user_cfg->iir.coeff_set0[index]) { user_cfg 268 drivers/media/platform/omap3isp/isph3a_af.c user_cfg->iir.coeff_set1[index]) { user_cfg 275 drivers/media/platform/omap3isp/isph3a_af.c if ((cur_cfg->paxel.width != user_cfg->paxel.width) || user_cfg 276 drivers/media/platform/omap3isp/isph3a_af.c (cur_cfg->paxel.height != user_cfg->paxel.height) || user_cfg 277 drivers/media/platform/omap3isp/isph3a_af.c (cur_cfg->paxel.h_start != user_cfg->paxel.h_start) || user_cfg 278 drivers/media/platform/omap3isp/isph3a_af.c (cur_cfg->paxel.v_start != user_cfg->paxel.v_start) || user_cfg 279 drivers/media/platform/omap3isp/isph3a_af.c (cur_cfg->paxel.h_cnt != user_cfg->paxel.h_cnt) || user_cfg 280 drivers/media/platform/omap3isp/isph3a_af.c (cur_cfg->paxel.v_cnt != user_cfg->paxel.v_cnt) || user_cfg 281 drivers/media/platform/omap3isp/isph3a_af.c (cur_cfg->paxel.line_inc != user_cfg->paxel.line_inc)) { user_cfg 287 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->fvmode != user_cfg->fvmode) user_cfg 292 drivers/media/platform/omap3isp/isph3a_af.c memcpy(cur_cfg, user_cfg, sizeof(*cur_cfg)); user_cfg 272 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *user_cfg = hist->priv; user_cfg 288 drivers/media/platform/omap3isp/isphist.c hist->wait_acc_frames = user_cfg->num_acc_frames; user_cfg 306 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *user_cfg = new_conf; user_cfg 310 drivers/media/platform/omap3isp/isphist.c if (user_cfg->cfa > OMAP3ISP_HIST_CFA_FOVEONX3) user_cfg 315 drivers/media/platform/omap3isp/isphist.c if ((user_cfg->num_regions < OMAP3ISP_HIST_MIN_REGIONS) || user_cfg 316 drivers/media/platform/omap3isp/isphist.c (user_cfg->num_regions > OMAP3ISP_HIST_MAX_REGIONS)) user_cfg 320 drivers/media/platform/omap3isp/isphist.c for (c = 0; c < user_cfg->num_regions; c++) { user_cfg 321 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].h_start & ~ISPHIST_REG_START_END_MASK) user_cfg 323 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].h_end & ~ISPHIST_REG_START_END_MASK) user_cfg 325 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].v_start & ~ISPHIST_REG_START_END_MASK) user_cfg 327 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].v_end & ~ISPHIST_REG_START_END_MASK) user_cfg 329 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].h_start > user_cfg->region[c].h_end) user_cfg 331 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].v_start > user_cfg->region[c].v_end) user_cfg 335 drivers/media/platform/omap3isp/isphist.c switch (user_cfg->num_regions) { user_cfg 337 drivers/media/platform/omap3isp/isphist.c if (user_cfg->hist_bins > OMAP3ISP_HIST_BINS_256) user_cfg 341 drivers/media/platform/omap3isp/isphist.c if (user_cfg->hist_bins > OMAP3ISP_HIST_BINS_128) user_cfg 345 drivers/media/platform/omap3isp/isphist.c if (user_cfg->hist_bins > OMAP3ISP_HIST_BINS_64) user_cfg 350 drivers/media/platform/omap3isp/isphist.c buf_size = hist_get_buf_size(user_cfg); user_cfg 351 drivers/media/platform/omap3isp/isphist.c if (buf_size > user_cfg->buf_size) user_cfg 353 drivers/media/platform/omap3isp/isphist.c user_cfg->buf_size = buf_size; user_cfg 354 drivers/media/platform/omap3isp/isphist.c else if (user_cfg->buf_size > OMAP3ISP_HIST_MAX_BUF_SIZE) user_cfg 355 drivers/media/platform/omap3isp/isphist.c user_cfg->buf_size = OMAP3ISP_HIST_MAX_BUF_SIZE; user_cfg 361 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *user_cfg) user_cfg 366 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->cfa != user_cfg->cfa) user_cfg 369 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->num_acc_frames != user_cfg->num_acc_frames) user_cfg 372 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->hist_bins != user_cfg->hist_bins) user_cfg 376 drivers/media/platform/omap3isp/isphist.c if (c == 3 && user_cfg->cfa == OMAP3ISP_HIST_CFA_FOVEONX3) user_cfg 378 drivers/media/platform/omap3isp/isphist.c else if (cur_cfg->wg[c] != user_cfg->wg[c]) user_cfg 382 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->num_regions != user_cfg->num_regions) user_cfg 386 drivers/media/platform/omap3isp/isphist.c for (c = 0; c < user_cfg->num_regions; c++) { user_cfg 387 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].h_start != user_cfg->region[c].h_start) user_cfg 389 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].h_end != user_cfg->region[c].h_end) user_cfg 391 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].v_start != user_cfg->region[c].v_start) user_cfg 393 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].v_end != user_cfg->region[c].v_end) user_cfg 406 drivers/media/platform/omap3isp/isphist.c struct omap3isp_hist_config *user_cfg = new_conf; user_cfg 409 drivers/media/platform/omap3isp/isphist.c if (!hist->configured || hist_comp_params(hist, user_cfg)) { user_cfg 410 drivers/media/platform/omap3isp/isphist.c memcpy(cur_cfg, user_cfg, sizeof(*user_cfg)); user_cfg 411 drivers/media/platform/omap3isp/isphist.c if (user_cfg->num_acc_frames == 0) user_cfg 412 drivers/media/platform/omap3isp/isphist.c user_cfg->num_acc_frames = 1; user_cfg 541 drivers/media/platform/omap3isp/ispstat.c struct ispstat_generic_config *user_cfg = new_conf; user_cfg 542 drivers/media/platform/omap3isp/ispstat.c u32 buf_size = user_cfg->buf_size; user_cfg 558 drivers/media/platform/omap3isp/ispstat.c if (buf_size != user_cfg->buf_size) user_cfg 562 drivers/media/platform/omap3isp/ispstat.c (unsigned long)user_cfg->buf_size); user_cfg 576 drivers/media/platform/omap3isp/ispstat.c buf_size = user_cfg->buf_size * 2 + MAGIC_SIZE; user_cfg 591 drivers/media/platform/omap3isp/ispstat.c buf_size = PAGE_ALIGN(user_cfg->buf_size + MAGIC_SIZE); user_cfg 608 drivers/media/platform/omap3isp/ispstat.c user_cfg->config_counter = stat->config_counter + stat->inc_config;