Lines Matching refs:hdmi_data
89 struct hdmi_data_info hdmi_data; member
583 hdmi_bus_fmt_color_depth(hdmi->hdmi_data.enc_out_bus_format); in hdmi_get_tmdsclock()
585 if (!hdmi_bus_fmt_is_yuv422(hdmi->hdmi_data.enc_out_bus_format)) { in hdmi_get_tmdsclock()
630 hdmi->hdmi_data.quant_range; in hdmi_config_AVI()
632 if (hdmi_bus_fmt_is_yuv420(hdmi->hdmi_data.enc_out_bus_format) || in hdmi_config_AVI()
644 if (hdmi_bus_fmt_is_yuv444(hdmi->hdmi_data.enc_out_bus_format)) in hdmi_config_AVI()
646 else if (hdmi_bus_fmt_is_yuv422(hdmi->hdmi_data.enc_out_bus_format)) in hdmi_config_AVI()
648 else if (hdmi_bus_fmt_is_yuv420(hdmi->hdmi_data.enc_out_bus_format)) in hdmi_config_AVI()
654 if (!hdmi_bus_fmt_is_rgb(hdmi->hdmi_data.enc_out_bus_format)) { in hdmi_config_AVI()
655 switch (hdmi->hdmi_data.enc_out_encoding) { in hdmi_config_AVI()
657 if (hdmi->hdmi_data.enc_in_encoding == V4L2_YCBCR_ENC_XV601) in hdmi_config_AVI()
665 if (hdmi->hdmi_data.enc_in_encoding == V4L2_YCBCR_ENC_XV709) in hdmi_config_AVI()
673 if (hdmi->hdmi_data.enc_in_encoding == V4L2_YCBCR_ENC_BT2020) in hdmi_config_AVI()
689 if (hdmi->hdmi_data.enc_out_encoding == V4L2_YCBCR_ENC_BT2020) { in hdmi_config_AVI()
1077 struct hdmi_vmode *vmode = &hdmi->hdmi_data.video_mode; in dw_hdmi_setup()
1087 if (hdmi_bus_fmt_is_yuv420(hdmi->hdmi_data.enc_out_bus_format)) in dw_hdmi_setup()
1092 hdmi->hdmi_data.enc_out_encoding = in dw_hdmi_setup()
1098 hdmi->hdmi_data.enc_out_encoding = V4L2_YCBCR_ENC_601; in dw_hdmi_setup()
1100 hdmi->hdmi_data.enc_out_encoding = V4L2_YCBCR_ENC_709; in dw_hdmi_setup()
1103 hdmi->hdmi_data.video_mode.mpixelrepetitionoutput = 1; in dw_hdmi_setup()
1104 hdmi->hdmi_data.video_mode.mpixelrepetitioninput = 1; in dw_hdmi_setup()
1106 hdmi->hdmi_data.video_mode.mpixelrepetitionoutput = 0; in dw_hdmi_setup()
1107 hdmi->hdmi_data.video_mode.mpixelrepetitioninput = 0; in dw_hdmi_setup()
1112 hdmi->hdmi_data.enc_in_encoding = in dw_hdmi_setup()
1115 hdmi->hdmi_data.enc_in_encoding = in dw_hdmi_setup()
1118 hdmi->hdmi_data.enc_in_encoding = V4L2_YCBCR_ENC_DEFAULT; in dw_hdmi_setup()
1121 hdmi->hdmi_data.quant_range = in dw_hdmi_setup()
1124 hdmi->hdmi_data.quant_range = HDMI_QUANTIZATION_RANGE_DEFAULT; in dw_hdmi_setup()
1132 hdmi->hdmi_data.pix_repet_factor = in dw_hdmi_setup()
1134 hdmi->hdmi_data.video_mode.mdataenablepolarity = true; in dw_hdmi_setup()
1140 if (hdmi->hdmi_data.enc_out_bus_format == MEDIA_BUS_FMT_YUYV10_1X20) in dw_hdmi_setup()
1324 hdmi->hdmi_data.enc_in_bus_format = bus_format; in rockchip_dw_hdmi_qp_config_output()
1325 hdmi->hdmi_data.enc_out_bus_format = bus_format; in rockchip_dw_hdmi_qp_config_output()
1330 hdmi->hdmi_data.enc_in_bus_format = in rockchip_dw_hdmi_qp_config_output()
1336 hdmi->hdmi_data.enc_in_bus_format = in rockchip_dw_hdmi_qp_config_output()
1365 conn_state->color_range = hdmi->hdmi_data.quant_range == in rockchip_dw_hdmi_qp_config_output()
1370 conn_state->color_range = hdmi->hdmi_data.quant_range == in rockchip_dw_hdmi_qp_config_output()