Lines Matching refs:edid_ext
2512 u8 *edid_ext = NULL; in drm_find_edid_extension() local
2521 edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1); in drm_find_edid_extension()
2522 if (edid_ext[0] == ext_id) in drm_find_edid_extension()
2529 return edid_ext; in drm_find_edid_extension()
3504 u8 *edid_ext; in drm_detect_hdmi_monitor() local
3508 edid_ext = drm_find_cea_extension(edid); in drm_detect_hdmi_monitor()
3509 if (!edid_ext) in drm_detect_hdmi_monitor()
3512 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_hdmi_monitor()
3519 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_hdmi_monitor()
3520 if (cea_db_is_hdmi_vsdb(&edid_ext[i])) in drm_detect_hdmi_monitor()
3542 u8 *edid_ext; in drm_detect_monitor_audio() local
3547 edid_ext = drm_find_cea_extension(edid); in drm_detect_monitor_audio()
3548 if (!edid_ext) in drm_detect_monitor_audio()
3551 has_audio = ((edid_ext[3] & EDID_BASIC_AUDIO) != 0); in drm_detect_monitor_audio()
3558 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_monitor_audio()
3561 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_monitor_audio()
3562 if (cea_db_tag(&edid_ext[i]) == AUDIO_BLOCK) { in drm_detect_monitor_audio()
3564 for (j = 1; j < cea_db_payload_len(&edid_ext[i]) + 1; j += 3) in drm_detect_monitor_audio()
3566 (edid_ext[i + j] >> 3) & 0xf); in drm_detect_monitor_audio()
3587 u8 *edid_ext; in drm_rgb_quant_range_selectable() local
3590 edid_ext = drm_find_cea_extension(edid); in drm_rgb_quant_range_selectable()
3591 if (!edid_ext) in drm_rgb_quant_range_selectable()
3594 if (cea_db_offsets(edid_ext, &start, &end)) in drm_rgb_quant_range_selectable()
3597 for_each_cea_db(edid_ext, i, start, end) { in drm_rgb_quant_range_selectable()
3598 if (cea_db_tag(&edid_ext[i]) == VIDEO_CAPABILITY_BLOCK && in drm_rgb_quant_range_selectable()
3599 cea_db_payload_len(&edid_ext[i]) == 2) { in drm_rgb_quant_range_selectable()
3600 DRM_DEBUG_KMS("CEA VCDB 0x%02x\n", edid_ext[i + 2]); in drm_rgb_quant_range_selectable()
3601 return edid_ext[i + 2] & EDID_CEA_VCDB_QS; in drm_rgb_quant_range_selectable()
3624 u8 *edid_ext, *hdmi; in drm_assign_hdmi_deep_color_info() local
3629 edid_ext = drm_find_cea_extension(edid); in drm_assign_hdmi_deep_color_info()
3630 if (!edid_ext) in drm_assign_hdmi_deep_color_info()
3633 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_assign_hdmi_deep_color_info()
3640 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_assign_hdmi_deep_color_info()
3641 if (cea_db_is_hdmi_vsdb(&edid_ext[i])) { in drm_assign_hdmi_deep_color_info()
3645 hdmi = &edid_ext[i]; in drm_assign_hdmi_deep_color_info()
3724 u8 *edid_ext; in drm_add_display_info() local
3740 edid_ext = drm_find_cea_extension(edid); in drm_add_display_info()
3741 if (edid_ext) { in drm_add_display_info()
3742 info->cea_rev = edid_ext[1]; in drm_add_display_info()
3746 if (edid_ext[3] & EDID_CEA_YCRCB444) in drm_add_display_info()
3748 if (edid_ext[3] & EDID_CEA_YCRCB422) in drm_add_display_info()