Lines Matching refs:ovl

57 		struct omap_overlay *ovl = &overlays[i];  in dss_init_overlays()  local
61 ovl->name = "gfx"; in dss_init_overlays()
62 ovl->id = OMAP_DSS_GFX; in dss_init_overlays()
65 ovl->name = "vid1"; in dss_init_overlays()
66 ovl->id = OMAP_DSS_VIDEO1; in dss_init_overlays()
69 ovl->name = "vid2"; in dss_init_overlays()
70 ovl->id = OMAP_DSS_VIDEO2; in dss_init_overlays()
73 ovl->name = "vid3"; in dss_init_overlays()
74 ovl->id = OMAP_DSS_VIDEO3; in dss_init_overlays()
78 ovl->caps = dss_feat_get_overlay_caps(ovl->id); in dss_init_overlays()
79 ovl->supported_modes = in dss_init_overlays()
80 dss_feat_get_supported_color_modes(ovl->id); in dss_init_overlays()
82 r = dss_overlay_kobj_init(ovl, pdev); in dss_init_overlays()
93 struct omap_overlay *ovl = &overlays[i]; in dss_uninit_overlays() local
94 dss_overlay_kobj_uninit(ovl); in dss_uninit_overlays()
102 int dss_ovl_simple_check(struct omap_overlay *ovl, in dss_ovl_simple_check() argument
105 if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0) { in dss_ovl_simple_check()
108 "scaling\n", ovl->id); in dss_ovl_simple_check()
114 "scaling\n", ovl->id); in dss_ovl_simple_check()
119 if ((ovl->supported_modes & info->color_mode) == 0) { in dss_ovl_simple_check()
121 ovl->id, info->color_mode); in dss_ovl_simple_check()
139 int dss_ovl_check(struct omap_overlay *ovl, struct omap_overlay_info *info, in dss_ovl_check() argument
148 if ((ovl->caps & OMAP_DSS_OVL_CAP_SCALE) == 0) { in dss_ovl_check()
166 ovl->id, info->pos_x, outw, dw); in dss_ovl_check()
173 ovl->id, info->pos_y, outh, dh); in dss_ovl_check()