Lines Matching refs:ovt
271 struct omap_video_timings *ovt) in videomode_to_omap_video_timings() argument
273 memset(ovt, 0, sizeof(*ovt)); in videomode_to_omap_video_timings()
275 ovt->pixelclock = vm->pixelclock; in videomode_to_omap_video_timings()
276 ovt->x_res = vm->hactive; in videomode_to_omap_video_timings()
277 ovt->hbp = vm->hback_porch; in videomode_to_omap_video_timings()
278 ovt->hfp = vm->hfront_porch; in videomode_to_omap_video_timings()
279 ovt->hsw = vm->hsync_len; in videomode_to_omap_video_timings()
280 ovt->y_res = vm->vactive; in videomode_to_omap_video_timings()
281 ovt->vbp = vm->vback_porch; in videomode_to_omap_video_timings()
282 ovt->vfp = vm->vfront_porch; in videomode_to_omap_video_timings()
283 ovt->vsw = vm->vsync_len; in videomode_to_omap_video_timings()
285 ovt->vsync_level = vm->flags & DISPLAY_FLAGS_VSYNC_HIGH ? in videomode_to_omap_video_timings()
288 ovt->hsync_level = vm->flags & DISPLAY_FLAGS_HSYNC_HIGH ? in videomode_to_omap_video_timings()
291 ovt->de_level = vm->flags & DISPLAY_FLAGS_DE_HIGH ? in videomode_to_omap_video_timings()
294 ovt->data_pclk_edge = vm->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE ? in videomode_to_omap_video_timings()
298 ovt->sync_pclk_edge = ovt->data_pclk_edge; in videomode_to_omap_video_timings()
302 void omap_video_timings_to_videomode(const struct omap_video_timings *ovt, in omap_video_timings_to_videomode() argument
307 vm->pixelclock = ovt->pixelclock; in omap_video_timings_to_videomode()
309 vm->hactive = ovt->x_res; in omap_video_timings_to_videomode()
310 vm->hback_porch = ovt->hbp; in omap_video_timings_to_videomode()
311 vm->hfront_porch = ovt->hfp; in omap_video_timings_to_videomode()
312 vm->hsync_len = ovt->hsw; in omap_video_timings_to_videomode()
313 vm->vactive = ovt->y_res; in omap_video_timings_to_videomode()
314 vm->vback_porch = ovt->vbp; in omap_video_timings_to_videomode()
315 vm->vfront_porch = ovt->vfp; in omap_video_timings_to_videomode()
316 vm->vsync_len = ovt->vsw; in omap_video_timings_to_videomode()
318 if (ovt->hsync_level == OMAPDSS_SIG_ACTIVE_HIGH) in omap_video_timings_to_videomode()
323 if (ovt->vsync_level == OMAPDSS_SIG_ACTIVE_HIGH) in omap_video_timings_to_videomode()
328 if (ovt->de_level == OMAPDSS_SIG_ACTIVE_HIGH) in omap_video_timings_to_videomode()
333 if (ovt->data_pclk_edge == OMAPDSS_DRIVE_SIG_RISING_EDGE) in omap_video_timings_to_videomode()