Lines Matching refs:edid_ext
2493 u8 *edid_ext = NULL; in drm_find_edid_extension() local
2502 edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1); in drm_find_edid_extension()
2503 if (edid_ext[0] == ext_id) in drm_find_edid_extension()
2510 return edid_ext; in drm_find_edid_extension()
3480 u8 *edid_ext; in drm_detect_hdmi_monitor() local
3484 edid_ext = drm_find_cea_extension(edid); in drm_detect_hdmi_monitor()
3485 if (!edid_ext) in drm_detect_hdmi_monitor()
3488 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_hdmi_monitor()
3495 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_hdmi_monitor()
3496 if (cea_db_is_hdmi_vsdb(&edid_ext[i])) in drm_detect_hdmi_monitor()
3518 u8 *edid_ext; in drm_detect_monitor_audio() local
3523 edid_ext = drm_find_cea_extension(edid); in drm_detect_monitor_audio()
3524 if (!edid_ext) in drm_detect_monitor_audio()
3527 has_audio = ((edid_ext[3] & EDID_BASIC_AUDIO) != 0); in drm_detect_monitor_audio()
3534 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_monitor_audio()
3537 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_monitor_audio()
3538 if (cea_db_tag(&edid_ext[i]) == AUDIO_BLOCK) { in drm_detect_monitor_audio()
3540 for (j = 1; j < cea_db_payload_len(&edid_ext[i]) + 1; j += 3) in drm_detect_monitor_audio()
3542 (edid_ext[i + j] >> 3) & 0xf); in drm_detect_monitor_audio()
3563 u8 *edid_ext; in drm_rgb_quant_range_selectable() local
3566 edid_ext = drm_find_cea_extension(edid); in drm_rgb_quant_range_selectable()
3567 if (!edid_ext) in drm_rgb_quant_range_selectable()
3570 if (cea_db_offsets(edid_ext, &start, &end)) in drm_rgb_quant_range_selectable()
3573 for_each_cea_db(edid_ext, i, start, end) { in drm_rgb_quant_range_selectable()
3574 if (cea_db_tag(&edid_ext[i]) == VIDEO_CAPABILITY_BLOCK && in drm_rgb_quant_range_selectable()
3575 cea_db_payload_len(&edid_ext[i]) == 2) { in drm_rgb_quant_range_selectable()
3576 DRM_DEBUG_KMS("CEA VCDB 0x%02x\n", edid_ext[i + 2]); in drm_rgb_quant_range_selectable()
3577 return edid_ext[i + 2] & EDID_CEA_VCDB_QS; in drm_rgb_quant_range_selectable()
3600 u8 *edid_ext, *hdmi; in drm_assign_hdmi_deep_color_info() local
3605 edid_ext = drm_find_cea_extension(edid); in drm_assign_hdmi_deep_color_info()
3606 if (!edid_ext) in drm_assign_hdmi_deep_color_info()
3609 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_assign_hdmi_deep_color_info()
3616 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_assign_hdmi_deep_color_info()
3617 if (cea_db_is_hdmi_vsdb(&edid_ext[i])) { in drm_assign_hdmi_deep_color_info()
3621 hdmi = &edid_ext[i]; in drm_assign_hdmi_deep_color_info()
3700 u8 *edid_ext; in drm_add_display_info() local
3716 edid_ext = drm_find_cea_extension(edid); in drm_add_display_info()
3717 if (edid_ext) { in drm_add_display_info()
3718 info->cea_rev = edid_ext[1]; in drm_add_display_info()
3722 if (edid_ext[3] & EDID_CEA_YCRCB444) in drm_add_display_info()
3724 if (edid_ext[3] & EDID_CEA_YCRCB422) in drm_add_display_info()