EDID_LENGTH 2102 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength); EDID_LENGTH 4068 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c (edid->extensions + 1) * EDID_LENGTH, EDID_LENGTH 594 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c sink->dc_edid.length = EDID_LENGTH * (edid->extensions + 1); EDID_LENGTH 227 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c (aconnector->edid->extensions + 1) * EDID_LENGTH, EDID_LENGTH 77 drivers/gpu/drm/bochs/bochs_hw.c size_t i, start = block * EDID_LENGTH; EDID_LENGTH 73 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c u8 *block = kmalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 84 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c .len = EDID_LENGTH, EDID_LENGTH 102 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c total_size = (block[EDID_EXT_BLOCK_CNT] + 1) * EDID_LENGTH; EDID_LENGTH 103 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c if (total_size > EDID_LENGTH) { EDID_LENGTH 201 drivers/gpu/drm/bridge/nxp-ptn3460.c edid = kmalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 208 drivers/gpu/drm/bridge/nxp-ptn3460.c EDID_LENGTH); EDID_LENGTH 769 drivers/gpu/drm/bridge/sil-sii8620.c int edid_len = EDID_LENGTH; EDID_LENGTH 795 drivers/gpu/drm/bridge/sil-sii8620.c edid = kmalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 844 drivers/gpu/drm/bridge/sil-sii8620.c if (fetched + FETCH_SIZE == EDID_LENGTH) { EDID_LENGTH 850 drivers/gpu/drm/bridge/sil-sii8620.c edid_len += ext * EDID_LENGTH; EDID_LENGTH 894 drivers/gpu/drm/bridge/sil-sii8620.c (ctx->edid->extensions + 1) * EDID_LENGTH); EDID_LENGTH 1875 drivers/gpu/drm/drm_connector.c size = EDID_LENGTH * (1 + edid->extensions); EDID_LENGTH 390 drivers/gpu/drm/drm_debugfs.c } else if (len < EDID_LENGTH || EDID_LENGTH 391 drivers/gpu/drm/drm_debugfs.c EDID_LENGTH * (1 + edid->extensions) > len) EDID_LENGTH 1355 drivers/gpu/drm/drm_edid.c for (i = 0; i < EDID_LENGTH; i++) EDID_LENGTH 1452 drivers/gpu/drm/drm_edid.c if (drm_edid_is_zero(raw_edid, EDID_LENGTH)) { EDID_LENGTH 1458 drivers/gpu/drm/drm_edid.c raw_edid, EDID_LENGTH, false); EDID_LENGTH 1482 drivers/gpu/drm/drm_edid.c if (!drm_edid_block_valid(raw + i * EDID_LENGTH, i, true, NULL)) EDID_LENGTH 1505 drivers/gpu/drm/drm_edid.c unsigned char start = block * EDID_LENGTH; EDID_LENGTH 1565 drivers/gpu/drm/drm_edid.c u8 *block = edid + i * EDID_LENGTH; EDID_LENGTH 1568 drivers/gpu/drm/drm_edid.c if (drm_edid_is_zero(block, EDID_LENGTH)) EDID_LENGTH 1577 drivers/gpu/drm/drm_edid.c block, EDID_LENGTH, false); EDID_LENGTH 1658 drivers/gpu/drm/drm_edid.c if ((edid = kmalloc(EDID_LENGTH, GFP_KERNEL)) == NULL) EDID_LENGTH 1663 drivers/gpu/drm/drm_edid.c if (get_edid_block(data, edid, 0, EDID_LENGTH)) EDID_LENGTH 1668 drivers/gpu/drm/drm_edid.c if (i == 0 && drm_edid_is_zero(edid, EDID_LENGTH)) { EDID_LENGTH 1681 drivers/gpu/drm/drm_edid.c new = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 1687 drivers/gpu/drm/drm_edid.c u8 *block = edid + j * EDID_LENGTH; EDID_LENGTH 1690 drivers/gpu/drm/drm_edid.c if (get_edid_block(data, block, j, EDID_LENGTH)) EDID_LENGTH 1705 drivers/gpu/drm/drm_edid.c edid[EDID_LENGTH-1] += edid[0x7e] - valid_extensions; EDID_LENGTH 1708 drivers/gpu/drm/drm_edid.c new = kmalloc_array(valid_extensions + 1, EDID_LENGTH, EDID_LENGTH 1715 drivers/gpu/drm/drm_edid.c u8 *block = edid + i * EDID_LENGTH; EDID_LENGTH 1720 drivers/gpu/drm/drm_edid.c memcpy(base, block, EDID_LENGTH); EDID_LENGTH 1721 drivers/gpu/drm/drm_edid.c base += EDID_LENGTH; EDID_LENGTH 1814 drivers/gpu/drm/drm_edid.c return kmemdup(edid, (edid->extensions + 1) * EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 2000 drivers/gpu/drm/drm_edid.c u8 *ext = raw_edid + (i * EDID_LENGTH); EDID_LENGTH 2923 drivers/gpu/drm/drm_edid.c edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1); EDID_LENGTH 2944 drivers/gpu/drm/drm_edid.c int length = EDID_LENGTH; EDID_LENGTH 4818 drivers/gpu/drm/drm_edid.c int length = EDID_LENGTH; EDID_LENGTH 5484 drivers/gpu/drm/drm_edid.c ret = drm_parse_display_id(connector, displayid, EDID_LENGTH, true); EDID_LENGTH 164 drivers/gpu/drm/drm_edid_load.c if (data_size < EDID_LENGTH) EDID_LENGTH 167 drivers/gpu/drm/drm_edid_load.c return (edid[0x7e] + 1) * EDID_LENGTH; EDID_LENGTH 233 drivers/gpu/drm/drm_edid_load.c memcpy(edid + (valid_extensions + 1) * EDID_LENGTH, EDID_LENGTH 234 drivers/gpu/drm/drm_edid_load.c edid + i * EDID_LENGTH, EDID_LENGTH); EDID_LENGTH 235 drivers/gpu/drm/drm_edid_load.c if (drm_edid_block_valid(edid + i * EDID_LENGTH, i, EDID_LENGTH 244 drivers/gpu/drm/drm_edid_load.c edid[EDID_LENGTH-1] += edid[0x7e] - valid_extensions; EDID_LENGTH 250 drivers/gpu/drm/drm_edid_load.c new_edid = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, EDID_LENGTH 314 drivers/gpu/drm/exynos/exynos_drm_vidi.c edid_len = (1 + ctx->raw_edid->extensions) * EDID_LENGTH; EDID_LENGTH 470 drivers/gpu/drm/nouveau/nouveau_acpi.c return kmemdup(edid, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 491 drivers/gpu/drm/nouveau/nouveau_connector.c kmemdup(edid, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 716 drivers/gpu/drm/nouveau/nouveau_connector.c kmemdup(edid, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 207 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c r = hdmi_core_ddc_edid(core, edid + i * EDID_LENGTH, i); EDID_LENGTH 1734 drivers/gpu/drm/radeon/radeon_atombios.c max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength); EDID_LENGTH 382 drivers/gpu/drm/radeon/radeon_combios.c size = EDID_LENGTH * (raw[0x7e] + 1); EDID_LENGTH 28 drivers/gpu/drm/udl/udl_connector.c int bval = (i + block * EDID_LENGTH) << 8; EDID_LENGTH 611 drivers/gpu/drm/virtio/virtgpu_vq.c size_t start = block * EDID_LENGTH; EDID_LENGTH 1623 drivers/media/cec/cec-adap.c EDID_LENGTH * (edid->extensions + 1), NULL); EDID_LENGTH 195 drivers/media/cec/cec-notifier.c EDID_LENGTH * (edid->extensions + 1), NULL); EDID_LENGTH 2211 drivers/video/fbdev/aty/radeon_base.c return memory_read_from_buffer(buf, count, &off, edid, EDID_LENGTH); EDID_LENGTH 2243 drivers/video/fbdev/aty/radeon_base.c .size = EDID_LENGTH, EDID_LENGTH 2252 drivers/video/fbdev/aty/radeon_base.c .size = EDID_LENGTH, EDID_LENGTH 112 drivers/video/fbdev/aty/radeon_monitor.c tmp = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 25 drivers/video/fbdev/core/fb_ddc.c unsigned char *buf = kmalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 35 drivers/video/fbdev/core/fb_ddc.c .len = EDID_LENGTH, EDID_LENGTH 248 drivers/video/fbdev/core/fbmon.c for (i = 0; i < EDID_LENGTH - 1; i++) EDID_LENGTH 264 drivers/video/fbdev/core/fbmon.c for (i = 0; i < EDID_LENGTH; i++) { EDID_LENGTH 385 drivers/video/fbdev/fsl-diu-fb.c uint8_t edid_data[EDID_LENGTH]; EDID_LENGTH 1737 drivers/video/fbdev/fsl-diu-fb.c if (prop && ret == EDID_LENGTH) { EDID_LENGTH 1738 drivers/video/fbdev/fsl-diu-fb.c memcpy(data->edid_data, prop, EDID_LENGTH); EDID_LENGTH 168 drivers/video/fbdev/i810/i810-i2c.c edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 1023 drivers/video/fbdev/intelfb/intelfbdrv.c edid_d = kmemdup(edid_s, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 165 drivers/video/fbdev/nvidia/nv_i2c.c edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 72 drivers/video/fbdev/nvidia/nv_of.c *out_edid = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 182 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c l = min(EDID_LENGTH, len); EDID_LENGTH 190 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c if (len > EDID_LENGTH && edid[0x7e] > 0) { EDID_LENGTH 191 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c l = min(EDID_LENGTH, len - EDID_LENGTH); EDID_LENGTH 193 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c r = dvic_ddc_read(ddata->i2c_adapter, edid + EDID_LENGTH, EDID_LENGTH 194 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c l, EDID_LENGTH); EDID_LENGTH 208 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c r = hdmi_core_ddc_edid(core, edid + i * EDID_LENGTH, i); EDID_LENGTH 233 drivers/video/fbdev/savage/savagefb-i2c.c edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 1967 drivers/video/fbdev/sm501fb.c if (prop && len == EDID_LENGTH) { EDID_LENGTH 1968 drivers/video/fbdev/sm501fb.c info->edid_data = kmemdup(prop, EDID_LENGTH, EDID_LENGTH 1427 drivers/video/fbdev/smscufx.c BUG_ON(edid_len != EDID_LENGTH); EDID_LENGTH 1435 drivers/video/fbdev/smscufx.c memset(edid, 0xff, EDID_LENGTH); EDID_LENGTH 1461 drivers/video/fbdev/smscufx.c return EDID_LENGTH; EDID_LENGTH 1491 drivers/video/fbdev/smscufx.c edid = kmalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 1504 drivers/video/fbdev/smscufx.c i = ufx_read_edid(dev, edid, EDID_LENGTH); EDID_LENGTH 1506 drivers/video/fbdev/smscufx.c if (i >= EDID_LENGTH) EDID_LENGTH 1529 drivers/video/fbdev/smscufx.c if (default_edid_size >= EDID_LENGTH) { EDID_LENGTH 1298 drivers/video/fbdev/udlfb.c edid = kmalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 1314 drivers/video/fbdev/udlfb.c i = dlfb_get_edid(dlfb, edid, EDID_LENGTH); EDID_LENGTH 1316 drivers/video/fbdev/udlfb.c if (i >= EDID_LENGTH) EDID_LENGTH 1339 drivers/video/fbdev/udlfb.c if (default_edid_size >= EDID_LENGTH) { EDID_LENGTH 1489 drivers/video/fbdev/udlfb.c if ((src_size != EDID_LENGTH) || (src_off != 0)) EDID_LENGTH 1524 drivers/video/fbdev/udlfb.c .size = EDID_LENGTH, EDID_LENGTH 647 drivers/video/fbdev/uvesafb.c task->t.buf_len = EDID_LENGTH; EDID_LENGTH 648 drivers/video/fbdev/uvesafb.c task->buf = kzalloc(EDID_LENGTH, GFP_KERNEL); EDID_LENGTH 21 drivers/video/fbdev/via/via_aux_edid.c unsigned char edid[EDID_LENGTH]; EDID_LENGTH 33 drivers/video/fbdev/via/via_aux_edid.c if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) {