Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Dhdmi5_core.c473 struct csc_table csc_coeff) in hdmi_core_csc_config() argument
477 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_MSB, csc_coeff.a1 >> 8 , 6, 0); in hdmi_core_csc_config()
478 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_LSB, csc_coeff.a1, 7, 0); in hdmi_core_csc_config()
479 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_MSB, csc_coeff.a2 >> 8, 6, 0); in hdmi_core_csc_config()
480 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_LSB, csc_coeff.a2, 7, 0); in hdmi_core_csc_config()
481 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_MSB, csc_coeff.a3 >> 8, 6, 0); in hdmi_core_csc_config()
482 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_LSB, csc_coeff.a3, 7, 0); in hdmi_core_csc_config()
483 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_MSB, csc_coeff.a4 >> 8, 6, 0); in hdmi_core_csc_config()
484 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_LSB, csc_coeff.a4, 7, 0); in hdmi_core_csc_config()
485 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B1_MSB, csc_coeff.b1 >> 8, 6, 0); in hdmi_core_csc_config()
[all …]
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5_core.c465 struct csc_table csc_coeff) in hdmi_core_csc_config() argument
469 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_MSB, csc_coeff.a1 >> 8 , 6, 0); in hdmi_core_csc_config()
470 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_LSB, csc_coeff.a1, 7, 0); in hdmi_core_csc_config()
471 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_MSB, csc_coeff.a2 >> 8, 6, 0); in hdmi_core_csc_config()
472 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_LSB, csc_coeff.a2, 7, 0); in hdmi_core_csc_config()
473 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_MSB, csc_coeff.a3 >> 8, 6, 0); in hdmi_core_csc_config()
474 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_LSB, csc_coeff.a3, 7, 0); in hdmi_core_csc_config()
475 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_MSB, csc_coeff.a4 >> 8, 6, 0); in hdmi_core_csc_config()
476 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_LSB, csc_coeff.a4, 7, 0); in hdmi_core_csc_config()
477 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B1_MSB, csc_coeff.b1 >> 8, 6, 0); in hdmi_core_csc_config()
[all …]
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c930 const u16 (*csc_coeff)[3][4] = &csc_coeff_default; in dw_hdmi_update_csc_coeffs() local
938 csc_coeff = &csc_coeff_rgb_out_eitu601; in dw_hdmi_update_csc_coeffs()
940 csc_coeff = &csc_coeff_rgb_out_eitu709; in dw_hdmi_update_csc_coeffs()
945 csc_coeff = &csc_coeff_rgb_in_eitu601; in dw_hdmi_update_csc_coeffs()
947 csc_coeff = &csc_coeff_rgb_in_eitu709; in dw_hdmi_update_csc_coeffs()
954 u16 coeff_a = (*csc_coeff)[0][i]; in dw_hdmi_update_csc_coeffs()
955 u16 coeff_b = (*csc_coeff)[1][i]; in dw_hdmi_update_csc_coeffs()
956 u16 coeff_c = (*csc_coeff)[2][i]; in dw_hdmi_update_csc_coeffs()