/linux-master/include/video/ |
H A D | edid.h | 5 #include <uapi/video/edid.h>
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | psb_intel_modes.c | 55 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 D | cdv_intel_hdmi.c | 131 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/media/ |
H A D | cec-notifier.h | 16 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 D | cec.h | 329 struct edid; 344 const struct edid *edid); 420 * @edid: pointer to the EDID data 428 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, 456 const struct edid *edid) 460 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, argument 498 * @edid: the EDID 511 static inline unsigned int cec_get_edid_spa_location(const u8 *edid, argument 455 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) argument [all...] |
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-hdmi.c | 470 static int adv748x_hdmi_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument 474 memset(edid->reserved, 0, sizeof(edid->reserved)); 476 if (!hdmi->edid.present) 479 if (edid->start_block == 0 && edid->blocks == 0) { 480 edid->blocks = hdmi->edid.blocks; 484 if (edid->start_block >= hdmi->edid 520 adv748x_hdmi_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument [all...] |
/linux-master/include/drm/ |
H A D | drm_edid.h | 284 struct edid { struct 346 int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads); 347 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb); 426 struct edid *drm_do_get_edid(struct drm_connector *connector, 430 struct edid *drm_get_edid(struct drm_connector *connector, 432 struct edid *drm_get_edid_switcheroo(struct drm_connector *connector, 434 struct edid *drm_edid_duplicate(const struct edid *edi [all...] |
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_output_7a1000.c | 44 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 D | hibmc_drm_vdac.c | 28 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 D | output.c | 24 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 D | amdgpu_connectors.h | 27 struct edid *amdgpu_connector_edid(struct drm_connector *connector);
|
/linux-master/drivers/video/fbdev/via/ |
H A D | via_aux_edid.c | 12 #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 D | dp_panel.h | 14 struct edid; 42 struct edid *edid; member in struct:dp_panel
|
H A D | dp_panel.c | 112 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 D | drm_edid.c | 1593 /* Size allocated for edid */ 1595 const struct edid *edid; member in struct:drm_edid 1598 static int edid_hfeeodb_extension_block_count(const struct edid *edid); 1600 static int edid_hfeeodb_block_count(const struct edid *edid) argument 1602 int eeodb = edid_hfeeodb_extension_block_count(edid); 1607 static int edid_extension_block_count(const struct edid *edid) argument 1612 edid_block_count(const struct edid *edid) argument 1622 edid_size(const struct edid *edid) argument 1627 edid_block_data(const struct edid *edid, int index) argument 1634 edid_extension_block_data(const struct edid *edid, int index) argument 1692 drm_edid_legacy_init(struct drm_edid *drm_edid, const struct edid *edid) argument 1758 edid_header_fix(void *edid) argument 1773 const struct edid *edid = _edid; local 1818 edid_block_is_zero(const void *edid) argument 2037 drm_edid_is_valid(struct edid *edid) argument 2085 edid_filter_invalid_blocks(struct edid *edid, size_t *alloc_size) argument 2189 connector_bad_edid(struct drm_connector *connector, const struct edid *edid, int num_blocks) argument 2252 drm_edid_override_set(struct drm_connector *connector, const void *edid, size_t size) argument 2368 struct edid *edid, *new; local 2522 _drm_edid_alloc(const void *edid, size_t size) argument 2552 drm_edid_alloc(const void *edid, size_t size) argument 2630 struct edid *edid; local 2672 struct edid *edid; local 2823 const struct edid *edid = drm_edid->edid; local 2910 struct edid *edid; local 2958 drm_edid_duplicate(const struct edid *edid) argument 3295 const struct edid *edid = drm_edid->edid; local 3621 mode_in_hsync_range(const struct drm_display_mode *mode, const struct edid *edid, const u8 *t) argument 3638 mode_in_vsync_range(const struct drm_display_mode *mode, const struct edid *edid, const u8 *t) argument 3655 range_pixel_clock(const struct edid *edid, const u8 *t) argument 3673 const struct edid *edid = drm_edid->edid; local 3945 const struct edid *edid = drm_edid->edid; local 5262 edid_hfeeodb_extension_block_count(const struct edid *edid) argument 5621 drm_edid_get_monitor_name(const struct edid *edid, char *name, int bufsize) argument 5800 drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads) argument 5846 drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb) argument 5929 drm_detect_hdmi_monitor(const struct edid *edid) argument 5991 drm_detect_monitor_audio(const struct edid *edid) argument 6485 const struct edid *edid = closure->drm_edid->edid; local 6678 const struct edid *edid; local 7042 drm_connector_update_edid_property(struct drm_connector *connector, const struct edid *edid) argument 7064 drm_add_edid_modes(struct drm_connector *connector, struct edid *edid) argument [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | fbmon.c | 33 #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 D | fb_ddc.c | 18 #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 D | edid.c | 54 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 D | nv_i2c.c | 26 #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 D | v4l2-common.h | 53 __u8 *edid; member in struct:v4l2_edid
|
/linux-master/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.h | 34 const uint8_t *edid,
|
/linux-master/include/acpi/ |
H A D | video.h | 60 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 D | adv7511-v4l2.c | 119 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); 1170 static int adv7511_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument 1174 memset(edid->reserved, 0, sizeof(edid->reserved)); 1176 if (edid 1730 struct adv7511_state_edid *edid = &state->edid; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.c | 400 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 D | savagefb-i2c.c | 221 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;
|