Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c74 r = ovl->unset_manager(ovl); in overlay_manager_store()
86 r = ovl->set_manager(ovl, mgr); in overlay_manager_store()
110 ovl->get_overlay_info(ovl, &info); in overlay_input_size_show()
120 ovl->get_overlay_info(ovl, &info); in overlay_screen_width_show()
129 ovl->get_overlay_info(ovl, &info); in overlay_position_show()
142 ovl->get_overlay_info(ovl, &info); in overlay_position_store()
168 ovl->get_overlay_info(ovl, &info); in overlay_output_size_show()
181 ovl->get_overlay_info(ovl, &info); in overlay_output_size_store()
219 r = ovl->enable(ovl); in overlay_enabled_store()
221 r = ovl->disable(ovl); in overlay_enabled_store()
[all …]
H A Doverlay.c61 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()
78 ovl->caps = dss_feat_get_overlay_caps(ovl->id); in dss_init_overlays()
79 ovl->supported_modes = in dss_init_overlays()
108 "scaling\n", ovl->id); in dss_ovl_simple_check()
[all …]
H A Dapply.c226 ois[ovl->id] = oi; in dss_check_settings_low()
432 return ovl->manager ? dss_mgr_get_device(ovl->manager) : NULL; in dss_ovl_get_device()
547 if (!ovl->manager) in dss_mgr_wait_for_go_ovl()
594 ovl->id); in dss_mgr_wait_for_go_ovl()
1344 if (ovl->manager) { in dss_ovl_set_manager()
1346 ovl->name, ovl->manager->name); in dss_ovl_set_manager()
1366 ovl->manager = mgr; in dss_ovl_set_manager()
1392 if (!ovl->manager) { in dss_ovl_unset_manager()
1472 if (ovl->manager == NULL || ovl->manager->output == NULL) { in dss_ovl_enable()
1484 ovl->id); in dss_ovl_enable()
[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-6.15/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl.c51 #define DISP_REG_OVL_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n)) 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
285 &ovl->cmdq_reg, ovl->regs, in mtk_ovl_set_afbc()
302 &ovl->cmdq_reg, ovl->regs, DISP_REG_OVL_CLRFMT_EXT, in mtk_ovl_set_bit_depth()
369 mtk_ddp_write(cmdq_pkt, 0x1, &ovl->cmdq_reg, ovl->regs, in mtk_ovl_layer_on()
381 &ovl->cmdq_reg, ovl->regs, DISP_REG_OVL_RDMA_GMC(idx)); in mtk_ovl_layer_on()
391 mtk_ddp_write_mask(cmdq_pkt, 0, &ovl->cmdq_reg, ovl->regs, in mtk_ovl_layer_off()
393 mtk_ddp_write(cmdq_pkt, 0, &ovl->cmdq_reg, ovl->regs, in mtk_ovl_layer_off()
549 mtk_ddp_write_relaxed(cmdq_pkt, con, &ovl->cmdq_reg, ovl->regs, in mtk_ovl_layer_config()
[all …]
/linux-6.15/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c785 ovl->base_addr_y = ovl->dma_handle; in sh_mobile_lcdc_overlay_setup()
786 ovl->base_addr_c = ovl->dma_handle in sh_mobile_lcdc_overlay_setup()
856 lcdc_write_overlay(ovl, LDBnBSAYR(ovl->index), ovl->base_addr_y); in sh_mobile_lcdc_overlay_setup()
857 lcdc_write_overlay(ovl, LDBnBSACR(ovl->index), ovl->base_addr_c); in sh_mobile_lcdc_overlay_setup()
1405 lcdc_write_overlay(ovl, LDBnBSAYR(ovl->index), ovl->base_addr_y); in sh_mobile_lcdc_overlay_pan()
1406 lcdc_write_overlay(ovl, LDBnBSACR(ovl->index), ovl->base_addr_c); in sh_mobile_lcdc_overlay_pan()
2363 ovl->xres = ovl->cfg->max_xres; in sh_mobile_lcdc_overlay_init()
2364 ovl->xres_virtual = ovl->xres; in sh_mobile_lcdc_overlay_init()
2365 ovl->yres = ovl->cfg->max_yres; in sh_mobile_lcdc_overlay_init()
2371 ovl->pitch = ovl->xres_virtual; in sh_mobile_lcdc_overlay_init()
[all …]
/linux-6.15/drivers/media/platform/ti/omap/
H A Domap_vout.c311 ovl->get_overlay_info(ovl, &info); in omapvid_setup_overlay()
369 dssdev = ovl->get_device(ovl); in omapvid_init()
430 dssdev = ovl->get_device(ovl); in omapvid_apply_changes()
619 dssdev = ovl->get_device(ovl); in vidioc_try_fmt_vid_out()
648 dssdev = ovl->get_device(ovl); in vidioc_s_fmt_vid_out()
837 dssdev = ovl->get_device(ovl); in vidioc_s_selection()
1050 ret = ovl->enable(ovl); in omap_vout_vb2_start_streaming()
1068 ovl->disable(ovl); in omap_vout_vb2_start_streaming()
1102 ovl->disable(ovl); in omap_vout_vb2_stop_streaming()
1203 dssdev = ovl->get_device(ovl); in vidioc_g_fbuf()
[all …]
/linux-6.15/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,ovl.yaml25 - mediatek,mt2701-disp-ovl
26 - mediatek,mt8173-disp-ovl
27 - mediatek,mt8183-disp-ovl
28 - mediatek,mt8192-disp-ovl
29 - mediatek,mt8195-disp-ovl
30 - mediatek,mt8195-mdp3-ovl
33 - mediatek,mt7623-disp-ovl
34 - mediatek,mt2712-disp-ovl
38 - mediatek,mt6795-disp-ovl
42 - mediatek,mt8186-disp-ovl
[all …]
H A Dmediatek,ovl-2l.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,ovl-2l.yaml#
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
104 ovl_2l0: ovl@14009000 {
105 compatible = "mediatek,mt8183-disp-ovl-2l";
/linux-6.15/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-ioctl.c96 ovl->get_overlay_info(ovl, &old_info); in omapfb_setup_plane()
104 r = ovl->disable(ovl); 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()
130 r = ovl->manager->apply(ovl->manager); in omapfb_setup_plane()
136 r = ovl->enable(ovl); in omapfb_setup_plane()
159 ovl->set_overlay_info(ovl, &old_info); in omapfb_setup_plane()
187 ovl->get_overlay_info(ovl, &ovli); in omapfb_query_plane()
191 pi->enabled = ovl->is_enabled(ovl); in omapfb_query_plane()
242 if (ovl->is_enabled(ovl)) { in omapfb_setup_mem()
[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.c164 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()
266 if (ovl->manager) in store_overlays()
267 ovl->manager->apply(ovl->manager); in store_overlays()
283 ovl = ovls[i]; in store_overlays()
463 struct omap_overlay *ovl; in store_size() local
464 ovl = ofbi2->overlays[j]; in store_size()
[all …]
H A Domapfb-main.c891 ovl->get_overlay_info(ovl, &info); in omapfb_setup_overlay()
912 r = ovl->set_overlay_info(ovl, &info); in omapfb_setup_overlay()
952 ovl->manager->apply(ovl->manager); in omapfb_apply_changes()
968 ovl->get_overlay_info(ovl, &info); in omapfb_apply_changes()
978 ovl->get_overlay_info(ovl, &info); in omapfb_apply_changes()
988 ovl->manager->apply(ovl->manager); in omapfb_apply_changes()
1825 ovl->disable(ovl); in omapfb_free_resources()
1828 ovl->unset_manager(ovl); in omapfb_free_resources()
1980 ovl->manager->apply(ovl->manager); in omapfb_create_framebuffers()
2388 ovl->unset_manager(ovl); in omapfb_init_connections()
[all …]
/linux-6.15/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c52 int tmpfs, fsfd, ovl; in ovl_mount() local
87 ovl = sys_fsmount(fsfd, 0, 0); in ovl_mount()
88 if (ovl == -1) in ovl_mount()
91 return ovl; in ovl_mount()
101 int ovl, fd; in test() local
104 ovl = ovl_mount(); in test()
105 if (ovl == -1) in test()
108 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644); in test()
/linux-6.15/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-6.15/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-6.15/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-6.15/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";
H A Dmt8183.dtsi39 ovl-2l0 = &ovl_2l0;
40 ovl-2l1 = &ovl_2l1;
1728 ovl0: ovl@14008000 {
1729 compatible = "mediatek,mt8183-disp-ovl";
1738 ovl_2l0: ovl@14009000 {
1739 compatible = "mediatek,mt8183-disp-ovl-2l";
1748 ovl_2l1: ovl@1400a000 {
1749 compatible = "mediatek,mt8183-disp-ovl-2l";
H A Dmt8192.dtsi28 ovl-2l0 = &ovl_2l0;
29 ovl-2l2 = &ovl_2l2;
1504 ovl0: ovl@14005000 {
1505 compatible = "mediatek,mt8192-disp-ovl";
1515 ovl_2l0: ovl@14006000 {
1516 compatible = "mediatek,mt8192-disp-ovl-2l";
1615 ovl_2l2: ovl@14014000 {
1616 compatible = "mediatek,mt8192-disp-ovl-2l";
/linux-6.15/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c630 struct drm_plane *ovl; in atmel_hlcdc_plane_prepare_disc_area() local
644 drm_atomic_crtc_state_for_each_plane(ovl, c_state) { in atmel_hlcdc_plane_prepare_disc_area()
648 if (ovl == c_state->crtc->primary) in atmel_hlcdc_plane_prepare_disc_area()
651 ovl_s = drm_atomic_get_plane_state(c_state->state, ovl); in atmel_hlcdc_plane_prepare_disc_area()
/linux-6.15/drivers/usb/atm/
H A Dueagle-atm.c128 u16 ovl; member
902 u16 ovl = sc->ovl; in uea_load_page_e1() local
912 if (ovl == 0 && pageno == 0) { in uea_load_page_e1()
941 bi.wOvl = cpu_to_le16(ovl); in uea_load_page_e1()
942 bi.wOvlOffset = cpu_to_le16(ovl | 0x8000); in uea_load_page_e1()
1860 sc->ovl = 0; in uea_start_reset()
2071 sc->ovl = intr->e1_bOvl >> 4 | intr->e1_bOvl << 4; in uea_schedule_load_page_e1()
/linux-6.15/drivers/media/platform/mediatek/mdp3/
H A Dmdp_sm_mt8195.h267 struct mdp_ovl_data_8195 ovl; member

12