Lines Matching refs:EDID_LENGTH
922 for (i = 0; i < EDID_LENGTH; i++)
955 // print_hex_dump_bytes(KERN_ERR, DUMP_PREFIX_NONE, raw_edid, EDID_LENGTH);
975 if (!drm_edid_block_valid(raw + i * EDID_LENGTH, i, true))
996 unsigned char start = block * EDID_LENGTH;
1062 if ((block = kmalloc(EDID_LENGTH * (DRM_MAX_EDID_EXT_NUM + 1), GFP_KERNEL)) == NULL)
1067 if (drm_do_probe_ddc_edid(adapter, block, 0, EDID_LENGTH))
1071 if (i == 0 && drm_edid_is_zero(block, EDID_LENGTH)) {
1086 block + (valid_extensions + 1) * EDID_LENGTH,
1087 j, EDID_LENGTH))
1089 if (drm_edid_block_valid(block + (valid_extensions + 1) * EDID_LENGTH, j, print_bad_edid)) {
1100 block[EDID_LENGTH-1] += block[0x7e] - valid_extensions;
1114 kfree(block, EDID_LENGTH * (DRM_MAX_EDID_EXT_NUM + 1));
1328 u8 *ext = raw_edid + (i * EDID_LENGTH);
2234 edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1);