Lines Matching refs:dev
557 struct msm_drm_private *priv = drm_enc->dev->dev_private; in dpu_encoder_get_dsc_config()
643 priv = drm_enc->dev->dev_private; in dpu_encoder_virt_atomic_check()
711 priv = drm_enc->dev->dev_private; in _dpu_encoder_update_vsync_source()
775 priv = drm_enc->dev->dev_private; in _dpu_encoder_resource_control_helper()
787 pm_runtime_get_sync(&dpu_kms->pdev->dev); in _dpu_encoder_resource_control_helper()
797 pm_runtime_put_sync(&dpu_kms->pdev->dev); in _dpu_encoder_resource_control_helper()
809 if (!drm_enc || !drm_enc->dev || !drm_enc->crtc) { in dpu_encoder_resource_control()
814 priv = drm_enc->dev->dev_private; in dpu_encoder_resource_control()
1073 priv = drm_enc->dev->dev_private; in dpu_encoder_virt_atomic_mode_set()
1150 if (!drm_enc || !drm_enc->dev) { in _dpu_encoder_virt_enable_helper()
1352 msm_disp_snapshot_state(drm_enc->dev); in dpu_encoder_underrun_callback()
1598 msm_disp_snapshot_state(drm_enc->dev); in dpu_encoder_helper_hw_reset()
2143 if (!drm_enc->dev) { in _dpu_encoder_init_debugfs()
2152 drm_enc->dev->primary->debugfs_root); in _dpu_encoder_init_debugfs()
2180 struct drm_device *dev, in dpu_encoder_virt_add_phys_encs() argument
2202 enc = dpu_encoder_phys_wb_init(dev, params); in dpu_encoder_virt_add_phys_encs()
2213 enc = dpu_encoder_phys_cmd_init(dev, params); in dpu_encoder_virt_add_phys_encs()
2224 enc = dpu_encoder_phys_vid_init(dev, params); in dpu_encoder_virt_add_phys_encs()
2313 ret = dpu_encoder_virt_add_phys_encs(dpu_kms->dev, disp_info, in dpu_encoder_setup_display()
2333 if (!drm_enc->dev) { in dpu_encoder_frame_done_timeout()
2367 struct drm_encoder *dpu_encoder_init(struct drm_device *dev, in dpu_encoder_init() argument
2371 struct msm_drm_private *priv = dev->dev_private; in dpu_encoder_init()
2377 dpu_enc = devm_kzalloc(dev->dev, sizeof(*dpu_enc), GFP_KERNEL); in dpu_encoder_init()
2381 ret = drm_encoder_init(dev, &dpu_enc->base, &dpu_encoder_funcs, in dpu_encoder_init()
2384 devm_kfree(dev->dev, dpu_enc); in dpu_encoder_init()
2456 msm_disp_snapshot_state(drm_enc->dev); in dpu_encoder_wait_for_commit_done()