Lines Matching refs:edid
44 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()
209 __func__, edid->version, edid->revision); in edid_get_timing()
213 ((edid->video_input_definition & 0x70) >> 3) + 4; in edid_get_timing()
217 if (edid->extension_flag && (buf_size >= EDID_EXT_SIZE)) { in edid_get_timing()
219 (struct edid_cea861_info *)(buf + sizeof(*edid)); in edid_get_timing()
313 static void edid_get_manufacturer_name(struct edid1_info *edid, char *name) in edid_get_manufacturer_name() argument
315 name[0] = EDID1_INFO_MANUFACTURER_NAME_CHAR1(*edid) + 'A' - 1; in edid_get_manufacturer_name()
316 name[1] = EDID1_INFO_MANUFACTURER_NAME_CHAR2(*edid) + 'A' - 1; in edid_get_manufacturer_name()
317 name[2] = EDID1_INFO_MANUFACTURER_NAME_CHAR3(*edid) + 'A' - 1; in edid_get_manufacturer_name()