Lines Matching full:csc
501 struct csc_cfg *csc) in csc_enable() argument
503 uint32_t i, mode = 0; /* RGB, no CSC */ in csc_enable()
506 if (unlikely(!csc)) in csc_enable()
509 if ((csc->type == CSC_YUV2RGB) || (CSC_YUV2YUV == csc->type)) in csc_enable()
511 if ((csc->type == CSC_RGB2YUV) || (CSC_YUV2YUV == csc->type)) in csc_enable()
516 matrix = csc->matrix; in csc_enable()
532 for (i = 0; i < ARRAY_SIZE(csc->pre_bias); i++) { in csc_enable()
533 uint32_t *pre_clamp = csc->pre_clamp; in csc_enable()
534 uint32_t *post_clamp = csc->post_clamp; in csc_enable()
545 MDP5_PIPE_CSC_1_PRE_BIAS_REG_VALUE(csc->pre_bias[i])); in csc_enable()
548 MDP5_PIPE_CSC_1_POST_BIAS_REG_VALUE(csc->post_bias[i])); in csc_enable()