Lines Matching refs:bc
309 static void isif_config_bclamp(struct isif_black_clamp *bc) in isif_config_bclamp() argument
317 regw(bc->dc_offset, CLDCOFST); in isif_config_bclamp()
319 if (bc->en) { in isif_config_bclamp()
320 val = bc->bc_mode_color << ISIF_BC_MODE_COLOR_SHIFT; in isif_config_bclamp()
323 val = val | 1 | (bc->horz.mode << ISIF_HORZ_BC_MODE_SHIFT); in isif_config_bclamp()
327 if (bc->horz.mode != ISIF_HORZ_BC_DISABLE) { in isif_config_bclamp()
337 val = bc->horz.win_count_calc | in isif_config_bclamp()
338 ((!!bc->horz.base_win_sel_calc) << in isif_config_bclamp()
340 ((!!bc->horz.clamp_pix_limit) << in isif_config_bclamp()
342 (bc->horz.win_h_sz_calc << in isif_config_bclamp()
344 (bc->horz.win_v_sz_calc << in isif_config_bclamp()
348 regw(bc->horz.win_start_h_calc, CLHWIN1); in isif_config_bclamp()
349 regw(bc->horz.win_start_v_calc, CLHWIN2); in isif_config_bclamp()
356 (bc->vert.reset_val_sel << ISIF_VERT_BC_RST_VAL_SEL_SHIFT) | in isif_config_bclamp()
357 (bc->vert.line_ave_coef << ISIF_VERT_BC_LINE_AVE_COEF_SHIFT); in isif_config_bclamp()
361 regw(bc->vert.ob_start_h, CLVWIN1); in isif_config_bclamp()
363 regw(bc->vert.ob_start_v, CLVWIN2); in isif_config_bclamp()
365 regw(bc->vert.ob_v_sz_calc, CLVWIN3); in isif_config_bclamp()
367 regw(bc->vert_start_sub, CLSV); in isif_config_bclamp()