Home
last modified time | relevance | path

Searched refs:ovl (Results 1 – 15 of 15) sorted by relevance

/drivers/video/omap2/dss/
Doverlay.c43 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show() argument
45 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name); in overlay_name_show()
48 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show() argument
51 ovl->manager ? ovl->manager->name : "<none>"); in overlay_manager_show()
54 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store() argument
82 if (mgr == ovl->manager) in overlay_manager_store()
85 old_mgr = ovl->manager; in overlay_manager_store()
93 r = ovl->unset_manager(ovl); in overlay_manager_store()
105 r = ovl->set_manager(ovl, mgr); in overlay_manager_store()
125 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show() argument
[all …]
Dapply.c122 static struct ovl_priv_data *get_ovl_priv(struct omap_overlay *ovl) in get_ovl_priv() argument
124 return &dss_data.ovl_priv_data_array[ovl->id]; in get_ovl_priv()
168 static bool ovl_manual_update(struct omap_overlay *ovl) in ovl_manual_update() argument
170 return ovl->manager->device->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE; in ovl_manual_update()
183 struct omap_overlay *ovl; in dss_check_settings_low() local
196 list_for_each_entry(ovl, &mgr->overlays, list) { in dss_check_settings_low()
197 op = get_ovl_priv(ovl); in dss_check_settings_low()
206 ois[ovl->id] = oi; in dss_check_settings_low()
239 struct omap_overlay *ovl; in need_isr() local
264 list_for_each_entry(ovl, &mgr->overlays, list) { in need_isr()
[all …]
Ddss.h169 int dss_mgr_wait_for_go_ovl(struct omap_overlay *ovl);
183 bool dss_ovl_is_enabled(struct omap_overlay *ovl);
184 int dss_ovl_enable(struct omap_overlay *ovl);
185 int dss_ovl_disable(struct omap_overlay *ovl);
186 int dss_ovl_set_info(struct omap_overlay *ovl,
188 void dss_ovl_get_info(struct omap_overlay *ovl,
190 int dss_ovl_set_manager(struct omap_overlay *ovl,
192 int dss_ovl_unset_manager(struct omap_overlay *ovl);
221 int dss_ovl_simple_check(struct omap_overlay *ovl,
223 int dss_ovl_check(struct omap_overlay *ovl,
Ddispc.c678 struct omap_overlay *ovl = omap_dss_get_overlay(plane); in dispc_ovl_set_zorder() local
680 if ((ovl->caps & OMAP_DSS_OVL_CAP_ZORDER) == 0) in dispc_ovl_set_zorder()
699 struct omap_overlay *ovl = omap_dss_get_overlay(plane); in dispc_ovl_set_pre_mult_alpha() local
701 if ((ovl->caps & OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA) == 0) in dispc_ovl_set_pre_mult_alpha()
711 struct omap_overlay *ovl = omap_dss_get_overlay(plane); in dispc_ovl_setup_global_alpha() local
713 if ((ovl->caps & OMAP_DSS_OVL_CAP_GLOBAL_ALPHA) == 0) in dispc_ovl_setup_global_alpha()
1738 struct omap_overlay *ovl = omap_dss_get_overlay(plane); in dispc_ovl_calc_scaling() local
1747 if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0) in dispc_ovl_calc_scaling()
1809 struct omap_overlay *ovl = omap_dss_get_overlay(plane); in dispc_ovl_setup() local
1917 if (ovl->caps & OMAP_DSS_OVL_CAP_SCALE) { in dispc_ovl_setup()
[all …]
Dmanager.c662 struct omap_overlay *ovl; in dss_mgr_check() local
671 list_for_each_entry(ovl, &mgr->overlays, list) { in dss_mgr_check()
675 oi = overlay_infos[ovl->id]; in dss_mgr_check()
680 r = dss_ovl_check(ovl, oi, dssdev); in dss_mgr_check()
/drivers/staging/omapdrm/
Domap_plane.c43 struct omap_overlay *ovl; member
86 id2irq[omap_plane->ovl->id]); in dispc_isr()
119 struct omap_overlay *ovl = omap_plane->ovl; in install_irq() local
122 ret = omap_dispc_register_isr(dispc_isr, plane, id2irq[ovl->id]); in install_irq()
137 struct omap_overlay *ovl = omap_plane->ovl; in commit() local
141 DBG("%s", ovl->name); in commit()
151 ret = ovl->set_overlay_info(ovl, info); in commit()
168 if (ovl->manager) { in commit()
169 ret = ovl->manager->apply(ovl->manager); in commit()
188 if (ovl->is_enabled(ovl)) { in commit()
[all …]
Domap_drv.c107 struct omap_overlay *ovl = omap_dss_get_overlay(i); in dump_video_chains() local
108 struct omap_overlay_manager *mgr = ovl->manager; in dump_video_chains()
111 DBG("%d: %s -> %s -> %s", i, ovl->name, mgr->name, in dump_video_chains()
114 DBG("%d: %s -> %s", i, ovl->name, mgr->name); in dump_video_chains()
116 DBG("%d: %s", i, ovl->name); in dump_video_chains()
201 static int create_crtc(struct drm_device *dev, struct omap_overlay *ovl, in create_crtc() argument
243 crtc = omap_crtc_init(dev, ovl, priv->num_crtcs); in create_crtc()
247 ovl->name); in create_crtc()
258 static int create_plane(struct drm_device *dev, struct omap_overlay *ovl, in create_plane() argument
263 omap_plane_init(dev, ovl, possible_crtcs, false); in create_plane()
[all …]
Domap_crtc.c219 struct omap_overlay *ovl, int id) in omap_crtc_init() argument
224 DBG("%s", ovl->name); in omap_crtc_init()
233 omap_crtc->plane = omap_plane_init(dev, ovl, (1 << id), true); in omap_crtc_init()
235 omap_crtc->name = ovl->name; in omap_crtc_init()
Domap_drv.h76 struct omap_overlay *ovl, int id);
79 struct omap_overlay *ovl, unsigned int possible_crtcs,
/drivers/media/video/omap/
Domap_vout.c328 struct omap_overlay *ovl; in video_mode_to_dss_mode() local
334 ovl = ovid->overlays[0]; in video_mode_to_dss_mode()
352 mode = (ovl->id == OMAP_DSS_VIDEO1) ? in video_mode_to_dss_mode()
368 struct omap_overlay *ovl, int posx, int posy, int outw, in omapvid_setup_overlay() argument
375 if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0 && in omapvid_setup_overlay()
402 ovl->get_overlay_info(ovl, &info); in omapvid_setup_overlay()
427 __func__, ovl->is_enabled(ovl), info.paddr, info.width, info.height, in omapvid_setup_overlay()
432 ret = ovl->set_overlay_info(ovl, &info); in omapvid_setup_overlay()
450 struct omap_overlay *ovl; in omapvid_init() local
457 ovl = ovid->overlays[i]; in omapvid_init()
[all …]
/drivers/video/omap2/omapfb/
Domapfb-ioctl.c66 struct omap_overlay *ovl; in omapfb_setup_plane() local
79 ovl = ofbi->overlays[0]; in omapfb_setup_plane()
107 ovl->get_overlay_info(ovl, &old_info); in omapfb_setup_plane()
115 r = ovl->disable(ovl); in omapfb_setup_plane()
121 r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y, in omapfb_setup_plane()
128 ovl->get_overlay_info(ovl, &info); in omapfb_setup_plane()
135 r = ovl->set_overlay_info(ovl, &info); in omapfb_setup_plane()
140 if (ovl->manager) in omapfb_setup_plane()
141 ovl->manager->apply(ovl->manager); in omapfb_setup_plane()
144 r = ovl->enable(ovl); in omapfb_setup_plane()
[all …]
Domapfb-sysfs.c157 struct omap_overlay *ovl = ofbi->overlays[t]; in show_overlays() local
161 if (ovl == fbdev->overlays[ovlnum]) in show_overlays()
177 struct omap_overlay *ovl) in get_overlay_fb() argument
185 if (ofbi->overlays[t] == ovl) in get_overlay_fb()
200 struct omap_overlay *ovl; in store_overlays() local
260 ovl = ofbi->overlays[i]; in store_overlays()
265 if (ovl == ovls[t]) { in store_overlays()
278 omapfb_overlay_enable(ovl, 0); in store_overlays()
280 if (ovl->manager) in store_overlays()
281 ovl->manager->apply(ovl->manager); in store_overlays()
[all …]
Domapfb.h133 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl,
181 static inline int omapfb_overlay_enable(struct omap_overlay *ovl, in omapfb_overlay_enable() argument
185 return ovl->enable(ovl); in omapfb_overlay_enable()
187 return ovl->disable(ovl); in omapfb_overlay_enable()
Domapfb-main.c838 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl, in omapfb_setup_overlay() argument
857 if (ovl != ofbi->overlays[i]) in omapfb_setup_overlay()
897 ovl->get_overlay_info(ovl, &info); in omapfb_setup_overlay()
918 r = ovl->set_overlay_info(ovl, &info); in omapfb_setup_overlay()
937 struct omap_overlay *ovl; in omapfb_apply_changes() local
950 ovl = ofbi->overlays[i]; in omapfb_apply_changes()
952 DBG("apply_changes, fb %d, ovl %d\n", ofbi->id, ovl->id); in omapfb_apply_changes()
956 omapfb_overlay_enable(ovl, 0); in omapfb_apply_changes()
957 if (!init && ovl->manager) in omapfb_apply_changes()
958 ovl->manager->apply(ovl->manager); in omapfb_apply_changes()
[all …]
/drivers/usb/atm/
Dueagle-atm.c172 u16 ovl; member
918 u16 ovl = sc->ovl; in uea_load_page_e1() local
928 if (ovl == 0 && pageno == 0 && sc->dsp_firm) { in uea_load_page_e1()
957 bi.wOvl = cpu_to_le16(ovl); in uea_load_page_e1()
958 bi.wOvlOffset = cpu_to_le16(ovl | 0x8000); in uea_load_page_e1()
1880 sc->ovl = 0; in uea_start_reset()
2092 sc->ovl = intr->e1_bOvl >> 4 | intr->e1_bOvl << 4; in uea_schedule_load_page_e1()