Lines Matching refs:raw_edid
881 int drm_edid_header_is_valid(const u8 *raw_edid)
886 if (raw_edid[i] == edid_header[i])
897 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid)
901 struct edid *edid = (struct edid *)raw_edid;
903 if (!raw_edid) {
911 int score = drm_edid_header_is_valid(raw_edid);
916 (void) memcpy(raw_edid, edid_header, sizeof(edid_header));
923 csum += raw_edid[i];
930 if (raw_edid[0] != 0x02)
935 switch (raw_edid[0]) {
955 // print_hex_dump_bytes(KERN_ERR, DUMP_PREFIX_NONE, raw_edid, EDID_LENGTH);
1046 u32 *raw_edid = (u32 *)(uintptr_t)(caddr_t)in_edid;
1049 if (*(raw_edid + i) != 0)
1316 drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure)
1319 struct edid *edid = (struct edid *)raw_edid;
1327 for (i = 1; i <= raw_edid[0x7e]; i++) {
1328 u8 *ext = raw_edid + (i * EDID_LENGTH);