Home
last modified time | relevance | path

Searched refs:csc_mode (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/media/platform/rockchip/rga/
Drga-hw.h206 unsigned int csc_mode:2; member
322 unsigned int csc_mode:2; member
Drga-hw.c212 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT709_R0; in rga_cmd_set_trans_info()
215 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT601_R0; in rga_cmd_set_trans_info()
224 dst_info.data.csc_mode = RGA_SRC_CSC_MODE_BT709_R0; in rga_cmd_set_trans_info()
227 dst_info.data.csc_mode = RGA_DST_CSC_MODE_BT601_R0; in rga_cmd_set_trans_info()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Dinno_hdmi.c318 int csc_mode = 0; in inno_hdmi_config_video_csc() local
350 csc_mode = CSC_RGB_0_255_TO_ITU601_16_235_8BIT; in inno_hdmi_config_video_csc()
356 csc_mode = CSC_ITU601_16_235_TO_RGB_0_255_8BIT; in inno_hdmi_config_video_csc()
364 csc_mode = CSC_RGB_0_255_TO_ITU709_16_235_8BIT; in inno_hdmi_config_video_csc()
370 csc_mode = CSC_ITU709_16_235_TO_RGB_0_255_8BIT; in inno_hdmi_config_video_csc()
379 coeff_csc[csc_mode][i]); in inno_hdmi_config_video_csc()
Drockchip_drm_vop2.c699 static int vop2_convert_csc_mode(int csc_mode) in vop2_convert_csc_mode() argument
701 switch (csc_mode) { in vop2_convert_csc_mode()
762 int csc_mode; in vop2_setup_csc_mode() local
767 csc_mode = vop2_convert_csc_mode(input_csc); in vop2_setup_csc_mode()
771 csc_mode = vop2_convert_csc_mode(output_csc); in vop2_setup_csc_mode()
775 csc_mode = false; in vop2_setup_csc_mode()
780 vop2_win_write(win, VOP2_WIN_CSC_MODE, csc_mode); in vop2_setup_csc_mode()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_color.c522 crtc_state->csc_mode); in ilk_color_commit_arm()
534 crtc_state->csc_mode); in hsw_color_commit_arm()
559 crtc_state->csc_mode); in skl_color_commit_arm()
1486 crtc_state->csc_mode = ilk_csc_mode(crtc_state); in ilk_color_check()
1553 crtc_state->csc_mode = ivb_csc_mode(crtc_state); in ivb_color_check()
1601 crtc_state->csc_mode = 0; in glk_color_check()
1643 u32 csc_mode = 0; in icl_csc_mode() local
1646 csc_mode |= ICL_CSC_ENABLE; in icl_csc_mode()
1650 csc_mode |= ICL_OUTPUT_CSC_ENABLE; in icl_csc_mode()
1652 return csc_mode; in icl_csc_mode()
[all …]
Dintel_crtc_state_dump.c298 pipe_config->csc_mode, pipe_config->gamma_mode, in intel_crtc_state_dump()
Dintel_display_types.h1220 u32 csc_mode; member
Dintel_display.c3701 pipe_config->csc_mode = intel_de_read(dev_priv, in ilk_get_pipe_config()
4097 pipe_config->csc_mode = intel_de_read(dev_priv, in hsw_get_pipe_config()
5813 PIPE_CONF_CHECK_X(csc_mode); in intel_pipe_config_compare()
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun8i_vi_layer.c265 u32 val, ch_base, csc_mode, hw_fmt; in sun8i_vi_layer_update_formats() local
283 csc_mode = sun8i_vi_layer_get_csc_mode(fmt); in sun8i_vi_layer_update_formats()
284 if (csc_mode != SUN8I_CSC_MODE_OFF) { in sun8i_vi_layer_update_formats()
285 sun8i_csc_set_ccsc_coefficients(mixer, channel, csc_mode, in sun8i_vi_layer_update_formats()
/linux-6.1.9/drivers/media/i2c/
Dad9389b.c206 u8 csc_mode = 0; in ad9389b_csc_rgb_full2limit() local
208 ad9389b_csc_conversion_mode(sd, csc_mode); in ad9389b_csc_rgb_full2limit()
Dadv7511-v4l2.c326 u8 csc_mode = 0; in adv7511_csc_rgb_full2limit() local
327 adv7511_csc_conversion_mode(sd, csc_mode); in adv7511_csc_rgb_full2limit()