Home
last modified time | relevance | path

Searched refs:bclamp (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/media/platform/davinci/
Ddm644x_ccdc.c332 static void ccdc_config_black_clamp(struct ccdc_black_clamp *bclamp) in ccdc_config_black_clamp() argument
336 if (!bclamp->enable) { in ccdc_config_black_clamp()
338 val = (bclamp->dc_sub) & CCDC_BLK_DC_SUB_MASK; in ccdc_config_black_clamp()
349 val = ((bclamp->sgain & CCDC_BLK_SGAIN_MASK) | in ccdc_config_black_clamp()
350 ((bclamp->start_pixel & CCDC_BLK_ST_PXL_MASK) << in ccdc_config_black_clamp()
352 ((bclamp->sample_ln & CCDC_BLK_SAMPLE_LINE_MASK) << in ccdc_config_black_clamp()
354 ((bclamp->sample_pixel & CCDC_BLK_SAMPLE_LN_MASK) << in ccdc_config_black_clamp()
Ddm355_ccdc.c324 static void ccdc_config_black_clamp(struct ccdc_black_clamp *bclamp) in ccdc_config_black_clamp() argument
328 if (!bclamp->b_clamp_enable) { in ccdc_config_black_clamp()
330 regw(bclamp->dc_sub & CCDC_BLK_DC_SUB_MASK, DCSUB); in ccdc_config_black_clamp()
335 val = (bclamp->start_pixel & CCDC_BLK_ST_PXL_MASK) | in ccdc_config_black_clamp()
336 ((bclamp->sample_pixel & CCDC_BLK_SAMPLE_LN_MASK) << in ccdc_config_black_clamp()
341 val = (bclamp->sample_ln & CCDC_NUM_LINE_CALC_MASK) in ccdc_config_black_clamp()
Disif.c56 .bclamp = {
665 isif_config_bclamp(&module_params->bclamp); in isif_config_raw()
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c538 static int isif_validate_bclamp_params(struct vpfe_isif_black_clamp *bclamp) in isif_validate_bclamp_params() argument
542 if (bclamp->dc_offset > DM365_ISIF_MAX_CLDC) { in isif_validate_bclamp_params()
546 if (!bclamp->en) in isif_validate_bclamp_params()
548 if (bclamp->horz.clamp_pix_limit > 1) { in isif_validate_bclamp_params()
552 if (bclamp->horz.win_count_calc < 1 || in isif_validate_bclamp_params()
553 bclamp->horz.win_count_calc > 32) { in isif_validate_bclamp_params()
557 if (bclamp->horz.win_start_h_calc > DM365_ISIF_MAX_CLHSH) { in isif_validate_bclamp_params()
562 if (bclamp->horz.win_start_v_calc > DM365_ISIF_MAX_CLHSV) { in isif_validate_bclamp_params()
566 if (bclamp->vert.reset_clamp_val > DM365_ISIF_MAX_CLVRV) { in isif_validate_bclamp_params()
570 if (bclamp->vert.ob_v_sz_calc > DM365_ISIF_MAX_HEIGHT_BLACK_REGION) { in isif_validate_bclamp_params()
[all …]
Ddavinci_vpfe_user.h529 struct vpfe_isif_black_clamp bclamp; member
/Linux-v4.19/include/media/davinci/
Disif.h421 struct isif_black_clamp bclamp; member
/Linux-v4.19/drivers/media/platform/am437x/
Dam437x-vpfe.c608 struct vpfe_ccdc_black_clamp *bclamp) in vpfe_ccdc_config_black_clamp() argument
612 if (!bclamp->enable) { in vpfe_ccdc_config_black_clamp()
614 val = (bclamp->dc_sub) & VPFE_BLK_DC_SUB_MASK; in vpfe_ccdc_config_black_clamp()
623 val = ((bclamp->sgain & VPFE_BLK_SGAIN_MASK) | in vpfe_ccdc_config_black_clamp()
624 ((bclamp->start_pixel & VPFE_BLK_ST_PXL_MASK) << in vpfe_ccdc_config_black_clamp()
626 ((bclamp->sample_ln & VPFE_BLK_SAMPLE_LINE_MASK) << in vpfe_ccdc_config_black_clamp()
628 ((bclamp->sample_pixel & VPFE_BLK_SAMPLE_LN_MASK) << in vpfe_ccdc_config_black_clamp()
/Linux-v4.19/include/uapi/linux/
Domap3isp.h434 struct omap3isp_ccdc_bclamp __user *bclamp; member
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispccdc.c687 if (copy_from_user(&ccdc->clamp, ccdc_struct->bclamp, in ccdc_config()