Lines Matching full:timing

68 /* Set all parts of a timing entry to the same value */
77 * decode_timing() - Decoding an 18-byte detailed timing record
79 * @buf: Pointer to EDID detailed timing record
80 * @timing: Place to put timing
82 static void decode_timing(u8 *buf, struct display_timing *timing) in decode_timing() argument
90 set_entry(&timing->pixelclock, (buf[0] + (buf[1] << 8)) * 10000); in decode_timing()
104 set_entry(&timing->hactive, ha); in decode_timing()
105 set_entry(&timing->hfront_porch, hso); in decode_timing()
106 set_entry(&timing->hback_porch, hbl - hso - hspw); in decode_timing()
107 set_entry(&timing->hsync_len, hspw); in decode_timing()
109 set_entry(&timing->vactive, va); in decode_timing()
110 set_entry(&timing->vfront_porch, vso); in decode_timing()
111 set_entry(&timing->vback_porch, vbl - vso - vspw); in decode_timing()
112 set_entry(&timing->vsync_len, vspw); in decode_timing()
114 timing->flags = 0; in decode_timing()
116 timing->flags |= DISPLAY_FLAGS_HSYNC_HIGH; in decode_timing()
118 timing->flags |= DISPLAY_FLAGS_HSYNC_LOW; in decode_timing()
120 timing->flags |= DISPLAY_FLAGS_VSYNC_HIGH; in decode_timing()
122 timing->flags |= DISPLAY_FLAGS_VSYNC_LOW; in decode_timing()
125 timing->flags = DISPLAY_FLAGS_INTERLACED; in decode_timing()
130 timing->pixelclock.typ, in decode_timing()
171 int edid_get_timing(u8 *buf, int buf_size, struct display_timing *timing, in edid_get_timing() argument
184 debug("%s: No preferred timing\n", __func__); in edid_get_timing()
188 /* Look for detailed timing */ in edid_get_timing()
195 decode_timing((u8 *)desc, timing); in edid_get_timing()
216 timing->hdmi_monitor = false; in edid_get_timing()
222 timing->hdmi_monitor = cea_is_hdmi_vsdb_present(info); in edid_get_timing()
256 * @have_timing Modifies to 1 if the desciptor contains timing info
262 struct edid_detailed_timing *timing = in edid_print_dtd() local
289 pixclock = EDID_DETAILED_TIMING_PIXEL_CLOCK(*timing); in edid_print_dtd()
290 h_active = EDID_DETAILED_TIMING_HORIZONTAL_ACTIVE(*timing); in edid_print_dtd()
291 h_blanking = EDID_DETAILED_TIMING_HORIZONTAL_BLANKING(*timing); in edid_print_dtd()
292 v_active = EDID_DETAILED_TIMING_VERTICAL_ACTIVE(*timing); in edid_print_dtd()
293 v_blanking = EDID_DETAILED_TIMING_VERTICAL_BLANKING(*timing); in edid_print_dtd()
453 /* Detailed timing information. */ in edid_print_info()