Home
last modified time | relevance | path

Searched refs:EDID_LENGTH (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/displays/
Dconnector-dvi.c177 l = min(EDID_LENGTH, len); in dvic_read_edid()
185 if (len > EDID_LENGTH && edid[0x7e] > 0) { in dvic_read_edid()
186 l = min(EDID_LENGTH, len - EDID_LENGTH); in dvic_read_edid()
188 r = dvic_ddc_read(ddata->i2c_adapter, edid + EDID_LENGTH, in dvic_read_edid()
189 l, EDID_LENGTH); in dvic_read_edid()
/Linux-v6.6/drivers/video/fbdev/via/
Dvia_aux_edid.c21 unsigned char edid[EDID_LENGTH]; in query_edid()
33 if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) { in query_edid()
/Linux-v6.6/drivers/gpu/drm/bridge/
Dmegachips-stdpxxxx-ge-b850v3-fw.c73 u8 *block = kmalloc(EDID_LENGTH, GFP_KERNEL); in stdp2690_get_edid()
84 .len = EDID_LENGTH, in stdp2690_get_edid()
102 total_size = (block[EDID_EXT_BLOCK_CNT] + 1) * EDID_LENGTH; in stdp2690_get_edid()
103 if (total_size > EDID_LENGTH) { in stdp2690_get_edid()
Dnxp-ptn3460.c168 edid = kmalloc(EDID_LENGTH, GFP_KERNEL); in ptn3460_get_edid()
175 EDID_LENGTH); in ptn3460_get_edid()
Dsil-sii8620.c770 int edid_len = EDID_LENGTH; in sii8620_fetch_edid()
796 edid = kmalloc(EDID_LENGTH, GFP_KERNEL); in sii8620_fetch_edid()
845 if (fetched + FETCH_SIZE == EDID_LENGTH) { in sii8620_fetch_edid()
851 edid_len += ext * EDID_LENGTH; in sii8620_fetch_edid()
895 (ctx->edid->extensions + 1) * EDID_LENGTH); in sii8620_set_upstream_edid()
/Linux-v6.6/drivers/video/fbdev/core/
Dfb_ddc.c25 unsigned char *buf = kmalloc(EDID_LENGTH, GFP_KERNEL); in fb_do_probe_ddc_edid()
35 .len = EDID_LENGTH, in fb_do_probe_ddc_edid()
Dfbmon.c248 for (i = 0; i < EDID_LENGTH - 1; i++) in fix_edid()
264 for (i = 0; i < EDID_LENGTH; i++) { in edid_checksum()
/Linux-v6.6/drivers/video/fbdev/nvidia/
Dnv_of.c71 *out_edid = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); in nvidia_probe_of_connector()
Dnv_i2c.c165 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); in nvidia_probe_i2c_connector()
/Linux-v6.6/drivers/video/fbdev/
Dedid.h21 #define EDID_LENGTH 0x80 macro
Dsmscufx.c1438 BUG_ON(edid_len != EDID_LENGTH); in ufx_read_edid()
1446 memset(edid, 0xff, EDID_LENGTH); in ufx_read_edid()
1472 return EDID_LENGTH; in ufx_read_edid()
1502 edid = kmalloc(EDID_LENGTH, GFP_KERNEL); in ufx_setup_modes()
1515 i = ufx_read_edid(dev, edid, EDID_LENGTH); in ufx_setup_modes()
1517 if (i >= EDID_LENGTH) in ufx_setup_modes()
1540 if (default_edid_size >= EDID_LENGTH) { in ufx_setup_modes()
Dudlfb.c1301 edid = kmalloc(EDID_LENGTH, GFP_KERNEL); in dlfb_setup_modes()
1317 i = dlfb_get_edid(dlfb, edid, EDID_LENGTH); in dlfb_setup_modes()
1319 if (i >= EDID_LENGTH) in dlfb_setup_modes()
1342 if (default_edid_size >= EDID_LENGTH) { in dlfb_setup_modes()
1492 if ((src_size != EDID_LENGTH) || (src_off != 0)) in edid_store()
1527 .size = EDID_LENGTH,
Dfsl-diu-fb.c385 uint8_t edid_data[EDID_LENGTH];
1736 if (prop && ret == EDID_LENGTH) { in fsl_diu_probe()
1737 memcpy(data->edid_data, prop, EDID_LENGTH); in fsl_diu_probe()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_displayid.c63 *length = EDID_LENGTH - 1; in drm_find_displayid_extension()
Ddrm_edid.c1607 return num_blocks * EDID_LENGTH; in edid_size_by_blocks()
1617 BUILD_BUG_ON(sizeof(*edid) != EDID_LENGTH); in edid_block_data()
1656 (int)drm_edid->size / EDID_LENGTH); in drm_edid_block_count()
1784 for (i = 0; i < EDID_LENGTH - 1; i++) in edid_block_compute_checksum()
1808 return !memchr_inv(edid, 0, EDID_LENGTH); in edid_block_is_zero()
1965 block, EDID_LENGTH, false); in edid_block_dump()
2101 memmove(dst_block, src_block, EDID_LENGTH); in edid_filter_invalid_blocks()
2140 unsigned char start = block * EDID_LENGTH; in drm_do_probe_ddc_edid()
2335 if (read_block(context, block, block_num, EDID_LENGTH)) in edid_block_read()
2367 size_t alloc_size = EDID_LENGTH; in _drm_do_get_edid()
[all …]
/Linux-v6.6/drivers/video/fbdev/i810/
Di810-i2c.c168 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); in i810_probe_i2c_connector()
/Linux-v6.6/drivers/media/cec/core/
Dcec-notifier.c209 EDID_LENGTH * (edid->extensions + 1), NULL); in cec_notifier_set_phys_addr_from_edid()
/Linux-v6.6/drivers/video/fbdev/savage/
Dsavagefb-i2c.c233 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); in savagefb_probe_i2c_connector()
/Linux-v6.6/drivers/gpu/drm/gud/
Dgud_connector.c206 size_t start = block * EDID_LENGTH; in gud_connector_get_edid_block()
237 if (ret > 0 && ret % EDID_LENGTH) { in gud_connector_get_modes()
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c390 return kmemdup(edid, EDID_LENGTH, GFP_KERNEL); in nouveau_acpi_edid()
/Linux-v6.6/drivers/gpu/drm/exynos/
Dexynos_drm_vidi.c322 edid_len = (1 + ctx->raw_edid->extensions) * EDID_LENGTH; in vidi_get_modes()
/Linux-v6.6/include/drm/
Ddrm_edid.h34 #define EDID_LENGTH 128 macro
/Linux-v6.6/drivers/gpu/drm/msm/dp/
Ddp_panel.c302 raw_edid += (edid->extensions * EDID_LENGTH); in dp_panel_get_edid_checksum()
/Linux-v6.6/drivers/gpu/drm/udl/
Dudl_modeset.c430 int bval = (i + block * EDID_LENGTH) << 8; in udl_get_edid_block()
/Linux-v6.6/drivers/gpu/drm/tiny/
Dbochs.c179 size_t i, start = block * EDID_LENGTH; in bochs_get_edid_block()

12