/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | overlay-sysfs.c | 23 static ssize_t overlay_name_show(struct omap_overlay *ovl, char *buf) in overlay_name_show() argument 25 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name); in overlay_name_show() 28 static ssize_t overlay_manager_show(struct omap_overlay *ovl, char *buf) in overlay_manager_show() argument 31 ovl->manager ? ovl->manager->name : "<none>"); in overlay_manager_show() 34 static ssize_t overlay_manager_store(struct omap_overlay *ovl, const char *buf, in overlay_manager_store() argument 62 if (mgr == ovl->manager) in overlay_manager_store() 65 old_mgr = ovl->manager; in overlay_manager_store() 73 r = ovl->unset_manager(ovl); in overlay_manager_store() 85 r = ovl->set_manager(ovl, mgr); in overlay_manager_store() 105 static ssize_t overlay_input_size_show(struct omap_overlay *ovl, char *buf) in overlay_input_size_show() argument [all …]
|
D | overlay.c | 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() [all …]
|
D | apply.c | 118 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() 183 static bool ovl_manual_update(struct omap_overlay *ovl) in ovl_manual_update() argument 185 struct mgr_priv_data *mp = get_mgr_priv(ovl->manager); in ovl_manual_update() 202 struct omap_overlay *ovl; in dss_check_settings_low() local 218 list_for_each_entry(ovl, &mgr->overlays, list) { in dss_check_settings_low() 219 op = get_ovl_priv(ovl); in dss_check_settings_low() 228 ois[ovl->id] = oi; in dss_check_settings_low() 259 struct omap_overlay *ovl; in need_isr() local 298 list_for_each_entry(ovl, &mgr->overlays, list) { in need_isr() [all …]
|
D | dispc-compat.c | 343 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()
|
D | manager.c | 219 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()
|
D | dss.h | 248 int dss_ovl_simple_check(struct omap_overlay *ovl, 250 int dss_ovl_check(struct omap_overlay *ovl, struct omap_overlay_info *info, 254 int dss_overlay_kobj_init(struct omap_overlay *ovl, 256 void dss_overlay_kobj_uninit(struct omap_overlay *ovl);
|
/Linux-v5.4/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.c | 310 static void lcdc_write_overlay(struct sh_mobile_lcdc_overlay *ovl, in lcdc_write_overlay() argument 313 iowrite32(data, ovl->channel->lcdc->base + reg); in lcdc_write_overlay() 314 iowrite32(data, ovl->channel->lcdc->base + reg + SIDE_B_OFFSET); in lcdc_write_overlay() 780 static void sh_mobile_lcdc_overlay_setup(struct sh_mobile_lcdc_overlay *ovl) in sh_mobile_lcdc_overlay_setup() argument 784 if (!ovl->enabled) { in sh_mobile_lcdc_overlay_setup() 785 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup() 786 lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), 0); in sh_mobile_lcdc_overlay_setup() 787 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_setup() 788 LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); in sh_mobile_lcdc_overlay_setup() 792 ovl->base_addr_y = ovl->dma_handle; in sh_mobile_lcdc_overlay_setup() [all …]
|
/Linux-v5.4/drivers/media/platform/omap/ |
D | omap_vout.c | 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() [all …]
|
/Linux-v5.4/drivers/gpu/drm/mediatek/ |
D | mtk_disp_ovl.c | 32 #define DISP_REG_OVL_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n)) argument 43 #define OVL_CON_CLRFMT_RGB565(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ argument 45 #define OVL_CON_CLRFMT_RGB888(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ argument 74 struct mtk_ddp_comp *ovl = &priv->ddp_comp; in mtk_disp_ovl_irq_handler() local 77 writel(0x0, ovl->regs + DISP_REG_OVL_INTSTA); in mtk_disp_ovl_irq_handler() 82 mtk_crtc_ddp_irq(priv->crtc, ovl); in mtk_disp_ovl_irq_handler() 90 struct mtk_disp_ovl *ovl = comp_to_ovl(comp); in mtk_ovl_enable_vblank() local 92 ovl->crtc = crtc; in mtk_ovl_enable_vblank() 99 struct mtk_disp_ovl *ovl = comp_to_ovl(comp); in mtk_ovl_disable_vblank() local 101 ovl->crtc = NULL; in mtk_ovl_disable_vblank() [all …]
|
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-ioctl.c | 55 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 …]
|
D | omapfb.h | 123 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()
|
D | omapfb-sysfs.c | 143 struct omap_overlay *ovl = ofbi->overlays[t]; in show_overlays() local 147 if (ovl == fbdev->overlays[ovlnum]) in show_overlays() 163 struct omap_overlay *ovl) in get_overlay_fb() argument 171 if (ofbi->overlays[t] == ovl) in get_overlay_fb() 186 struct omap_overlay *ovl; in store_overlays() local 245 ovl = ofbi->overlays[i]; in store_overlays() 250 if (ovl == ovls[t]) { in store_overlays() 263 omapfb_overlay_enable(ovl, 0); in store_overlays() 265 if (ovl->manager) in store_overlays() 266 ovl->manager->apply(ovl->manager); in store_overlays() [all …]
|
D | omapfb-main.c | 831 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() 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() 952 ovl->manager->apply(ovl->manager); in omapfb_apply_changes() [all …]
|
/Linux-v5.4/include/video/ |
D | omapfb_dss.h | 338 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-v5.4/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,disp.txt | 30 "mediatek,<chip>-disp-ovl" - overlay (4 layers, blending, csc) 55 "mediatek,<chip>-disp-ovl" 74 ovl0: ovl@1400c000 { 75 compatible = "mediatek,mt8173-disp-ovl"; 84 ovl1: ovl@1400d000 { 85 compatible = "mediatek,mt8173-disp-ovl";
|
/Linux-v5.4/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 524 struct drm_plane *ovl; in atmel_hlcdc_plane_prepare_disc_area() local 538 drm_atomic_crtc_state_for_each_plane(ovl, c_state) { in atmel_hlcdc_plane_prepare_disc_area() 542 if (ovl == c_state->crtc->primary) in atmel_hlcdc_plane_prepare_disc_area() 545 ovl_s = drm_atomic_get_plane_state(c_state->state, ovl); in atmel_hlcdc_plane_prepare_disc_area()
|
/Linux-v5.4/drivers/usb/atm/ |
D | ueagle-atm.c | 128 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() 2072 sc->ovl = intr->e1_bOvl >> 4 | intr->e1_bOvl << 4; in uea_schedule_load_page_e1()
|
/Linux-v5.4/Documentation/dev-tools/ |
D | coccinelle.rst | 503 …* TODO [[view:/home/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST c… 504 …* TODO [[view:/home/user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CA… 505 …* TODO [[view:/home/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST c…
|
/Linux-v5.4/drivers/gpu/drm/mcde/ |
D | mcde_display.c | 332 static void mcde_configure_overlay(struct mcde *mcde, enum mcde_overlay ovl, in mcde_configure_overlay() argument 346 switch (ovl) { in mcde_configure_overlay()
|
/Linux-v5.4/arch/arm64/boot/dts/mediatek/ |
D | mt8173.dtsi | 986 ovl0: ovl@1400c000 { 987 compatible = "mediatek,mt8173-disp-ovl"; 996 ovl1: ovl@1400d000 { 997 compatible = "mediatek,mt8173-disp-ovl";
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_overlay.c | 195 void (*flip_complete)(struct intel_overlay *ovl);
|