Lines Matching refs:edid
28 #include "edid.h"
845 static int dlfb_get_edid(struct dlfb_data *dlfb, char *edid, int len)
865 edid[i] = rbuf[1];
884 void __user *edid = (void __user *)arg;
885 if (copy_to_user(edid, dlfb->edid, dlfb->edid_size))
1022 kfree(dlfb->edid);
1288 char *edid;
1301 edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
1302 if (!edid) {
1317 i = dlfb_get_edid(dlfb, edid, EDID_LENGTH);
1320 fb_edid_to_monspecs(edid, &info->monspecs);
1323 dlfb->edid = edid;
1333 if (dlfb->edid) {
1334 fb_edid_to_monspecs(dlfb->edid, &info->monspecs);
1345 memcpy(edid, default_edid, default_edid_size);
1346 dlfb->edid = edid;
1419 if (edid && (dlfb->edid != edid))
1420 kfree(edid);
1468 if (dlfb->edid == NULL)
1477 memcpy(buf, dlfb->edid, count);
1499 if (!dlfb->edid || memcmp(src, dlfb->edid, src_size))
1525 .attr.name = "edid",