Lines Matching refs:edid
28 #include "edid.h"
785 static int dlfb_get_edid(struct dlfb_data *dlfb, char *edid, int len)
805 edid[i] = rbuf[1];
824 void __user *edid = (void __user *)arg;
825 if (copy_to_user(edid, dlfb->edid, dlfb->edid_size))
962 kfree(dlfb->edid);
1245 char *edid;
1258 edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
1259 if (!edid) {
1274 i = dlfb_get_edid(dlfb, edid, EDID_LENGTH);
1277 fb_edid_to_monspecs(edid, &info->monspecs);
1280 dlfb->edid = edid;
1290 if (dlfb->edid) {
1291 fb_edid_to_monspecs(dlfb->edid, &info->monspecs);
1302 memcpy(edid, default_edid, default_edid_size);
1303 dlfb->edid = edid;
1376 if (edid && (dlfb->edid != edid))
1377 kfree(edid);
1425 if (dlfb->edid == NULL)
1434 memcpy(buf, dlfb->edid, count);
1456 if (!dlfb->edid || memcmp(src, dlfb->edid, src_size))
1482 .attr.name = "edid",