Home
last modified time | relevance | path

Searched refs:csc_coeff (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/omapdrm/dss/
A Dhdmi5_core.c421 const struct csc_table *csc_coeff) in hdmi_core_write_csc() argument
426 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_LSB, csc_coeff->a1, 7, 0); in hdmi_core_write_csc()
428 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_LSB, csc_coeff->a2, 7, 0); in hdmi_core_write_csc()
430 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_LSB, csc_coeff->a3, 7, 0); in hdmi_core_write_csc()
432 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_LSB, csc_coeff->a4, 7, 0); in hdmi_core_write_csc()
434 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B1_LSB, csc_coeff->b1, 7, 0); in hdmi_core_write_csc()
436 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B2_LSB, csc_coeff->b2, 7, 0); in hdmi_core_write_csc()
463 const struct csc_table *csc_coeff; in hdmi_core_configure_range() local
470 csc_coeff = &csc_full_range; in hdmi_core_configure_range()
476 csc_coeff = &csc_limited_range; in hdmi_core_configure_range()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi5_core.c463 struct csc_table csc_coeff) in hdmi_core_csc_config() argument
468 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_LSB, csc_coeff.a1, 7, 0); in hdmi_core_csc_config()
470 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_LSB, csc_coeff.a2, 7, 0); in hdmi_core_csc_config()
472 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_LSB, csc_coeff.a3, 7, 0); in hdmi_core_csc_config()
474 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_LSB, csc_coeff.a4, 7, 0); in hdmi_core_csc_config()
476 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B1_LSB, csc_coeff.b1, 7, 0); in hdmi_core_csc_config()
478 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B2_LSB, csc_coeff.b2, 7, 0); in hdmi_core_csc_config()
480 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B3_LSB, csc_coeff.b3, 7, 0); in hdmi_core_csc_config()
497 struct csc_table csc_coeff = { 0 }; in hdmi_core_configure_range() local
500 csc_coeff = csc_table_deepcolor[0]; in hdmi_core_configure_range()
[all …]
/drivers/gpu/drm/bridge/synopsys/
A Ddw-hdmi.c1113 const u16 (*csc_coeff)[3][4] = &csc_coeff_default; in dw_hdmi_update_csc_coeffs() local
1123 csc_coeff = &csc_coeff_rgb_out_eitu601; in dw_hdmi_update_csc_coeffs()
1125 csc_coeff = &csc_coeff_rgb_out_eitu709; in dw_hdmi_update_csc_coeffs()
1128 csc_coeff = &csc_coeff_rgb_in_eitu601; in dw_hdmi_update_csc_coeffs()
1130 csc_coeff = &csc_coeff_rgb_in_eitu709; in dw_hdmi_update_csc_coeffs()
1134 csc_coeff = &csc_coeff_rgb_full_to_rgb_limited; in dw_hdmi_update_csc_coeffs()
1139 u16 coeff_a = (*csc_coeff)[0][i]; in dw_hdmi_update_csc_coeffs()
1140 u16 coeff_b = (*csc_coeff)[1][i]; in dw_hdmi_update_csc_coeffs()
1141 u16 coeff_c = (*csc_coeff)[2][i]; in dw_hdmi_update_csc_coeffs()

Completed in 13 milliseconds