Home
last modified time | relevance | path

Searched refs:edid (Results 1 – 25 of 40) sorted by relevance

12

/external/u-boot/drivers/video/
Ddw_hdmi.c389 const struct display_timing *edid) in hdmi_av_composer() argument
396 hbl = edid->hback_porch.typ + edid->hfront_porch.typ + in hdmi_av_composer()
397 edid->hsync_len.typ; in hdmi_av_composer()
398 vbl = edid->vback_porch.typ + edid->vfront_porch.typ + in hdmi_av_composer()
399 edid->vsync_len.typ; in hdmi_av_composer()
404 inv_val |= (edid->flags & DISPLAY_FLAGS_VSYNC_HIGH ? in hdmi_av_composer()
408 inv_val |= (edid->flags & DISPLAY_FLAGS_HSYNC_HIGH ? in hdmi_av_composer()
416 inv_val |= (edid->hdmi_monitor ? in hdmi_av_composer()
427 hdmi_write(hdmi, edid->hactive.typ >> 8, HDMI_FC_INHACTV1); in hdmi_av_composer()
428 hdmi_write(hdmi, edid->hactive.typ, HDMI_FC_INHACTV0); in hdmi_av_composer()
[all …]
/external/autotest/client/site_tests/display_DisplayContainEdid/
Ddisplay_DisplayContainEdid.py31 edid = displays[0].edid
33 no_manufacturer = edid.manufacturer_id == None
34 no_year = edid.year_of_manufacture == None
35 no_product = edid.product_id == None
40 edid.manufacturer_id,
41 edid.year_of_manufacture,
42 edid.product_id))
/external/u-boot/common/
Dedid.c44 int edid_get_ranges(struct edid1_info *edid, unsigned int *hmin, in edid_get_ranges() argument
52 if (edid_check_info(edid)) in edid_get_ranges()
55 for (i = 0; i < ARRAY_SIZE(edid->monitor_details.descriptor); i++) { in edid_get_ranges()
56 monitor = &edid->monitor_details.descriptor[i]; in edid_get_ranges()
174 struct edid1_info *edid = (struct edid1_info *)buf; in edid_get_timing() local
178 if (buf_size < sizeof(*edid) || edid_check_info(edid)) { in edid_get_timing()
183 if (!EDID1_INFO_FEATURE_PREFERRED_TIMING_MODE(*edid)) { in edid_get_timing()
193 desc = &edid->monitor_details.descriptor[i]; in edid_get_timing()
203 if (!EDID1_INFO_VIDEO_INPUT_DIGITAL(*edid)) { in edid_get_timing()
207 if (edid->version != 1 || edid->revision < 4) { in edid_get_timing()
[all …]
/external/u-boot/drivers/video/rockchip/
Drk_vop.c37 const struct display_timing *edid) in rkvop_enable() argument
41 u32 hactive = edid->hactive.typ; in rkvop_enable()
42 u32 vactive = edid->vactive.typ; in rkvop_enable()
47 writel(V_DSP_XST(edid->hsync_len.typ + edid->hback_porch.typ) | in rkvop_enable()
48 V_DSP_YST(edid->vsync_len.typ + edid->vback_porch.typ), in rkvop_enable()
137 const struct display_timing *edid, in rkvop_mode_set() argument
145 u32 hactive = edid->hactive.typ; in rkvop_mode_set()
146 u32 vactive = edid->vactive.typ; in rkvop_mode_set()
147 u32 hsync_len = edid->hsync_len.typ; in rkvop_mode_set()
148 u32 hback_porch = edid->hback_porch.typ; in rkvop_mode_set()
[all …]
Drk3399_hdmi.c23 const struct display_timing *edid) in rk3399_hdmi_enable() argument
34 return dw_hdmi_enable(&priv->hdmi, edid); in rk3399_hdmi_enable()
Drk3288_hdmi.c23 const struct display_timing *edid) in rk3288_hdmi_enable() argument
/external/autotest/client/cros/multimedia/
Ddisplay_info.py38 def __init__(self, edid): argument
44 self.manufacturer_id = edid['manufacturerId']
45 self.year_of_manufacture = edid['yearOfManufacture']
46 self.product_id = edid['productId']
62 self.edid = self.Edid(d['edid'])
/external/u-boot/drivers/video/sunxi/
Dsunxi_lcd.c38 const struct display_timing *edid) in sunxi_lcd_enable() argument
55 lcdc_pll_set(ccm, 0, edid->pixelclock.typ / 1000, in sunxi_lcd_enable()
57 lcdc_tcon0_mode_set(lcdc, edid, clk_div, false, in sunxi_lcd_enable()
89 u8 edid[EDID_SIZE]; in sunxi_lcd_probe() local
97 ret = video_bridge_read_edid(cdev, edid, EDID_SIZE); in sunxi_lcd_probe()
99 ret = edid_get_timing(edid, ret, in sunxi_lcd_probe()
Dsunxi_dw_hdmi.c242 static void sunxi_dw_hdmi_lcdc_init(int mux, const struct display_timing *edid, in sunxi_dw_hdmi_lcdc_init() argument
247 int div = sunxi_dw_hdmi_get_divider(edid->pixelclock.typ); in sunxi_dw_hdmi_lcdc_init()
273 lcdc_tcon1_mode_set(lcdc, edid, false, false); in sunxi_dw_hdmi_lcdc_init()
293 const struct display_timing *edid) in sunxi_dw_hdmi_enable() argument
300 ret = dw_hdmi_enable(&priv->hdmi, edid); in sunxi_dw_hdmi_enable()
304 sunxi_dw_hdmi_lcdc_init(priv->mux, edid, panel_bpp); in sunxi_dw_hdmi_enable()
306 if (edid->flags & DISPLAY_FLAGS_VSYNC_LOW) in sunxi_dw_hdmi_enable()
309 if (edid->flags & DISPLAY_FLAGS_HSYNC_LOW) in sunxi_dw_hdmi_enable()
/external/u-boot/doc/
DREADME.video45 format, if edid is used the format is automatically selected.
64 - edid=[0|1] - Enable use of DDC + EDID to get monitor info
68 Defaults to edid=1.
76 using edid info when available and otherwise initalizing it at 1024x768@60Hz,
77 use: "setenv video-mode sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=1".
/external/autotest/client/cros/chameleon/
Dchameleon.py23 from autotest_lib.client.cros.chameleon import edid as edid_lib
549 def apply_edid(self, edid): argument
554 if edid is edid_lib.NO_EDID:
557 edid_binary = xmlrpclib.Binary(edid.data)
573 def set_edid(self, edid): argument
589 self.apply_edid(edid)
607 def use_edid(self, edid): argument
620 self.set_edid(edid)
/external/u-boot/drivers/video/exynos/
Dexynos_dp.c70 unsigned char edid[EDID_BLOCK_LENGTH * 2]; in exynos_dp_read_edid() local
94 &edid[EDID_HEADER_PATTERN]); in exynos_dp_read_edid()
99 sum = exynos_dp_calc_edid_check_sum(edid); in exynos_dp_read_edid()
110 &edid[EDID_BLOCK_LENGTH]); in exynos_dp_read_edid()
115 sum = exynos_dp_calc_edid_check_sum(&edid[EDID_BLOCK_LENGTH]); in exynos_dp_read_edid()
126 edid[EDID_BLOCK_LENGTH + EDID_CHECKSUM]); in exynos_dp_read_edid()
139 &edid[EDID_HEADER_PATTERN]); in exynos_dp_read_edid()
145 sum = exynos_dp_calc_edid_check_sum(edid); in exynos_dp_read_edid()
155 DPCD_TEST_EDID_CHECKSUM, edid[EDID_CHECKSUM]); in exynos_dp_read_edid()
/external/libdrm/tests/modeprint/
Dmodeprint.c49 int edid; variable
337 edid = 0; in args()
374 edid = 1; in args()
381 edid = 1; in args()
396 edid = 1; in args()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c234 static int read_jack_edid(const struct cras_alsa_jack *jack, uint8_t *edid) in read_jack_edid() argument
242 nread = read(fd, edid, EEDID_SIZE); in read_jack_edid()
245 if (nread < EDID_SIZE || !edid_valid(edid)) in read_jack_edid()
252 uint8_t edid[EEDID_SIZE]; in check_jack_edid() local
254 if (read_jack_edid(jack, edid)) in check_jack_edid()
260 if (!edid_lpcm_support(edid, edid[EDID_EXT_FLAG])) in check_jack_edid()
269 uint8_t edid[EEDID_SIZE]; in get_jack_edid_monitor_name() local
271 if (read_jack_edid(jack, edid)) in get_jack_edid_monitor_name()
274 return edid_get_monitor_name(edid, buf, buf_size); in get_jack_edid_monitor_name()
/external/autotest/server/site_tests/display_NoEdid/
Ddisplay_NoEdid.py13 from autotest_lib.client.cros.chameleon import edid
42 with chameleon_port.use_edid(edid.NO_EDID):
/external/u-boot/drivers/video/bridge/
Danx6345.c19 u8 edid[EDID_SIZE]; member
257 memcpy(buf, priv->edid, size); in anx6345_read_edid()
339 anx6345_read_aux_i2c(dev, 0x50, 0x0, EDID_SIZE, priv->edid); in anx6345_enable()
340 if (edid_get_timing(priv->edid, EDID_SIZE, &timing, &bpp) != 0) { in anx6345_enable()
/external/autotest/server/site_tests/display_SuspendStress/
Ddisplay_SuspendStress.py16 from autotest_lib.client.cros.chameleon import edid
44 if not edid.is_edid_supported(host, testcase_spec[1], testcase_spec[2]):
/external/autotest/server/site_tests/display_EdidStress/
Ddisplay_EdidStress.py16 from autotest_lib.client.cros.chameleon import edid
73 edid.Edid.from_file(filepath, skip_verify=True)):
/external/libdrm/exynos/
Dexynos_drm.c358 uint32_t ext, void *edid) in exynos_vidi_connection() argument
363 .edid = (uint64_t)(uintptr_t)edid, in exynos_vidi_connection()
Dexynos_drmif.h107 uint32_t ext, void *edid);
Dexynos_drm.h75 uint64_t edid; member
/external/autotest/server/site_tests/display_Resolution/
Ddisplay_Resolution.py15 from autotest_lib.client.cros.chameleon import edid
105 if not edid.is_edid_supported(host, width, height):
/external/u-boot/cmd/
Di2c.c1654 struct edid1_info edid; in do_edid() local
1669 ret = dm_i2c_read(dev, 0, (uchar *)&edid, sizeof(edid)); in do_edid()
1671 ret = i2c_read(chip, 0, 1, (uchar *)&edid, sizeof(edid)); in do_edid()
1676 if (edid_check_info(&edid)) { in do_edid()
1681 edid_print_info(&edid); in do_edid()
1957 U_BOOT_CMD_MKENT(edid, 1, 1, do_edid, "", ""),
/external/kernel-headers/original/uapi/linux/
Dv4l2-common.h92 __u8 *edid; member
/external/autotest/server/site_tests/video_PlaybackQuality/
Dvideo_PlaybackQuality.py15 from autotest_lib.client.cros.chameleon import edid
356 edid.Edid.from_file(edid_path, skip_verify=True)):

12