Searched refs:edid (Results 1 - 25 of 175) sorted by relevance

1234567

/linux-master/include/video/
H A Dedid.h5 #include <uapi/video/edid.h>
/linux-master/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c55 struct edid *edid; local
58 edid = drm_get_edid(connector, adapter);
59 if (edid) {
60 drm_connector_update_edid_property(connector, edid);
61 ret = drm_add_edid_modes(connector, edid);
62 kfree(edid);
H A Dcdv_intel_hdmi.c131 struct edid *edid = NULL; local
134 edid = drm_get_edid(connector, connector->ddc);
138 if (edid) {
139 if (edid->input & DRM_EDID_INPUT_DIGITAL) {
142 drm_detect_hdmi_monitor(edid);
144 drm_detect_monitor_audio(edid);
146 kfree(edid);
212 struct edid *edid local
[all...]
/linux-master/include/drm/
H A Ddrm_edid.h275 struct edid { struct
325 int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads);
326 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb);
330 bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid2);
407 struct edid *drm_do_get_edid(struct drm_connector *connector,
411 struct edid *drm_get_edid(struct drm_connector *connector,
414 struct edid *drm_get_edid_switchero
[all...]
/linux-master/include/media/
H A Dcec-notifier.h16 struct edid;
91 * @edid: the struct edid pointer
97 const struct edid *edid);
142 const struct edid *edid)
141 cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n, const struct edid *edid) argument
H A Dcec.h327 struct edid;
342 const struct edid *edid);
418 * @edid: pointer to the EDID data
426 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size,
454 const struct edid *edid)
458 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, argument
496 * @edid: the EDID
509 static inline unsigned int cec_get_edid_spa_location(const u8 *edid, argument
453 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) argument
[all...]
/linux-master/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c473 static int adv748x_hdmi_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
477 memset(edid->reserved, 0, sizeof(edid->reserved));
479 if (!hdmi->edid.present)
482 if (edid->start_block == 0 && edid->blocks == 0) {
483 edid->blocks = hdmi->edid.blocks;
487 if (edid->start_block >= hdmi->edid
523 adv748x_hdmi_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
[all...]
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_output_7a1000.c44 struct edid *edid; local
47 edid = drm_get_edid(conn, conn->ddc);
48 if (edid) {
49 drm_connector_update_edid_property(conn, edid);
50 num = drm_add_edid_modes(conn, edid);
51 kfree(edid);
/linux-master/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_vdac.c28 void *edid; local
31 edid = drm_get_edid(connector, &hibmc_connector->adapter);
32 if (edid) {
33 drm_connector_update_edid_property(connector, edid);
34 count = drm_add_edid_modes(connector, edid);
45 kfree(edid);
/linux-master/drivers/gpu/drm/tegra/
H A Doutput.c24 struct edid *edid = NULL; local
37 if (output->edid)
38 edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL);
40 edid = drm_get_edid(connector, output->ddc);
42 cec_notifier_set_phys_addr_from_edid(output->cec, edid);
43 drm_connector_update_edid_property(connector, edid);
45 if (edid) {
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_connectors.h27 struct edid *amdgpu_connector_edid(struct drm_connector *connector);
/linux-master/drivers/video/fbdev/via/
H A Dvia_aux_edid.c12 #include "../edid.h"
21 unsigned char edid[EDID_LENGTH]; local
33 if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) {
34 fb_edid_to_monspecs(edid, spec);
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_panel.h14 struct edid;
44 struct edid *edid; member in struct:dp_panel
H A Ddp_panel.c112 struct edid *edid)
116 if (edid) {
117 rc = drm_connector_update_edid_property(connector, edid);
119 DRM_ERROR("failed to update edid property %d\n", rc);
122 rc = drm_add_edid_modes(connector, edid);
128 DRM_ERROR("failed to update edid property %d\n", rc);
178 kfree(dp_panel->edid);
179 dp_panel->edid = NULL;
181 dp_panel->edid
111 dp_panel_update_modes(struct drm_connector *connector, struct edid *edid) argument
233 dp_panel_get_edid_checksum(struct edid *edid) argument
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_edid.c1584 /* Size allocated for edid */
1586 const struct edid *edid; member in struct:drm_edid
1589 static int edid_hfeeodb_extension_block_count(const struct edid *edid);
1591 static int edid_hfeeodb_block_count(const struct edid *edid) argument
1593 int eeodb = edid_hfeeodb_extension_block_count(edid);
1598 static int edid_extension_block_count(const struct edid *edid) argument
1603 edid_block_count(const struct edid *edid) argument
1613 edid_size(const struct edid *edid) argument
1618 edid_block_data(const struct edid *edid, int index) argument
1625 edid_extension_block_data(const struct edid *edid, int index) argument
1683 drm_edid_legacy_init(struct drm_edid *drm_edid, const struct edid *edid) argument
1749 edid_header_fix(void *edid) argument
1764 const struct edid *edid = _edid; local
1809 edid_block_is_zero(const void *edid) argument
2039 drm_edid_is_valid(struct edid *edid) argument
2087 edid_filter_invalid_blocks(struct edid *edid, size_t *alloc_size) argument
2191 connector_bad_edid(struct drm_connector *connector, const struct edid *edid, int num_blocks) argument
2254 drm_edid_override_set(struct drm_connector *connector, const void *edid, size_t size) argument
2370 struct edid *edid, *new; local
2524 _drm_edid_alloc(const void *edid, size_t size) argument
2554 drm_edid_alloc(const void *edid, size_t size) argument
2632 struct edid *edid; local
2674 struct edid *edid; local
2752 edid_extract_panel_id(const struct edid *edid) argument
2842 struct edid *edid; local
2890 drm_edid_duplicate(const struct edid *edid) argument
3226 const struct edid *edid = drm_edid->edid; local
3552 mode_in_hsync_range(const struct drm_display_mode *mode, const struct edid *edid, const u8 *t) argument
3569 mode_in_vsync_range(const struct drm_display_mode *mode, const struct edid *edid, const u8 *t) argument
3586 range_pixel_clock(const struct edid *edid, const u8 *t) argument
3604 const struct edid *edid = drm_edid->edid; local
3876 const struct edid *edid = drm_edid->edid; local
5183 edid_hfeeodb_extension_block_count(const struct edid *edid) argument
5482 drm_edid_get_monitor_name(const struct edid *edid, char *name, int bufsize) argument
5661 drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads) argument
5707 drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb) argument
5790 drm_detect_hdmi_monitor(const struct edid *edid) argument
5852 drm_detect_monitor_audio(const struct edid *edid) argument
6346 const struct edid *edid = closure->drm_edid->edid; local
6539 const struct edid *edid; local
6904 drm_connector_update_edid_property(struct drm_connector *connector, const struct edid *edid) argument
6926 drm_add_edid_modes(struct drm_connector *connector, struct edid *edid) argument
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dfbmon.c33 #include <video/edid.h>
36 #include "../edid.h"
145 static int check_edid(unsigned char *edid) argument
147 unsigned char *block = edid + ID_MANUFACTURER_NAME, manufacturer[4];
170 if (edid[i] != edid_v1_header[i]) {
177 b = edid + EDID_STRUCT_DISPLAY;
184 b = edid + DETAILED_TIMING_DESCRIPTIONS_START;
207 static void fix_edid(unsigned char *edid, int fix) argument
215 memcpy(edid, edid_v1_header, 8);
219 b = edid
256 edid_checksum(unsigned char *edid) argument
277 edid_check_header(unsigned char *edid) argument
616 fb_create_modedb(unsigned char *edid, int *dbsize, const struct fb_monspecs *specs) argument
695 fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs) argument
776 get_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
894 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) argument
937 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
1405 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) argument
1409 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
1496 unsigned char *edid = NULL; local
[all...]
H A Dfb_ddc.c18 #include "../edid.h"
57 unsigned char *edid = NULL; local
90 edid = fb_do_probe_ddc_edid(adapter);
110 if (edid)
119 return edid;
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dedid.c54 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; local
57 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) {
61 if (edid->current_edid_read >= EDID_SIZE) {
66 if (!edid->edid_available) {
71 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) {
73 intel_vgpu_port(vgpu, edid->port)->edid;
75 chr = edid_data->edid_block[edid->current_edid_read];
76 edid
569 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; local
[all...]
/linux-master/drivers/video/fbdev/nvidia/
H A Dnv_i2c.c26 #include "../edid.h"
155 u8 *edid = NULL; local
158 edid = fb_ddc_read(&par->chan[conn - 1].adapter);
160 if (!edid && conn == 1) {
165 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL);
168 *out_edid = edid;
170 return (edid) ? 0 : 1;
/linux-master/include/uapi/linux/
H A Dv4l2-common.h53 __u8 *edid; member in struct:v4l2_edid
/linux-master/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_detection.h34 const uint8_t *edid,
/linux-master/include/acpi/
H A Dvideo.h60 int device_id, void **edid);
96 int device_id, void **edid)
95 acpi_video_get_edid(struct acpi_device *device, int type, int device_id, void **edid) argument
/linux-master/drivers/media/i2c/
H A Dadv7511-v4l2.c119 struct adv7511_state_edid edid; member in struct:adv7511_state
548 struct adv7511_state_edid *edid = &state->edid; local
577 edid->segments ? "found" : "no",
578 edid->blocks);
618 v4l2_info(sd, "i2c edid addr: 0x%x\n", state->i2c_edid_addr);
1166 static int adv7511_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
1170 memset(edid->reserved, 0, sizeof(edid->reserved));
1172 if (edid
1724 struct adv7511_state_edid *edid = &state->edid; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c400 kfree(nv_connector->edid);
489 const void *edid = of_get_property(cn, "EDID", NULL); local
492 if (nv_encoder->dcb->i2c_index == idx && edid) {
493 nv_connector->edid =
494 kmemdup(edid, EDID_LENGTH, GFP_KERNEL);
552 struct edid *edid)
554 if (nv_connector->edid != edid) {
555 struct edid *old_edi
551 nouveau_connector_set_edid(struct nouveau_connector *nv_connector, struct edid *edid) argument
690 struct edid *edid = NULL; local
[all...]
/linux-master/drivers/video/fbdev/savage/
H A Dsavagefb-i2c.c221 u8 *edid; local
224 edid = fb_ddc_read(&par->chan.adapter);
226 edid = NULL;
228 if (!edid) {
233 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL);
236 *out_edid = edid;
238 return (edid) ? 0 : 1;

Completed in 261 milliseconds

1234567