Searched refs:valid_extensions (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/ |
D | drm_edid_load.c | 177 int i, valid_extensions = 0; in edid_load() local 232 if (i != valid_extensions + 1) in edid_load() 233 memcpy(edid + (valid_extensions + 1) * EDID_LENGTH, in edid_load() 238 valid_extensions++; in edid_load() 241 if (valid_extensions != edid[0x7e]) { in edid_load() 244 edid[EDID_LENGTH-1] += edid[0x7e] - valid_extensions; in edid_load() 246 "\"%s\" for connector \"%s\"\n", valid_extensions, in edid_load() 248 edid[0x7e] = valid_extensions; in edid_load() 250 new_edid = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, in edid_load() 258 "external", valid_extensions, valid_extensions == 1 ? "" : "s", in edid_load()
|
D | drm_edid.c | 1943 int i, j = 0, valid_extensions = 0; in drm_do_get_edid() local 1970 valid_extensions = edid[0x7e]; in drm_do_get_edid() 1971 if (valid_extensions == 0) in drm_do_get_edid() 1974 new = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); in drm_do_get_edid() 1990 valid_extensions--; in drm_do_get_edid() 1993 if (valid_extensions != edid[0x7e]) { in drm_do_get_edid() 1998 new = kmalloc_array(valid_extensions + 1, EDID_LENGTH, in drm_do_get_edid() 2014 new[EDID_LENGTH - 1] += new[0x7e] - valid_extensions; in drm_do_get_edid() 2015 new[0x7e] = valid_extensions; in drm_do_get_edid()
|