/kernel/linux/linux-5.10/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 in drm_crtc_helper_set_mode() 527 const struct drm_crtc_helper_funcs *crtc_funcs; drm_crtc_helper_set_config() local 887 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; drm_helper_connector_dpms() local 902 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; drm_helper_connector_dpms() local 944 const struct drm_crtc_helper_funcs *crtc_funcs; drm_helper_resume_force_mode() local [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()
|
H A D | drm_atomic_helper.c | 1008 * We also need to run through the crtc_funcs->disable() function if in crtc_needs_disable() 2612 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_atomic_helper_commit_planes_on_crtc() local 2623 crtc_funcs = crtc->helper_private; in drm_atomic_helper_commit_planes_on_crtc() 2624 if (crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_commit_planes_on_crtc() 2625 crtc_funcs->atomic_begin(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc() 2650 if (crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_commit_planes_on_crtc() 2651 crtc_funcs->atomic_flush(crtc, old_crtc_state); in drm_atomic_helper_commit_planes_on_crtc() 2676 const struct drm_crtc_helper_funcs *crtc_funcs in drm_atomic_helper_disable_planes_on_crtc() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_crtc_helper.c | 199 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions() local 203 if (crtc_funcs->disable) in __drm_helper_disable_unused_functions() 204 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions() 206 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions() 290 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_helper_set_mode() local 347 if (crtc_funcs->mode_fixup) { in drm_crtc_helper_set_mode() 348 if (!(ret = crtc_funcs->mode_fixup(crtc, mode, in drm_crtc_helper_set_mode() 375 crtc_funcs->prepare(crtc); in drm_crtc_helper_set_mode() 380 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode() 400 crtc_funcs in drm_crtc_helper_set_mode() 565 const struct drm_crtc_helper_funcs *crtc_funcs; drm_crtc_helper_set_config() local 925 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; drm_helper_connector_dpms() local 940 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; drm_helper_connector_dpms() local 982 const struct drm_crtc_helper_funcs *crtc_funcs; drm_helper_resume_force_mode() local [all...] |
H A D | drm_atomic_helper.c | 1111 * We also need to run through the crtc_funcs->disable() function if in crtc_needs_disable() 2854 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_atomic_helper_commit_planes_on_crtc() local 2865 crtc_funcs = crtc->helper_private; in drm_atomic_helper_commit_planes_on_crtc() 2866 if (crtc_funcs && crtc_funcs->atomic_begin) in drm_atomic_helper_commit_planes_on_crtc() 2867 crtc_funcs->atomic_begin(crtc, old_state); in drm_atomic_helper_commit_planes_on_crtc() 2899 if (crtc_funcs && crtc_funcs->atomic_flush) in drm_atomic_helper_commit_planes_on_crtc() 2900 crtc_funcs->atomic_flush(crtc, old_state); in drm_atomic_helper_commit_planes_on_crtc() 2925 const struct drm_crtc_helper_funcs *crtc_funcs in drm_atomic_helper_disable_planes_on_crtc() local [all...] |
H A D | drm_probe_helper.c | 182 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_mode_valid() local 184 if (!crtc_funcs || !crtc_funcs->mode_valid) in drm_crtc_mode_valid() 187 return crtc_funcs->mode_valid(crtc, mode); in drm_crtc_mode_valid()
|
/kernel/linux/linux-5.10/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 in gma_crtc_page_flip() [all...] |
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 | 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | gma_display.c | 476 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_prepare() local 477 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_prepare() 482 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_commit() local 483 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON); in gma_crtc_commit() 489 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_disable() local 491 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_disable() 520 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in gma_crtc_page_flip() local 525 if (!crtc_funcs->mode_set_base) in gma_crtc_page_flip() 540 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip() 550 ret = crtc_funcs in gma_crtc_page_flip() [all...] |
H A D | psb_intel_display.c | 102 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in psb_intel_crtc_mode_set() local 116 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set() 295 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
|
H A D | oaktrail_crtc.c | 482 const struct drm_crtc_helper_funcs *crtc_funcs = in oaktrail_crtc_mode_set() local 484 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/ |
H A D | kirin_drm_drv.h | 45 const struct drm_crtc_funcs *crtc_funcs; member
|
H A D | dw_drm_dsi.c | 644 const struct drm_crtc_helper_funcs *crtc_funcs = NULL; in dsi_encoder_mode_valid() local 662 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid() 663 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid() 664 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
|
H A D | kirin_drm_drv.c | 59 driver_data->crtc_funcs, NULL); in kirin_drm_crtc_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/hisilicon/kirin/ |
H A D | kirin_drm_drv.h | 45 const struct drm_crtc_funcs *crtc_funcs; member
|
H A D | dw_drm_dsi.c | 645 const struct drm_crtc_helper_funcs *crtc_funcs = NULL; in dsi_encoder_mode_valid() local 663 crtc_funcs = crtc->helper_private; in dsi_encoder_mode_valid() 664 if (crtc_funcs && crtc_funcs->mode_fixup) in dsi_encoder_mode_valid() 665 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
|
H A D | kirin_drm_drv.c | 59 driver_data->crtc_funcs, NULL); in kirin_drm_crtc_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 1305 * @crtc_funcs: Callbacks for the new CRTC 1321 const struct drm_crtc_funcs *crtc_funcs, in __vc4_crtc_init() 1335 crtc_funcs, data->name); in __vc4_crtc_init() 1364 const struct drm_crtc_funcs *crtc_funcs, in vc4_crtc_init() 1383 crtc_funcs, crtc_helper_funcs, feeds_txp); in vc4_crtc_init() 1316 __vc4_crtc_init(struct drm_device *drm, struct platform_device *pdev, struct vc4_crtc *vc4_crtc, const struct vc4_crtc_data *data, struct drm_plane *primary_plane, const struct drm_crtc_funcs *crtc_funcs, const struct drm_crtc_helper_funcs *crtc_helper_funcs, bool feeds_txp) __vc4_crtc_init() argument 1361 vc4_crtc_init(struct drm_device *drm, struct platform_device *pdev, struct vc4_crtc *vc4_crtc, const struct vc4_crtc_data *data, const struct drm_crtc_funcs *crtc_funcs, const struct drm_crtc_helper_funcs *crtc_helper_funcs, bool feeds_txp) vc4_crtc_init() argument
|
H A D | vc4_drv.h | 913 const struct drm_crtc_funcs *crtc_funcs, 918 const struct drm_crtc_funcs *crtc_funcs,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_crtc.c | 474 static const struct drm_crtc_funcs crtc_funcs = { variable 511 &crtc_funcs, NULL); in shmob_drm_crtc_create()
|