Searched refs:csc_coeff (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi5_core.c | 421 const struct csc_table *csc_coeff) in hdmi_core_write_csc() argument 425 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_MSB, csc_coeff->a1 >> 8, 6, 0); in hdmi_core_write_csc() 426 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_LSB, csc_coeff->a1, 7, 0); in hdmi_core_write_csc() 427 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_MSB, csc_coeff->a2 >> 8, 6, 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() 429 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_MSB, csc_coeff->a3 >> 8, 6, 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() 431 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_MSB, csc_coeff->a4 >> 8, 6, 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() 433 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B1_MSB, csc_coeff->b1 >> 8, 6, 0); in hdmi_core_write_csc() [all …]
|
/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi5_core.c | 463 struct csc_table csc_coeff) in hdmi_core_csc_config() argument 467 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_MSB, csc_coeff.a1 >> 8 , 6, 0); in hdmi_core_csc_config() 468 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A1_LSB, csc_coeff.a1, 7, 0); in hdmi_core_csc_config() 469 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A2_MSB, csc_coeff.a2 >> 8, 6, 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() 471 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A3_MSB, csc_coeff.a3 >> 8, 6, 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() 473 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_A4_MSB, csc_coeff.a4 >> 8, 6, 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() 475 REG_FLD_MOD(base, HDMI_CORE_CSC_COEF_B1_MSB, csc_coeff.b1 >> 8, 6, 0); in hdmi_core_csc_config() [all …]
|
/Linux-v6.6/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 1115 const u16 (*csc_coeff)[3][4] = &csc_coeff_default; in dw_hdmi_update_csc_coeffs() local 1125 csc_coeff = &csc_coeff_rgb_out_eitu601; in dw_hdmi_update_csc_coeffs() 1127 csc_coeff = &csc_coeff_rgb_out_eitu709; in dw_hdmi_update_csc_coeffs() 1130 csc_coeff = &csc_coeff_rgb_in_eitu601; in dw_hdmi_update_csc_coeffs() 1132 csc_coeff = &csc_coeff_rgb_in_eitu709; in dw_hdmi_update_csc_coeffs() 1136 csc_coeff = &csc_coeff_rgb_full_to_rgb_limited; in dw_hdmi_update_csc_coeffs() 1141 u16 coeff_a = (*csc_coeff)[0][i]; in dw_hdmi_update_csc_coeffs() 1142 u16 coeff_b = (*csc_coeff)[1][i]; in dw_hdmi_update_csc_coeffs() 1143 u16 coeff_c = (*csc_coeff)[2][i]; in dw_hdmi_update_csc_coeffs()
|