Lines Matching full:vm

259 void videomode_to_omap_video_timings(const struct videomode *vm,  in videomode_to_omap_video_timings()  argument
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()
292 struct videomode *vm) in omap_video_timings_to_videomode() argument
294 memset(vm, 0, sizeof(*vm)); in omap_video_timings_to_videomode()
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()
308 vm->flags |= DISPLAY_FLAGS_HSYNC_HIGH; in omap_video_timings_to_videomode()
310 vm->flags |= DISPLAY_FLAGS_HSYNC_LOW; in omap_video_timings_to_videomode()
313 vm->flags |= DISPLAY_FLAGS_VSYNC_HIGH; in omap_video_timings_to_videomode()
315 vm->flags |= DISPLAY_FLAGS_VSYNC_LOW; in omap_video_timings_to_videomode()
318 vm->flags |= DISPLAY_FLAGS_DE_HIGH; in omap_video_timings_to_videomode()
320 vm->flags |= DISPLAY_FLAGS_DE_LOW; in omap_video_timings_to_videomode()
323 vm->flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; in omap_video_timings_to_videomode()
325 vm->flags |= DISPLAY_FLAGS_PIXDATA_NEGEDGE; in omap_video_timings_to_videomode()