Lines Matching refs:edid_ext

320 				  const unsigned char *edid_ext,  in show_audio_dbc()  argument
324 int db_len = edid_ext[dbc+DBC_TAG_LENGTH] & DBC_LEN_MASK; in show_audio_dbc()
328 (edid_ext[dbp + DBCA_FORMAT]>>3) & 0xf; in show_audio_dbc()
329 unsigned char dbca_rate = edid_ext[dbp + DBCA_RATE]; in show_audio_dbc()
332 (edid_ext[dbp + DBCA_FORMAT] & 0x7) + 1, in show_audio_dbc()
351 unsigned char dbca_info = edid_ext[dbp + DBCA_INFO]; in show_audio_dbc()
358 edid_ext[dbp + DBCA_INFO] * 8); in show_audio_dbc()
361 edid_ext[dbp + DBCA_INFO]); in show_audio_dbc()
369 const unsigned char *edid_ext, in show_vendor_dbc() argument
372 if ((edid_ext[dbp + DBCVND_IEEE_LO] != 0x03) || in show_vendor_dbc()
373 (edid_ext[dbp + DBCVND_IEEE_MID] != 0x0C) || in show_vendor_dbc()
374 (edid_ext[dbp + DBCVND_IEEE_HI] != 0x00)) { in show_vendor_dbc()
376 edid_ext[dbp + DBCVND_IEEE_LO], in show_vendor_dbc()
377 edid_ext[dbp + DBCVND_IEEE_MID], in show_vendor_dbc()
378 edid_ext[dbp + DBCVND_IEEE_HI]); in show_vendor_dbc()
385 edid_ext[dbp + DBCVHDMI_CEC_LO] + in show_vendor_dbc()
386 (edid_ext[dbp + DBCVHDMI_CEC_HI] << 8), in show_vendor_dbc()
387 (edid_ext[dbp + DBCVHDMI_SUPPORT] & 0x80) ? "AI " : "", in show_vendor_dbc()
388 (edid_ext[dbp + DBCVHDMI_SUPPORT] & 0x40) ? "DC_48bit " : "", in show_vendor_dbc()
389 (edid_ext[dbp + DBCVHDMI_SUPPORT] & 0x20) ? "DC_36bit " : "", in show_vendor_dbc()
390 (edid_ext[dbp + DBCVHDMI_SUPPORT] & 0x10) ? "DC_30bit " : "", in show_vendor_dbc()
391 (edid_ext[dbp + DBCVHDMI_SUPPORT] & 0x08) ? "DC_Y444 " : "", in show_vendor_dbc()
392 (edid_ext[dbp + DBCVHDMI_SUPPORT] & 0x01) ? "DVI_Dual" : ""); in show_vendor_dbc()
394 if (edid_ext[dbp + DBCVHDMI_MAXTMDS_5MHz] > 0) in show_vendor_dbc()
396 edid_ext[dbp + DBCVHDMI_MAXTMDS_5MHz]*5); in show_vendor_dbc()
398 if (edid_ext[dbp + DBCVHDMI_LATFLAGS] & 0x80) in show_vendor_dbc()
400 2 * (edid_ext[dbp + DBCVHDMI_VLAT] - 1), in show_vendor_dbc()
401 2 * (edid_ext[dbp + DBCVHDMI_ALAT] - 1)); in show_vendor_dbc()
403 if (edid_ext[dbp + 7] & 0x40) in show_vendor_dbc()
406 2 * (edid_ext[dbp + DBCVHDMI_IVLAT] - 1), in show_vendor_dbc()
407 2 * (edid_ext[dbp + DBCVHDMI_IALAT] - 1)); in show_vendor_dbc()
411 const unsigned char *edid_ext, in show_extended_dbc() argument
415 int db_len = edid_ext[dbc + DBC_TAG_LENGTH] & DBC_LEN_MASK; in show_extended_dbc()
417 switch (edid_ext[dbp + DBC_ETAG]) { in show_extended_dbc()
425 (edid_ext[dbp + VCDB_FLAGS] & 0x40) ? in show_extended_dbc()
431 vcdb_flags = edid_ext[dbp + VCDB_FLAGS]; in show_extended_dbc()
446 (edid_ext[dbp + COL_FLAGS] & 0x02) ? "HD(YCC709) " : "", in show_extended_dbc()
447 (edid_ext[dbp + COL_FLAGS] & 0x01) ? "SD(YCC601) " : "", in show_extended_dbc()
448 (edid_ext[dbp + COL_META] & 0x07)); in show_extended_dbc()
454 edid_ext[dbc + DBC_ETAG], db_len); in show_extended_dbc()
458 void show_cea_timing(FILE *outfile, unsigned char *edid_ext) in show_cea_timing() argument
461 int off_dtd = edid_ext[CEA_DTD_OFFSET]; in show_cea_timing()
477 edid_ext[CEA_NATIVE_DTDS] & 0xf); in show_cea_timing()
479 (edid_ext[CEA_SUPPORT] & 0x80) ? "" : "do not "); in show_cea_timing()
482 (edid_ext[CEA_SUPPORT] & 0x40) ? "" : "no ", in show_cea_timing()
483 (edid_ext[CEA_SUPPORT] & 0x20) ? "" : "no ", in show_cea_timing()
484 (edid_ext[CEA_SUPPORT] & 0x10) ? "" : "no "); in show_cea_timing()
490 int db_len = edid_ext[dbc + DBC_TAG_LENGTH] & DBC_LEN_MASK; in show_cea_timing()
493 switch (edid_ext[dbc+DBC_TAG_LENGTH] >> DBC_TAG_SHIFT) { in show_cea_timing()
496 show_audio_dbc(outfile, edid_ext, dbc); in show_cea_timing()
502 int vtype = edid_ext[dbp + DBCV_CODE] & 0x7f; in show_cea_timing()
504 (edid_ext[dbp + DBCV_CODE] & 0x80) ? in show_cea_timing()
512 show_vendor_dbc(outfile, edid_ext, dbc + 1); in show_cea_timing()
518 unsigned char dbcsp_alloc = edid_ext[dbp + DBCSP_ALLOC]; in show_cea_timing()
532 show_extended_dbc(outfile, edid_ext, dbc); in show_cea_timing()
538 edid_ext[dbc+DBC_TAG_LENGTH] >> DBC_TAG_SHIFT, in show_cea_timing()
547 if ((edid_ext[off_dtd + DTD_SIZE * i + DTD_PCLK_LO] == 0) && in show_cea_timing()
548 (edid_ext[off_dtd + DTD_SIZE * i + DTD_PCLK_HI] == 0)) { in show_cea_timing()
553 show_edid_dtd(outfile, edid_ext + (off_dtd + DTD_SIZE * i)); in show_cea_timing()
572 const unsigned char *edid_ext = edid_data + EDID_SIZE; in edid_lpcm_support() local
574 int off_dtd = edid_ext[CEA_DTD_OFFSET]; in edid_lpcm_support()
583 if (!((edid_ext[EEXT_TAG] == 0x02) && (edid_ext[EEXT_REV] == 0x03))) in edid_lpcm_support()
594 int db_len = edid_ext[dbc + DBC_TAG_LENGTH] & DBC_LEN_MASK; in edid_lpcm_support()
599 dbc_type = edid_ext[dbc + DBC_TAG_LENGTH] >> DBC_TAG_SHIFT; in edid_lpcm_support()
601 (((edid_ext[dbp + DBCA_FORMAT]>>3) & 0xF) == DBCA_FMT_LPCM)) in edid_lpcm_support()
602 return edid_ext[dbp + DBCA_RATE]; in edid_lpcm_support()
611 if (edid_ext[CEA_SUPPORT] & 0x40) in edid_lpcm_support()
620 const unsigned char *edid_ext = edid_data + EDID_SIZE; in edid_has_hdmi_info() local
622 int off_dtd = edid_ext[CEA_DTD_OFFSET]; in edid_has_hdmi_info()
631 if (!((edid_ext[EEXT_TAG] == 0x02) && (edid_ext[EEXT_REV] == 0x03))) in edid_has_hdmi_info()
642 int db_len = edid_ext[dbc + DBC_TAG_LENGTH] & DBC_LEN_MASK; in edid_has_hdmi_info()
646 dbc_type = edid_ext[dbc + DBC_TAG_LENGTH] >> DBC_TAG_SHIFT; in edid_has_hdmi_info()
649 if ((edid_ext[dbp + DBCVND_IEEE_LO] == 0x03) && in edid_has_hdmi_info()
650 (edid_ext[dbp + DBCVND_IEEE_MID] == 0x0C) && in edid_has_hdmi_info()
651 (edid_ext[dbp + DBCVND_IEEE_HI] == 0x00)) in edid_has_hdmi_info()
665 unsigned char *edid_ext; in show_edid() local
782 edid_ext = edid_data + EDID_SIZE; in show_edid()
785 unsigned char eext_tag = edid_ext[EEXT_TAG]; in show_edid()
786 if ((eext_tag == 0x02) && (edid_ext[EEXT_REV] == 0x03)) { in show_edid()
787 show_cea_timing(outfile, edid_ext); in show_edid()
821 edid_ext[EEXT_TAG], in show_edid()
822 edid_ext[EEXT_REV]); in show_edid()