Lines Matching refs:edid_ext
2432 u8 *edid_ext = NULL; in drm_find_edid_extension() local
2441 edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1); in drm_find_edid_extension()
2442 if (edid_ext[0] == ext_id) in drm_find_edid_extension()
2449 return edid_ext; in drm_find_edid_extension()
3382 u8 *edid_ext; in drm_detect_hdmi_monitor() local
3386 edid_ext = drm_find_cea_extension(edid); in drm_detect_hdmi_monitor()
3387 if (!edid_ext) in drm_detect_hdmi_monitor()
3390 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_hdmi_monitor()
3397 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_hdmi_monitor()
3398 if (cea_db_is_hdmi_vsdb(&edid_ext[i])) in drm_detect_hdmi_monitor()
3420 u8 *edid_ext; in drm_detect_monitor_audio() local
3425 edid_ext = drm_find_cea_extension(edid); in drm_detect_monitor_audio()
3426 if (!edid_ext) in drm_detect_monitor_audio()
3429 has_audio = ((edid_ext[3] & EDID_BASIC_AUDIO) != 0); in drm_detect_monitor_audio()
3436 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_monitor_audio()
3439 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_monitor_audio()
3440 if (cea_db_tag(&edid_ext[i]) == AUDIO_BLOCK) { in drm_detect_monitor_audio()
3442 for (j = 1; j < cea_db_payload_len(&edid_ext[i]) + 1; j += 3) in drm_detect_monitor_audio()
3444 (edid_ext[i + j] >> 3) & 0xf); in drm_detect_monitor_audio()
3465 u8 *edid_ext; in drm_rgb_quant_range_selectable() local
3468 edid_ext = drm_find_cea_extension(edid); in drm_rgb_quant_range_selectable()
3469 if (!edid_ext) in drm_rgb_quant_range_selectable()
3472 if (cea_db_offsets(edid_ext, &start, &end)) in drm_rgb_quant_range_selectable()
3475 for_each_cea_db(edid_ext, i, start, end) { in drm_rgb_quant_range_selectable()
3476 if (cea_db_tag(&edid_ext[i]) == VIDEO_CAPABILITY_BLOCK && in drm_rgb_quant_range_selectable()
3477 cea_db_payload_len(&edid_ext[i]) == 2) { in drm_rgb_quant_range_selectable()
3478 DRM_DEBUG_KMS("CEA VCDB 0x%02x\n", edid_ext[i + 2]); in drm_rgb_quant_range_selectable()
3479 return edid_ext[i + 2] & EDID_CEA_VCDB_QS; in drm_rgb_quant_range_selectable()
3502 u8 *edid_ext, *hdmi; in drm_assign_hdmi_deep_color_info() local
3507 edid_ext = drm_find_cea_extension(edid); in drm_assign_hdmi_deep_color_info()
3508 if (!edid_ext) in drm_assign_hdmi_deep_color_info()
3511 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_assign_hdmi_deep_color_info()
3518 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_assign_hdmi_deep_color_info()
3519 if (cea_db_is_hdmi_vsdb(&edid_ext[i])) { in drm_assign_hdmi_deep_color_info()
3523 hdmi = &edid_ext[i]; in drm_assign_hdmi_deep_color_info()
3602 u8 *edid_ext; in drm_add_display_info() local
3618 edid_ext = drm_find_cea_extension(edid); in drm_add_display_info()
3619 if (edid_ext) { in drm_add_display_info()
3620 info->cea_rev = edid_ext[1]; in drm_add_display_info()
3624 if (edid_ext[3] & EDID_CEA_YCRCB444) in drm_add_display_info()
3626 if (edid_ext[3] & EDID_CEA_YCRCB422) in drm_add_display_info()