• Home
  • Raw
  • Download

Lines Matching refs:vm

270 void videomode_to_omap_video_timings(const struct videomode *vm,  in videomode_to_omap_video_timings()  argument
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()
303 struct videomode *vm) in omap_video_timings_to_videomode() argument
305 memset(vm, 0, sizeof(*vm)); in omap_video_timings_to_videomode()
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()
319 vm->flags |= DISPLAY_FLAGS_HSYNC_HIGH; in omap_video_timings_to_videomode()
321 vm->flags |= DISPLAY_FLAGS_HSYNC_LOW; in omap_video_timings_to_videomode()
324 vm->flags |= DISPLAY_FLAGS_VSYNC_HIGH; in omap_video_timings_to_videomode()
326 vm->flags |= DISPLAY_FLAGS_VSYNC_LOW; in omap_video_timings_to_videomode()
329 vm->flags |= DISPLAY_FLAGS_DE_HIGH; in omap_video_timings_to_videomode()
331 vm->flags |= DISPLAY_FLAGS_DE_LOW; in omap_video_timings_to_videomode()
334 vm->flags |= DISPLAY_FLAGS_PIXDATA_POSEDGE; in omap_video_timings_to_videomode()
336 vm->flags |= DISPLAY_FLAGS_PIXDATA_NEGEDGE; in omap_video_timings_to_videomode()