Home
last modified time | relevance | path

Searched refs:valid_extensions (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/
Ddrm_edid_load.c144 int i, valid_extensions = 0; in edid_load() local
206 if (i != valid_extensions + 1) in edid_load()
207 memcpy(edid + (valid_extensions + 1) * EDID_LENGTH, in edid_load()
210 valid_extensions++; in edid_load()
213 if (valid_extensions != edid[0x7e]) { in edid_load()
214 edid[EDID_LENGTH-1] += edid[0x7e] - valid_extensions; in edid_load()
216 "\"%s\" for connector \"%s\"\n", valid_extensions, in edid_load()
218 edid[0x7e] = valid_extensions; in edid_load()
219 new_edid = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, in edid_load()
231 "external", valid_extensions, valid_extensions == 1 ? "" : "s", in edid_load()
Ddrm_edid.c1120 int i, j = 0, valid_extensions = 0; in drm_do_get_edid() local
1153 block + (valid_extensions + 1) * EDID_LENGTH, in drm_do_get_edid()
1156 if (drm_edid_block_valid(block + (valid_extensions + 1) * EDID_LENGTH, j, print_bad_edid)) { in drm_do_get_edid()
1157 valid_extensions++; in drm_do_get_edid()
1171 if (valid_extensions != block[0x7e]) { in drm_do_get_edid()
1172 block[EDID_LENGTH-1] += block[0x7e] - valid_extensions; in drm_do_get_edid()
1173 block[0x7e] = valid_extensions; in drm_do_get_edid()
1174 new = krealloc(block, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); in drm_do_get_edid()
/drivers/gpu/drm/i2c/
Dtda998x_drv.c676 int j = 0, valid_extensions = 0; in do_get_edid() local
700 uint8_t *ext_block = block + (valid_extensions + 1) * EDID_LENGTH; in do_get_edid()
707 valid_extensions++; in do_get_edid()
710 if (valid_extensions != block[0x7e]) { in do_get_edid()
711 block[EDID_LENGTH-1] += block[0x7e] - valid_extensions; in do_get_edid()
712 block[0x7e] = valid_extensions; in do_get_edid()
713 new = krealloc(block, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); in do_get_edid()