| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_crtc_helper.c | 187 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions() local 191 if (crtc_funcs->disable) in __drm_helper_disable_unused_functions() 192 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions() 194 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions() 278 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_helper_set_mode() local 335 if (crtc_funcs->mode_fixup) { in drm_crtc_helper_set_mode() 336 if (!(ret = crtc_funcs->mode_fixup(crtc, mode, in drm_crtc_helper_set_mode() 363 crtc_funcs->prepare(crtc); in drm_crtc_helper_set_mode() 368 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode() 388 crtc_funcs->commit(crtc); in drm_crtc_helper_set_mode() [all …]
|
| H A D | drm_atomic_helper.c | 2603 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_atomic_helper_commit_planes_on_crtc() local 2614 crtc_funcs = crtc->helper_private; in drm_atomic_helper_commit_planes_on_crtc() 2615 if (crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_commit_planes_on_crtc() 2616 crtc_funcs->atomic_begin(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc() 2641 if (crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_commit_planes_on_crtc() 2642 crtc_funcs->atomic_flush(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc() 2667 const struct drm_crtc_helper_funcs *crtc_funcs = in drm_atomic_helper_disable_planes_on_crtc() local 2671 if (atomic && crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_disable_planes_on_crtc() 2672 crtc_funcs->atomic_begin(crtc, NULL); in drm_atomic_helper_disable_planes_on_crtc() 2686 if (atomic && crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_disable_planes_on_crtc() [all …]
|
| H A D | drm_probe_helper.c | 183 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_mode_valid() local 185 if (!crtc_funcs || !crtc_funcs->mode_valid) in drm_crtc_mode_valid() 188 return crtc_funcs->mode_valid(crtc, mode); in drm_crtc_mode_valid()
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip_spl_display.c | 45 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in rockchip_spl_display_init() local 50 if (!crtc_funcs) { in rockchip_spl_display_init() 55 if (crtc_funcs->preinit) { in rockchip_spl_display_init() 56 ret = crtc_funcs->preinit(state); in rockchip_spl_display_init() 90 if (crtc_funcs->init) { in rockchip_spl_display_init() 91 ret = crtc_funcs->init(state); in rockchip_spl_display_init() 109 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in rockchip_spl_display_post_enable() local 112 if (crtc_funcs->enable) in rockchip_spl_display_post_enable() 113 crtc_funcs->enable(state); in rockchip_spl_display_post_enable()
|
| H A D | rockchip_display.c | 580 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in display_mode_valid() local 589 if (crtc_funcs->mode_valid) { in display_mode_valid() 590 ret = crtc_funcs->mode_valid(state); in display_mode_valid() 602 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in display_mode_fixup() local 605 if (crtc_funcs->mode_fixup) { in display_mode_fixup() 606 ret = crtc_funcs->mode_fixup(state); in display_mode_fixup() 620 const struct rockchip_crtc_funcs *crtc_funcs = crtc->funcs; in display_init() local 636 if (!crtc_funcs) { in display_init() 659 if (crtc_funcs->preinit) { in display_init() 660 ret = crtc_funcs->preinit(state); in display_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_drv.c | 111 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->wait_vact_end) in rockchip_drm_wait_vact_end() 112 ret = priv->crtc_funcs[pipe]->wait_vact_end(crtc, mstimeout); in rockchip_drm_wait_vact_end() 336 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->te_handler) in rockchip_drm_te_handle() 337 priv->crtc_funcs[pipe]->te_handler(crtc); in rockchip_drm_te_handle() 1078 priv->crtc_funcs[pipe] && in rockchip_drm_crtc_standby() 1079 priv->crtc_funcs[pipe]->crtc_standby) in rockchip_drm_crtc_standby() 1080 priv->crtc_funcs[pipe]->crtc_standby(crtc, standby); in rockchip_drm_crtc_standby() 1084 const struct rockchip_crtc_funcs *crtc_funcs) in rockchip_register_crtc_funcs() argument 1092 priv->crtc_funcs[pipe] = crtc_funcs; in rockchip_register_crtc_funcs() 1105 priv->crtc_funcs[pipe] = NULL; in rockchip_unregister_crtc_funcs() [all …]
|
| H A D | rockchip_drm_logo.c | 812 if (priv->crtc_funcs[pipe] && in setup_initial_state() 813 priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state() 814 priv->crtc_funcs[pipe]->loader_protect(crtc, true, &set->csc); in setup_initial_state() 865 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state() 866 priv->crtc_funcs[pipe]->loader_protect(crtc, false, NULL); in setup_initial_state() 1060 if (priv->crtc_funcs[pipe] && in rockchip_drm_show_logo() 1061 priv->crtc_funcs[pipe]->loader_protect) in rockchip_drm_show_logo() 1062 priv->crtc_funcs[pipe]->loader_protect(crtc, true, in rockchip_drm_show_logo() 1064 priv->crtc_funcs[pipe]->crtc_close(crtc); in rockchip_drm_show_logo() 1065 if (priv->crtc_funcs[pipe] && in rockchip_drm_show_logo() [all …]
|
| H A D | rockchip_drm_debugfs.c | 256 if (priv->crtc_funcs[pipe]->crtc_set_color_bar) { in rockchip_drm_debugfs_color_bar_write() 257 if (priv->crtc_funcs[pipe]->crtc_set_color_bar(crtc, mode)) in rockchip_drm_debugfs_color_bar_write()
|
| H A D | rockchip_rgb.c | 601 if (!priv->crtc_funcs[pipe]->crtc_send_mcu_cmd) { in rockchip_mcu_panel_xfer_mcu_cmd_seq() 606 priv->crtc_funcs[pipe]->crtc_send_mcu_cmd(crtc, MCU_SETBYPASS, 1); in rockchip_mcu_panel_xfer_mcu_cmd_seq() 610 priv->crtc_funcs[pipe]->crtc_send_mcu_cmd(crtc, cmd->header.data_type, value); in rockchip_mcu_panel_xfer_mcu_cmd_seq() 614 priv->crtc_funcs[pipe]->crtc_send_mcu_cmd(crtc, MCU_SETBYPASS, 0); in rockchip_mcu_panel_xfer_mcu_cmd_seq()
|
| H A D | rockchip_drm_drv.h | 507 const struct rockchip_crtc_funcs *crtc_funcs[ROCKCHIP_MAX_CRTC]; member 539 const struct rockchip_crtc_funcs *crtc_funcs);
|
| H A D | rockchip_drm_fb.c | 169 funcs = priv->crtc_funcs[drm_crtc_index(crtc)]; in rockchip_drm_bandwidth_atomic_check()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/ |
| H A D | gma_display.c | 474 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_prepare() local 475 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_prepare() 480 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_commit() local 481 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON); in gma_crtc_commit() 487 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_disable() local 489 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_disable() 515 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_page_flip() local 520 if (!crtc_funcs->mode_set_base) in gma_crtc_page_flip() 535 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip() 545 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
|
| H A D | psb_intel_display.c | 100 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in psb_intel_crtc_mode_set() local 114 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set() 289 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set() 505 drm_crtc_init(dev, &gma_crtc->base, dev_priv->ops->crtc_funcs); in psb_intel_crtc_init()
|
| H A D | oaktrail_crtc.c | 478 const struct drm_crtc_helper_funcs *crtc_funcs = in oaktrail_crtc_mode_set() local 480 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
|
| H A D | psb_device.c | 333 .crtc_funcs = &psb_intel_crtc_funcs,
|
| H A D | oaktrail_hdmi.c | 351 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in oaktrail_crtc_hdmi_mode_set() local 352 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
|
| H A D | cdv_intel_display.c | 815 const struct drm_crtc_helper_funcs *crtc_funcs = in cdv_intel_crtc_mode_set() local 817 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
|
| H A D | mdfld_intel_display.c | 806 const struct drm_crtc_helper_funcs *crtc_funcs = in mdfld_crtc_mode_set() local 808 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
|
| H A D | mdfld_device.c | 549 .crtc_funcs = &psb_intel_crtc_funcs,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin/ |
| H A D | dw_drm_dsi.c | 539 const struct drm_crtc_helper_funcs *crtc_funcs = NULL; in dsi_encoder_mode_valid() local 557 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid() 558 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid() 559 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/ |
| H A D | kirin_drm_drv.h | 45 const struct drm_crtc_funcs *crtc_funcs; member
|
| H A D | kirin_drm_drv.c | 59 driver_data->crtc_funcs, NULL); in kirin_drm_crtc_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin960/ |
| H A D | dw_drm_dsi.c | 135 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid() 136 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid() 137 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/shmobile/ |
| H A D | shmob_drm_crtc.c | 470 static const struct drm_crtc_funcs crtc_funcs = { variable 485 ret = drm_crtc_init(sdev->ddev, crtc, &crtc_funcs); in shmob_drm_crtc_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_crtc.c | 1062 const struct drm_crtc_funcs *crtc_funcs, in vc4_crtc_init() argument 1083 crtc_funcs, NULL); in vc4_crtc_init()
|