Lines Matching refs:conf
30 struct omap3isp_h3a_aewb_config *conf = priv; in h3a_aewb_setup_regs() local
47 pcr = conf->saturation_limit << ISPH3A_PCR_AEW_AVE2LMT_SHIFT; in h3a_aewb_setup_regs()
48 pcr |= !!conf->alaw_enable << ISPH3A_PCR_AEW_ALAW_EN_SHIFT; in h3a_aewb_setup_regs()
50 win1 = ((conf->win_height >> 1) - 1) << ISPH3A_AEWWIN1_WINH_SHIFT; in h3a_aewb_setup_regs()
51 win1 |= ((conf->win_width >> 1) - 1) << ISPH3A_AEWWIN1_WINW_SHIFT; in h3a_aewb_setup_regs()
52 win1 |= (conf->ver_win_count - 1) << ISPH3A_AEWWIN1_WINVC_SHIFT; in h3a_aewb_setup_regs()
53 win1 |= (conf->hor_win_count - 1) << ISPH3A_AEWWIN1_WINHC_SHIFT; in h3a_aewb_setup_regs()
55 start = conf->hor_win_start << ISPH3A_AEWINSTART_WINSH_SHIFT; in h3a_aewb_setup_regs()
56 start |= conf->ver_win_start << ISPH3A_AEWINSTART_WINSV_SHIFT; in h3a_aewb_setup_regs()
58 blk = conf->blk_ver_win_start << ISPH3A_AEWINBLK_WINSV_SHIFT; in h3a_aewb_setup_regs()
59 blk |= ((conf->blk_win_height >> 1) - 1) << ISPH3A_AEWINBLK_WINH_SHIFT; in h3a_aewb_setup_regs()
61 subwin = ((conf->subsample_ver_inc >> 1) - 1) << in h3a_aewb_setup_regs()
63 subwin |= ((conf->subsample_hor_inc >> 1) - 1) << in h3a_aewb_setup_regs()
78 aewb->buf_size = conf->buf_size; in h3a_aewb_setup_regs()
100 static u32 h3a_aewb_get_buf_size(struct omap3isp_h3a_aewb_config *conf) in h3a_aewb_get_buf_size() argument
103 u32 win_count = (conf->ver_win_count + 1) * conf->hor_win_count; in h3a_aewb_get_buf_size()