Lines Matching defs:conf
33 struct omap3isp_hist_config *conf = hist->priv;
56 hist->wait_acc_frames = conf->num_acc_frames;
65 struct omap3isp_hist_config *conf = priv;
76 cnt = conf->cfa << ISPHIST_CNT_CFA_SHIFT;
78 wb_gain = conf->wg[0] << ISPHIST_WB_GAIN_WG00_SHIFT;
79 wb_gain |= conf->wg[1] << ISPHIST_WB_GAIN_WG01_SHIFT;
80 wb_gain |= conf->wg[2] << ISPHIST_WB_GAIN_WG02_SHIFT;
81 if (conf->cfa == OMAP3ISP_HIST_CFA_BAYER)
82 wb_gain |= conf->wg[3] << ISPHIST_WB_GAIN_WG03_SHIFT;
86 if (c < conf->num_regions) {
87 reg_hor[c] = (conf->region[c].h_start <<
89 | (conf->region[c].h_end <<
91 reg_ver[c] = (conf->region[c].v_start <<
93 | (conf->region[c].v_end <<
101 cnt |= conf->hist_bins << ISPHIST_CNT_BINS_SHIFT;
102 switch (conf->hist_bins) {
137 hist->buf_size = conf->buf_size;
293 static u32 hist_get_buf_size(struct omap3isp_hist_config *conf)
295 return OMAP3ISP_HIST_MEM_SIZE_BINS(conf->hist_bins) * conf->num_regions;