Lines Matching refs:conf
37 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem() local
60 hist->wait_acc_frames = conf->num_acc_frames; in hist_reset_mem()
69 struct omap3isp_hist_config *conf = priv; in hist_setup_regs() local
80 cnt = conf->cfa << ISPHIST_CNT_CFA_SHIFT; in hist_setup_regs()
82 wb_gain = conf->wg[0] << ISPHIST_WB_GAIN_WG00_SHIFT; in hist_setup_regs()
83 wb_gain |= conf->wg[1] << ISPHIST_WB_GAIN_WG01_SHIFT; in hist_setup_regs()
84 wb_gain |= conf->wg[2] << ISPHIST_WB_GAIN_WG02_SHIFT; in hist_setup_regs()
85 if (conf->cfa == OMAP3ISP_HIST_CFA_BAYER) in hist_setup_regs()
86 wb_gain |= conf->wg[3] << ISPHIST_WB_GAIN_WG03_SHIFT; in hist_setup_regs()
90 if (c < conf->num_regions) { in hist_setup_regs()
91 reg_hor[c] = (conf->region[c].h_start << in hist_setup_regs()
93 | (conf->region[c].h_end << in hist_setup_regs()
95 reg_ver[c] = (conf->region[c].v_start << in hist_setup_regs()
97 | (conf->region[c].v_end << in hist_setup_regs()
105 cnt |= conf->hist_bins << ISPHIST_CNT_BINS_SHIFT; in hist_setup_regs()
106 switch (conf->hist_bins) { in hist_setup_regs()
141 hist->buf_size = conf->buf_size; in hist_setup_regs()
297 static u32 hist_get_buf_size(struct omap3isp_hist_config *conf) in hist_get_buf_size() argument
299 return OMAP3ISP_HIST_MEM_SIZE_BINS(conf->hist_bins) * conf->num_regions; in hist_get_buf_size()