Searched defs:edid_vendor (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_edid.c1156 * edid_vendor - match a string against EDID's obfuscated vendor field
1162 static bool edid_vendor(struct edid *edid, char *vendor) function
1164 char edid_vendor[3]; local
1166 edid_vendor[0] = ((edid->mfg_id[0] & 0x7c) >> 2) + '@';
1167 edid_vendor[1] = (((edid->mfg_id[0] & 0x3) << 3) |
1169 edid_vendor[2] = (edid->mfg_id[1] & 0x1f) + '@';
1171 return !strncmp(edid_vendor, vendor, 3);
1188 if (edid_vendor(edid, quirk->vendor) &&

Completed in 25 milliseconds