Lines Matching refs:ovl
240 struct omap_overlay *ovl; in video_mode_to_dss_mode() local
246 ovl = ovid->overlays[0]; in video_mode_to_dss_mode()
262 mode = (ovl->id == OMAP_DSS_VIDEO1) ? in video_mode_to_dss_mode()
279 struct omap_overlay *ovl, int posx, int posy, int outw, in omapvid_setup_overlay() argument
286 if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0 && in omapvid_setup_overlay()
311 ovl->get_overlay_info(ovl, &info); in omapvid_setup_overlay()
336 ovl->is_enabled(ovl), &info.paddr, info.width, info.height, in omapvid_setup_overlay()
341 ret = ovl->set_overlay_info(ovl, &info); in omapvid_setup_overlay()
359 struct omap_overlay *ovl; in omapvid_init() local
368 ovl = ovid->overlays[i]; in omapvid_init()
369 dssdev = ovl->get_device(ovl); in omapvid_init()
405 ret = omapvid_setup_overlay(vout, ovl, posx, posy, in omapvid_init()
423 struct omap_overlay *ovl; in omapvid_apply_changes() local
429 ovl = ovid->overlays[i]; in omapvid_apply_changes()
430 dssdev = ovl->get_device(ovl); in omapvid_apply_changes()
433 ovl->manager->apply(ovl->manager); in omapvid_apply_changes()
484 struct omap_overlay *ovl; in omap_vout_isr() local
491 ovl = ovid->overlays[0]; in omap_vout_isr()
493 mgr_id = ovl->manager->id; in omap_vout_isr()
496 cur_display = ovl->get_device(ovl); in omap_vout_isr()
610 struct omap_overlay *ovl; in vidioc_try_fmt_vid_out() local
617 ovl = ovid->overlays[0]; in vidioc_try_fmt_vid_out()
619 dssdev = ovl->get_device(ovl); in vidioc_try_fmt_vid_out()
637 struct omap_overlay *ovl; in vidioc_s_fmt_vid_out() local
647 ovl = ovid->overlays[0]; in vidioc_s_fmt_vid_out()
648 dssdev = ovl->get_device(ovl); in vidioc_s_fmt_vid_out()
704 struct omap_overlay *ovl; in vidioc_try_fmt_vid_overlay() local
709 ovl = ovid->overlays[0]; in vidioc_try_fmt_vid_overlay()
713 if (!ret && !(ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA)) in vidioc_try_fmt_vid_overlay()
723 struct omap_overlay *ovl; in vidioc_s_fmt_vid_overlay() local
729 ovl = ovid->overlays[0]; in vidioc_s_fmt_vid_overlay()
738 if (ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) in vidioc_s_fmt_vid_overlay()
750 if (ovl->manager && ovl->manager->get_manager_info && in vidioc_s_fmt_vid_overlay()
751 ovl->manager->set_manager_info) { in vidioc_s_fmt_vid_overlay()
754 ovl->manager->get_manager_info(ovl->manager, &info); in vidioc_s_fmt_vid_overlay()
759 if (ovl->manager->set_manager_info(ovl->manager, &info)) in vidioc_s_fmt_vid_overlay()
769 struct omap_overlay *ovl; in vidioc_g_fmt_vid_overlay() local
775 ovl = ovid->overlays[0]; in vidioc_g_fmt_vid_overlay()
780 if (ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) in vidioc_g_fmt_vid_overlay()
821 struct omap_overlay *ovl; in vidioc_s_selection() local
835 ovl = ovid->overlays[0]; in vidioc_s_selection()
837 dssdev = ovl->get_device(ovl); in vidioc_s_selection()
893 struct omap_overlay *ovl; in omap_vout_s_ctrl() local
897 ovl = vout->vid_info.overlays[0]; in omap_vout_s_ctrl()
899 if (!ovl->manager || !ovl->manager->get_manager_info) { in omap_vout_s_ctrl()
904 ovl->manager->get_manager_info(ovl->manager, &info); in omap_vout_s_ctrl()
906 if (ovl->manager->set_manager_info(ovl->manager, &info)) { in omap_vout_s_ctrl()
1046 struct omap_overlay *ovl = ovid->overlays[j]; in omap_vout_vb2_start_streaming() local
1047 struct omap_dss_device *dssdev = ovl->get_device(ovl); in omap_vout_vb2_start_streaming()
1050 ret = ovl->enable(ovl); in omap_vout_vb2_start_streaming()
1064 struct omap_overlay *ovl = ovid->overlays[j]; in omap_vout_vb2_start_streaming() local
1065 struct omap_dss_device *dssdev = ovl->get_device(ovl); in omap_vout_vb2_start_streaming()
1068 ovl->disable(ovl); in omap_vout_vb2_start_streaming()
1098 struct omap_overlay *ovl = ovid->overlays[j]; in omap_vout_vb2_stop_streaming() local
1099 struct omap_dss_device *dssdev = ovl->get_device(ovl); in omap_vout_vb2_stop_streaming()
1102 ovl->disable(ovl); in omap_vout_vb2_stop_streaming()
1122 struct omap_overlay *ovl; in vidioc_s_fbuf() local
1129 ovl = ovid->overlays[0]; in vidioc_s_fbuf()
1159 if (ovl->manager && ovl->manager->get_manager_info && in vidioc_s_fbuf()
1160 ovl->manager->set_manager_info) { in vidioc_s_fbuf()
1162 ovl->manager->get_manager_info(ovl->manager, &info); in vidioc_s_fbuf()
1167 if (ovl->manager->set_manager_info(ovl->manager, &info)) in vidioc_s_fbuf()
1177 if (ovl->manager && ovl->manager->get_manager_info && in vidioc_s_fbuf()
1178 ovl->manager->set_manager_info) { in vidioc_s_fbuf()
1179 ovl->manager->get_manager_info(ovl->manager, &info); in vidioc_s_fbuf()
1181 if ((ovl->caps & OMAP_DSS_OVL_CAP_ZORDER) == 0) in vidioc_s_fbuf()
1183 if (ovl->manager->set_manager_info(ovl->manager, &info)) in vidioc_s_fbuf()
1193 struct omap_overlay *ovl; in vidioc_g_fbuf() local
1201 ovl = ovid->overlays[0]; in vidioc_g_fbuf()
1203 dssdev = ovl->get_device(ovl); in vidioc_g_fbuf()
1226 if (ovl->manager && ovl->manager->get_manager_info) { in vidioc_g_fbuf()
1227 ovl->manager->get_manager_info(ovl->manager, &info); in vidioc_g_fbuf()
1313 struct omap_overlay *ovl = vout->vid_info.overlays[0]; in omap_vout_setup_video_data() local
1314 struct omap_dss_device *display = ovl->get_device(ovl); in omap_vout_setup_video_data()
1343 if (ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) { in omap_vout_setup_video_data()
1450 struct omap_overlay *ovl = vid_dev->overlays[0]; in omap_vout_create_video_devices() local
1453 ovl->get_overlay_info(ovl, &info); in omap_vout_create_video_devices()
1596 struct omap_overlay *ovl; in omap_vout_probe() local
1654 ovl = omap_dss_get_overlay(i); in omap_vout_probe()
1655 dssdev = ovl->get_device(ovl); in omap_vout_probe()
1704 ovl = omap_dss_get_overlay(i); in omap_vout_probe()
1705 dssdev = ovl->get_device(ovl); in omap_vout_probe()