Home
last modified time | relevance | path

Searched full:ovl (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c24 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show() argument
26 return sysfs_emit(buf, "%s\n", ovl->name); in overlay_name_show()
29 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show() argument
32 ovl->manager ? ovl->manager->name : "<none>"); in overlay_manager_show()
35 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store() argument
63 if (mgr == ovl->manager) in overlay_manager_store()
66 old_mgr = ovl->manager; in overlay_manager_store()
74 r = ovl->unset_manager(ovl); in overlay_manager_store()
86 r = ovl->set_manager(ovl, mgr); in overlay_manager_store()
106 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show() argument
[all …]
H A Doverlay.c57 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()
[all …]
H A Dapply.c118 static struct ovl_priv_data *get_ovl_priv(struct omap_overlay *ovl) in get_ovl_priv() argument
120 return &dss_data.ovl_priv_data_array[ovl->id]; in get_ovl_priv()
181 static bool ovl_manual_update(struct omap_overlay *ovl) in ovl_manual_update() argument
183 struct mgr_priv_data *mp = get_mgr_priv(ovl->manager); in ovl_manual_update()
200 struct omap_overlay *ovl; in dss_check_settings_low() local
216 list_for_each_entry(ovl, &mgr->overlays, list) { in dss_check_settings_low()
217 op = get_ovl_priv(ovl); in dss_check_settings_low()
226 ois[ovl->id] = oi; in dss_check_settings_low()
241 * check manager and overlay settings using overlay_info from ovl->info if
257 struct omap_overlay *ovl; in need_isr() local
[all …]
H A Ddispc-compat.c343 struct omap_overlay *ovl; in dispc_error_worker() local
346 ovl = omap_dss_get_overlay(i); in dispc_error_worker()
351 ovl->name); in dispc_error_worker()
352 ovl->disable(ovl); in dispc_error_worker()
374 struct omap_overlay *ovl; in dispc_error_worker() local
375 ovl = omap_dss_get_overlay(j); in dispc_error_worker()
377 if (ovl->id != OMAP_DSS_GFX && in dispc_error_worker()
378 ovl->manager == mgr) in dispc_error_worker()
379 ovl->disable(ovl); in dispc_error_worker()
H A Dmanager.c219 struct omap_overlay *ovl; in dss_mgr_check() local
236 list_for_each_entry(ovl, &mgr->overlays, list) { in dss_mgr_check()
240 oi = overlay_infos[ovl->id]; in dss_mgr_check()
245 r = dss_ovl_check(ovl, oi, mgr_timings); in dss_mgr_check()
H A Ddss.h237 int dss_ovl_simple_check(struct omap_overlay *ovl,
239 int dss_ovl_check(struct omap_overlay *ovl, struct omap_overlay_info *info,
243 int dss_overlay_kobj_init(struct omap_overlay *ovl,
245 void dss_overlay_kobj_uninit(struct omap_overlay *ovl);
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl.c51 #define DISP_REG_OVL_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n)) argument
52 #define DISP_REG_OVL_HDR_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n) + 0x04) argument
53 #define DISP_REG_OVL_HDR_PITCH(ovl, n) ((ovl)->data->addr + 0x20 * (n) + 0x08) argument
77 #define OVL_CON_CLRFMT_RGB565(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ argument
79 #define OVL_CON_CLRFMT_RGB888(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ argument
189 struct mtk_disp_ovl *ovl = dev_get_drvdata(dev); in mtk_ovl_register_vblank_cb() local
191 ovl->vblank_cb = vblank_cb; in mtk_ovl_register_vblank_cb()
192 ovl->vblank_cb_data = vblank_cb_data; in mtk_ovl_register_vblank_cb()
197 struct mtk_disp_ovl *ovl = dev_get_drvdata(dev); in mtk_ovl_unregister_vblank_cb() local
199 ovl->vblank_cb = NULL; in mtk_ovl_unregister_vblank_cb()
[all …]
H A Dmtk_drm_drv.c545 /* Use OVL device for all DMA memory allocations */ in mtk_drm_kms_init()
551 dev_err(drm->dev, "Need at least one OVL device\n"); in mtk_drm_kms_init()
754 { .compatible = "mediatek,mt2701-disp-ovl",
756 { .compatible = "mediatek,mt8167-disp-ovl",
758 { .compatible = "mediatek,mt8173-disp-ovl",
760 { .compatible = "mediatek,mt8183-disp-ovl",
762 { .compatible = "mediatek,mt8192-disp-ovl",
764 { .compatible = "mediatek,mt8195-disp-ovl",
766 { .compatible = "mediatek,mt8183-disp-ovl-2l",
768 { .compatible = "mediatek,mt8192-disp-ovl-2l",
[all …]
H A Dmtk_disp_ovl_adaptor.c248 * power_off - Power off the devices in OVL adaptor
272 * mtk_ovl_adaptor_power_on - Power on the devices in OVL adaptor
275 * Different from OVL, OVL adaptor is a pseudo device so
277 * called by .atomic_enable() power on no device in OVL adaptor,
637 .name = "mediatek-disp-ovl-adaptor",
/linux/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,ovl.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,ovl.yaml#
14 Mediatek display overlay, namely OVL, can do alpha blending from
16 OVL device node must be siblings to the central MMSYS_CONFIG node.
25 - mediatek,mt2701-disp-ovl
26 - mediatek,mt8173-disp-ovl
27 - mediatek,mt8183-disp-ovl
28 - mediatek,mt8192-disp-ovl
29 - mediatek,mt8195-mdp3-ovl
32 - mediatek,mt7623-disp-ovl
33 - mediatek,mt2712-disp-ovl
[all …]
H A Dmediatek,ovl-2l.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,ovl-2l.yaml#
14 Mediatek display overlay 2 layer, namely OVL-2L, provides 2 more layer
15 for OVL.
16 OVL-2L device node must be siblings to the central MMSYS_CONFIG node.
25 - mediatek,mt8183-disp-ovl-2l
26 - mediatek,mt8192-disp-ovl-2l
29 - mediatek,mt8186-disp-ovl-2l
30 - const: mediatek,mt8192-disp-ovl-2l
45 - description: OVL-2L Clock
82 ovl_2l0: ovl@14009000 {
[all …]
/linux/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c309 static void lcdc_write_overlay(struct sh_mobile_lcdc_overlay *ovl, in lcdc_write_overlay() argument
312 iowrite32(data, ovl->channel->lcdc->base + reg); in lcdc_write_overlay()
313 iowrite32(data, ovl->channel->lcdc->base + reg + SIDE_B_OFFSET); in lcdc_write_overlay()
773 static void sh_mobile_lcdc_overlay_setup(struct sh_mobile_lcdc_overlay *ovl) in sh_mobile_lcdc_overlay_setup() argument
777 if (!ovl->enabled) { in sh_mobile_lcdc_overlay_setup()
778 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
779 lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), 0); in sh_mobile_lcdc_overlay_setup()
780 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_setup()
781 LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); in sh_mobile_lcdc_overlay_setup()
785 ovl->base_addr_y = ovl->dma_handle; in sh_mobile_lcdc_overlay_setup()
[all …]
/linux/drivers/media/platform/ti/omap/
H A Domap_vout.c240 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()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-ioctl.c55 struct omap_overlay *ovl; in omapfb_setup_plane() local
68 ovl = ofbi->overlays[0]; in omapfb_setup_plane()
96 ovl->get_overlay_info(ovl, &old_info); in omapfb_setup_plane()
104 r = ovl->disable(ovl); in omapfb_setup_plane()
110 r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y, in omapfb_setup_plane()
117 ovl->get_overlay_info(ovl, &info); in omapfb_setup_plane()
124 r = ovl->set_overlay_info(ovl, &info); in omapfb_setup_plane()
129 if (ovl->manager) { in omapfb_setup_plane()
130 r = ovl->manager->apply(ovl->manager); in omapfb_setup_plane()
136 r = ovl->enable(ovl); in omapfb_setup_plane()
[all …]
H A Domapfb.h123 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl,
137 struct omap_overlay *ovl; in fb2display() local
144 ovl = ofbi->overlays[0]; in fb2display()
146 return ovl->get_device(ovl); in fb2display()
173 static inline int omapfb_overlay_enable(struct omap_overlay *ovl, in omapfb_overlay_enable() argument
177 return ovl->enable(ovl); in omapfb_overlay_enable()
179 return ovl->disable(ovl); in omapfb_overlay_enable()
H A Domapfb-sysfs.c144 struct omap_overlay *ovl = ofbi->overlays[t]; in show_overlays() local
148 if (ovl == fbdev->overlays[ovlnum]) in show_overlays()
164 struct omap_overlay *ovl) in get_overlay_fb() argument
172 if (ofbi->overlays[t] == ovl) in get_overlay_fb()
187 struct omap_overlay *ovl; in store_overlays() local
246 ovl = ofbi->overlays[i]; in store_overlays()
251 if (ovl == ovls[t]) { in store_overlays()
264 omapfb_overlay_enable(ovl, 0); in store_overlays()
266 if (ovl->manager) in store_overlays()
267 ovl->manager->apply(ovl->manager); in store_overlays()
[all …]
H A Domapfb-main.c831 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl, in omapfb_setup_overlay() argument
850 if (ovl != ofbi->overlays[i]) in omapfb_setup_overlay()
891 ovl->get_overlay_info(ovl, &info); in omapfb_setup_overlay()
912 r = ovl->set_overlay_info(ovl, &info); in omapfb_setup_overlay()
914 DBG("ovl->setup_overlay_info failed\n"); in omapfb_setup_overlay()
931 struct omap_overlay *ovl; in omapfb_apply_changes() local
944 ovl = ofbi->overlays[i]; in omapfb_apply_changes()
946 DBG("apply_changes, fb %d, ovl %d\n", ofbi->id, ovl->id); in omapfb_apply_changes()
950 omapfb_overlay_enable(ovl, 0); in omapfb_apply_changes()
951 if (!init && ovl->manager) in omapfb_apply_changes()
[all …]
/linux/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c77 int tmpfs, fsfd, ovl; in ovl_mount() local
112 ovl = sys_fsmount(fsfd, 0, 0); in ovl_mount()
113 if (ovl == -1) in ovl_mount()
116 return ovl; in ovl_mount()
126 int ovl, fd; in test() local
129 ovl = ovl_mount(); in test()
130 if (ovl == -1) in test()
133 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644); in test()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_overlay.c75 struct omap_hw_overlay *ovl, *r_ovl; in omap_overlay_assign() local
77 ovl = omap_plane_find_free_overlay(s->dev, overlay_map, caps, fourcc); in omap_overlay_assign()
78 if (!ovl) in omap_overlay_assign()
81 overlay_map[ovl->idx] = plane; in omap_overlay_assign()
82 *overlay = ovl; in omap_overlay_assign()
88 overlay_map[ovl->idx] = NULL; in omap_overlay_assign()
97 DBG("%s: assign to plane %s caps %x", ovl->name, plane->name, caps); in omap_overlay_assign()
/linux/include/video/
H A Domapfb_dss.h338 int (*enable)(struct omap_overlay *ovl);
339 int (*disable)(struct omap_overlay *ovl);
340 bool (*is_enabled)(struct omap_overlay *ovl);
342 int (*set_manager)(struct omap_overlay *ovl,
344 int (*unset_manager)(struct omap_overlay *ovl);
346 int (*set_overlay_info)(struct omap_overlay *ovl,
348 void (*get_overlay_info)(struct omap_overlay *ovl,
351 int (*wait_for_go)(struct omap_overlay *ovl);
353 struct omap_dss_device *(*get_device)(struct omap_overlay *ovl);
/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623n.dtsi139 ovl: ovl@14007000 { label
140 compatible = "mediatek,mt7623-disp-ovl",
141 "mediatek,mt2701-disp-ovl";
/linux/fs/overlayfs/
H A Dovl_entry.h36 /* Trap in ovl inode cache */
81 /* Traps in ovl inode cache */
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6795.dtsi732 ovl0: ovl@1400c000 {
733 compatible = "mediatek,mt6795-disp-ovl", "mediatek,mt8173-disp-ovl";
742 ovl1: ovl@1400d000 {
743 compatible = "mediatek,mt6795-disp-ovl", "mediatek,mt8173-disp-ovl";
/linux/Documentation/dev-tools/
H A Dcoccinelle.rst517 …* TODO [[view:/home/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST c…
518 …* TODO [[view:/home/user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CA…
519 …* TODO [[view:/home/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST c…
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmdp_sm_mt8195.h267 struct mdp_ovl_data_8195 ovl; member

12