Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/gpu/drm/i915/display/
Dintel_color.c374 if (crtc_state->csc_mode & ICL_CSC_ENABLE) in icl_read_csc()
377 if (crtc_state->csc_mode & ICL_OUTPUT_CSC_ENABLE) in icl_read_csc()
536 drm_WARN_ON(&i915->drm, (crtc_state->csc_mode & ICL_CSC_ENABLE) == 0); in icl_assign_csc()
540 drm_WARN_ON(&i915->drm, (crtc_state->csc_mode & ICL_CSC_ENABLE) != 0); in icl_assign_csc()
546 drm_WARN_ON(&i915->drm, (crtc_state->csc_mode & ICL_OUTPUT_CSC_ENABLE) == 0); in icl_assign_csc()
550 drm_WARN_ON(&i915->drm, (crtc_state->csc_mode & ICL_OUTPUT_CSC_ENABLE) == 0); in icl_assign_csc()
554 drm_WARN_ON(&i915->drm, (crtc_state->csc_mode & ICL_OUTPUT_CSC_ENABLE) != 0); in icl_assign_csc()
564 if (crtc_state->csc_mode & ICL_CSC_ENABLE) in icl_load_csc_matrix()
567 if (crtc_state->csc_mode & ICL_OUTPUT_CSC_ENABLE) in icl_load_csc_matrix()
1001 crtc_state->csc_mode); in ilk_color_commit_arm()
[all …]
Dintel_crtc_state_dump.c360 pipe_config->csc_mode, pipe_config->gamma_mode, in intel_crtc_state_dump()
Dintel_display_types.h1286 u32 csc_mode; member
Dintel_display.c3347 pipe_config->csc_mode = intel_de_read(dev_priv, in ilk_get_pipe_config()
3744 pipe_config->csc_mode = intel_de_read(dev_priv, in hsw_get_pipe_config()
5289 PIPE_CONF_CHECK_X(csc_mode); in intel_pipe_config_compare()
/linux-6.6.21/drivers/gpu/drm/rockchip/
Dinno_hdmi.c319 int csc_mode = 0; in inno_hdmi_config_video_csc() local
351 csc_mode = CSC_RGB_0_255_TO_ITU601_16_235_8BIT; in inno_hdmi_config_video_csc()
357 csc_mode = CSC_ITU601_16_235_TO_RGB_0_255_8BIT; in inno_hdmi_config_video_csc()
365 csc_mode = CSC_RGB_0_255_TO_ITU709_16_235_8BIT; in inno_hdmi_config_video_csc()
371 csc_mode = CSC_ITU709_16_235_TO_RGB_0_255_8BIT; in inno_hdmi_config_video_csc()
380 coeff_csc[csc_mode][i]); in inno_hdmi_config_video_csc()
Drockchip_drm_vop2.c701 static int vop2_convert_csc_mode(int csc_mode) in vop2_convert_csc_mode() argument
703 switch (csc_mode) { in vop2_convert_csc_mode()
764 int csc_mode; in vop2_setup_csc_mode() local
769 csc_mode = vop2_convert_csc_mode(input_csc); in vop2_setup_csc_mode()
773 csc_mode = vop2_convert_csc_mode(output_csc); in vop2_setup_csc_mode()
777 csc_mode = false; in vop2_setup_csc_mode()
782 vop2_win_write(win, VOP2_WIN_CSC_MODE, csc_mode); in vop2_setup_csc_mode()
/linux-6.6.21/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.6.21/drivers/media/i2c/
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()