Lines Matching refs:ovt

260 		struct omap_video_timings *ovt)  in videomode_to_omap_video_timings()  argument
262 memset(ovt, 0, sizeof(*ovt)); in videomode_to_omap_video_timings()
264 ovt->pixelclock = vm->pixelclock; in videomode_to_omap_video_timings()
265 ovt->x_res = vm->hactive; in videomode_to_omap_video_timings()
266 ovt->hbp = vm->hback_porch; in videomode_to_omap_video_timings()
267 ovt->hfp = vm->hfront_porch; in videomode_to_omap_video_timings()
268 ovt->hsw = vm->hsync_len; in videomode_to_omap_video_timings()
269 ovt->y_res = vm->vactive; in videomode_to_omap_video_timings()
270 ovt->vbp = vm->vback_porch; in videomode_to_omap_video_timings()
271 ovt->vfp = vm->vfront_porch; in videomode_to_omap_video_timings()
272 ovt->vsw = vm->vsync_len; in videomode_to_omap_video_timings()
274 ovt->vsync_level = vm->flags & DISPLAY_FLAGS_VSYNC_HIGH ? in videomode_to_omap_video_timings()
277 ovt->hsync_level = vm->flags & DISPLAY_FLAGS_HSYNC_HIGH ? in videomode_to_omap_video_timings()
280 ovt->de_level = vm->flags & DISPLAY_FLAGS_DE_HIGH ? in videomode_to_omap_video_timings()
283 ovt->data_pclk_edge = vm->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE ? in videomode_to_omap_video_timings()
287 ovt->sync_pclk_edge = ovt->data_pclk_edge; in videomode_to_omap_video_timings()
291 void omap_video_timings_to_videomode(const struct omap_video_timings *ovt, in omap_video_timings_to_videomode() argument
296 vm->pixelclock = ovt->pixelclock; in omap_video_timings_to_videomode()
298 vm->hactive = ovt->x_res; in omap_video_timings_to_videomode()
299 vm->hback_porch = ovt->hbp; in omap_video_timings_to_videomode()
300 vm->hfront_porch = ovt->hfp; in omap_video_timings_to_videomode()
301 vm->hsync_len = ovt->hsw; in omap_video_timings_to_videomode()
302 vm->vactive = ovt->y_res; in omap_video_timings_to_videomode()
303 vm->vback_porch = ovt->vbp; in omap_video_timings_to_videomode()
304 vm->vfront_porch = ovt->vfp; in omap_video_timings_to_videomode()
305 vm->vsync_len = ovt->vsw; in omap_video_timings_to_videomode()
307 if (ovt->hsync_level == OMAPDSS_SIG_ACTIVE_HIGH) in omap_video_timings_to_videomode()
312 if (ovt->vsync_level == OMAPDSS_SIG_ACTIVE_HIGH) in omap_video_timings_to_videomode()
317 if (ovt->de_level == OMAPDSS_SIG_ACTIVE_HIGH) in omap_video_timings_to_videomode()
322 if (ovt->data_pclk_edge == OMAPDSS_DRIVE_SIG_RISING_EDGE) in omap_video_timings_to_videomode()