Lines Matching refs:edid_info
19 int edid_check_info(struct edid1_info *edid_info) in edid_check_info() argument
21 if ((edid_info == NULL) || (edid_info->version == 0)) in edid_check_info()
24 if (memcmp(edid_info->header, "\x0\xff\xff\xff\xff\xff\xff\x0", 8)) in edid_check_info()
27 if (edid_info->version == 0xff && edid_info->revision == 0xff) in edid_check_info()
321 void edid_print_info(struct edid1_info *edid_info) in edid_print_info() argument
328 if (edid_check_info(edid_info)) { in edid_print_info()
334 edid_info->version, edid_info->revision); in edid_print_info()
336 printf("Product ID code: %04x\n", EDID1_INFO_PRODUCT_CODE(*edid_info)); in edid_print_info()
338 edid_get_manufacturer_name(edid_info, manufacturer); in edid_print_info()
341 serial_number = EDID1_INFO_SERIAL_NUMBER(*edid_info); in edid_print_info()
352 edid_info->week, edid_info->year + 1990); in edid_print_info()
355 EDID1_INFO_VIDEO_INPUT_DIGITAL(*edid_info) ? in edid_print_info()
357 EDID1_INFO_VIDEO_INPUT_VOLTAGE_LEVEL(*edid_info), in edid_print_info()
358 EDID1_INFO_VIDEO_INPUT_BLANK_TO_BLACK(*edid_info) ? in edid_print_info()
360 EDID1_INFO_VIDEO_INPUT_SEPARATE_SYNC(*edid_info) ? in edid_print_info()
362 EDID1_INFO_VIDEO_INPUT_COMPOSITE_SYNC(*edid_info) ? in edid_print_info()
364 EDID1_INFO_VIDEO_INPUT_SYNC_ON_GREEN(*edid_info) ? in edid_print_info()
366 EDID1_INFO_VIDEO_INPUT_SERRATION_V(*edid_info) ? in edid_print_info()
370 EDID1_INFO_FEATURE_RGB(*edid_info) ? "RGB" : "non-RGB"); in edid_print_info()
373 edid_info->max_size_horizontal, in edid_print_info()
374 edid_info->max_size_vertical); in edid_print_info()
377 EDID1_INFO_FEATURE_ACTIVE_OFF(*edid_info) ? in edid_print_info()
379 EDID1_INFO_FEATURE_SUSPEND(*edid_info) ? "" : "no ", "suspend", in edid_print_info()
380 EDID1_INFO_FEATURE_STANDBY(*edid_info) ? "" : "no ", "standby"); in edid_print_info()
383 if (EDID1_INFO_ESTABLISHED_TIMING_720X400_70(*edid_info)) in edid_print_info()
385 if (EDID1_INFO_ESTABLISHED_TIMING_720X400_88(*edid_info)) in edid_print_info()
387 if (EDID1_INFO_ESTABLISHED_TIMING_640X480_60(*edid_info)) in edid_print_info()
389 if (EDID1_INFO_ESTABLISHED_TIMING_640X480_67(*edid_info)) in edid_print_info()
391 if (EDID1_INFO_ESTABLISHED_TIMING_640X480_72(*edid_info)) in edid_print_info()
393 if (EDID1_INFO_ESTABLISHED_TIMING_640X480_75(*edid_info)) in edid_print_info()
395 if (EDID1_INFO_ESTABLISHED_TIMING_800X600_56(*edid_info)) in edid_print_info()
397 if (EDID1_INFO_ESTABLISHED_TIMING_800X600_60(*edid_info)) in edid_print_info()
399 if (EDID1_INFO_ESTABLISHED_TIMING_800X600_72(*edid_info)) in edid_print_info()
401 if (EDID1_INFO_ESTABLISHED_TIMING_800X600_75(*edid_info)) in edid_print_info()
403 if (EDID1_INFO_ESTABLISHED_TIMING_832X624_75(*edid_info)) in edid_print_info()
405 if (EDID1_INFO_ESTABLISHED_TIMING_1024X768_87I(*edid_info)) in edid_print_info()
407 if (EDID1_INFO_ESTABLISHED_TIMING_1024X768_60(*edid_info)) in edid_print_info()
409 if (EDID1_INFO_ESTABLISHED_TIMING_1024X768_70(*edid_info)) in edid_print_info()
411 if (EDID1_INFO_ESTABLISHED_TIMING_1024X768_75(*edid_info)) in edid_print_info()
413 if (EDID1_INFO_ESTABLISHED_TIMING_1280X1024_75(*edid_info)) in edid_print_info()
415 if (EDID1_INFO_ESTABLISHED_TIMING_1152X870_75(*edid_info)) in edid_print_info()
420 for (i = 0; i < ARRAY_SIZE(edid_info->standard_timings); i++) { in edid_print_info()
425 xres = EDID1_INFO_STANDARD_TIMING_XRESOLUTION(*edid_info, i); in edid_print_info()
426 vfreq = EDID1_INFO_STANDARD_TIMING_VFREQ(*edid_info, i); in edid_print_info()
430 switch (EDID1_INFO_STANDARD_TIMING_ASPECT(*edid_info, in edid_print_info()
454 for (i = 0; i < ARRAY_SIZE(edid_info->monitor_details.descriptor); in edid_print_info()
456 edid_print_dtd(&edid_info->monitor_details.descriptor[i], in edid_print_info()