vdfc 398 drivers/media/platform/davinci/isif.c static int isif_config_dfc(struct isif_dfc *vdfc) vdfc 404 drivers/media/platform/davinci/isif.c if (!vdfc->en) vdfc 408 drivers/media/platform/davinci/isif.c val = (vdfc->corr_mode << ISIF_VDFC_CORR_MOD_SHIFT); vdfc 411 drivers/media/platform/davinci/isif.c if (vdfc->corr_whole_line) vdfc 415 drivers/media/platform/davinci/isif.c val |= vdfc->def_level_shift << ISIF_VDFC_LEVEL_SHFT_SHIFT; vdfc 420 drivers/media/platform/davinci/isif.c regw(vdfc->def_sat_level, VDFSATLV); vdfc 422 drivers/media/platform/davinci/isif.c regw(vdfc->table[0].pos_vert, DFCMEM0); vdfc 423 drivers/media/platform/davinci/isif.c regw(vdfc->table[0].pos_horz, DFCMEM1); vdfc 424 drivers/media/platform/davinci/isif.c if (vdfc->corr_mode == ISIF_VDFC_NORMAL || vdfc 425 drivers/media/platform/davinci/isif.c vdfc->corr_mode == ISIF_VDFC_HORZ_INTERPOL_IF_SAT) { vdfc 426 drivers/media/platform/davinci/isif.c regw(vdfc->table[0].level_at_pos, DFCMEM2); vdfc 427 drivers/media/platform/davinci/isif.c regw(vdfc->table[0].level_up_pixels, DFCMEM3); vdfc 428 drivers/media/platform/davinci/isif.c regw(vdfc->table[0].level_low_pixels, DFCMEM4); vdfc 444 drivers/media/platform/davinci/isif.c for (i = 1; i < vdfc->num_vdefects; i++) { vdfc 445 drivers/media/platform/davinci/isif.c regw(vdfc->table[i].pos_vert, DFCMEM0); vdfc 446 drivers/media/platform/davinci/isif.c regw(vdfc->table[i].pos_horz, DFCMEM1); vdfc 447 drivers/media/platform/davinci/isif.c if (vdfc->corr_mode == ISIF_VDFC_NORMAL || vdfc 448 drivers/media/platform/davinci/isif.c vdfc->corr_mode == ISIF_VDFC_HORZ_INTERPOL_IF_SAT) { vdfc 449 drivers/media/platform/davinci/isif.c regw(vdfc->table[i].level_at_pos, DFCMEM2); vdfc 450 drivers/media/platform/davinci/isif.c regw(vdfc->table[i].level_up_pixels, DFCMEM3); vdfc 451 drivers/media/platform/davinci/isif.c regw(vdfc->table[i].level_low_pixels, DFCMEM4); vdfc 469 drivers/media/platform/davinci/isif.c if (vdfc->num_vdefects < ISIF_VDFC_TABLE_SIZE) {