/linux-6.1.9/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-core.h | 59 struct mdp_dev { struct 88 int mdp_vpu_get_locked(struct mdp_dev *mdp); argument 89 void mdp_vpu_put_locked(struct mdp_dev *mdp); 90 int mdp_vpu_register(struct mdp_dev *mdp); 91 void mdp_vpu_unregister(struct mdp_dev *mdp);
|
D | mtk-mdp3-m2m.h | 31 struct mdp_dev *mdp_dev; member 44 int mdp_m2m_device_register(struct mdp_dev *mdp); 45 void mdp_m2m_device_unregister(struct mdp_dev *mdp);
|
D | mtk-mdp3-comp.h | 140 struct mdp_dev *mdp_dev; member 174 struct mdp_dev; 176 int mdp_comp_config(struct mdp_dev *mdp); 177 void mdp_comp_destroy(struct mdp_dev *mdp); 182 int mdp_comp_ctx_config(struct mdp_dev *mdp, struct mdp_comp_ctx *ctx,
|
D | mtk-mdp3-cmdq.c | 17 struct mdp_dev *mdp_dev; member 45 const struct mtk_mdp_driver_data *data = path->mdp_dev->mdp_data; in mdp_path_subfrm_require() 46 struct device *dev = &path->mdp_dev->pdev->dev; in mdp_path_subfrm_require() 47 struct mtk_mutex **mutex = path->mdp_dev->mdp_mutex; in mdp_path_subfrm_require() 91 struct device *dev = &path->mdp_dev->pdev->dev; in mdp_path_subfrm_run() 92 struct mtk_mutex **mutex = path->mdp_dev->mdp_mutex; in mdp_path_subfrm_run() 128 static int mdp_path_ctx_init(struct mdp_dev *mdp, struct mdp_path *path) in mdp_path_ctx_init() 206 static int mdp_path_config(struct mdp_dev *mdp, struct mdp_cmdq_cmd *cmd, in mdp_path_config() 288 struct mdp_dev *mdp; in mdp_auto_release_work() 311 struct mdp_dev *mdp; in mdp_handle_cmdq_callback() [all …]
|
D | mtk-mdp3-cmdq.h | 31 struct mdp_dev *mdp; 39 struct mdp_dev; 41 int mdp_cmdq_send(struct mdp_dev *mdp, struct mdp_cmdq_param *param);
|
D | mtk-mdp3-m2m.c | 58 v4l2_m2m_job_finish(ctx->mdp_dev->m2m_dev, ctx->m2m_ctx); in mdp_m2m_process_done() 72 dev_err(&ctx->mdp_dev->pdev->dev, in mdp_m2m_device_run() 92 dev_err(&ctx->mdp_dev->pdev->dev, in mdp_m2m_device_run() 104 ret = mdp_cmdq_send(ctx->mdp_dev, &task); in mdp_m2m_device_run() 106 dev_err(&ctx->mdp_dev->pdev->dev, in mdp_m2m_device_run() 145 dev_err(&ctx->mdp_dev->pdev->dev, in mdp_m2m_start_streaming() 152 ret = mdp_vpu_get_locked(ctx->mdp_dev); in mdp_m2m_start_streaming() 156 ret = mdp_vpu_ctx_init(&ctx->vpu, &ctx->mdp_dev->vpu, in mdp_m2m_start_streaming() 159 dev_err(&ctx->mdp_dev->pdev->dev, in mdp_m2m_start_streaming() 414 struct device *dev = &ctx->mdp_dev->pdev->dev; in mdp_m2m_s_selection() [all …]
|
D | mtk-mdp3-core.c | 115 int mdp_vpu_get_locked(struct mdp_dev *mdp) in mdp_vpu_get_locked() 149 void mdp_vpu_put_locked(struct mdp_dev *mdp) in mdp_vpu_put_locked() 159 struct mdp_dev *mdp = (struct mdp_dev *)video_get_drvdata(vdev); in mdp_video_device_release() 183 struct mdp_dev *mdp; in mdp_probe() 302 struct mdp_dev *mdp = platform_get_drvdata(pdev); in mdp_remove() 312 struct mdp_dev *mdp = dev_get_drvdata(dev); in mdp_suspend() 334 struct mdp_dev *mdp = dev_get_drvdata(dev); in mdp_resume()
|
D | mtk-mdp3-vpu.c | 15 static inline struct mdp_dev *vpu_to_mdp(struct mdp_vpu_dev *vpu) in vpu_to_mdp() 17 return container_of(vpu, struct mdp_dev, vpu); in vpu_to_mdp() 76 struct mdp_dev *mdp = vpu_to_mdp(ctx->vpu_dev); in mdp_vpu_ipi_handle_frame_ack() 84 int mdp_vpu_register(struct mdp_dev *mdp) in mdp_vpu_register() 119 void mdp_vpu_unregister(struct mdp_dev *mdp) in mdp_vpu_unregister() 129 struct mdp_dev *mdp = vpu_to_mdp(vpu); in mdp_vpu_sendmsg() 163 struct mdp_dev *mdp = vpu_to_mdp(vpu); in mdp_vpu_dev_init() 294 struct mdp_dev *mdp = vpu_to_mdp(vpu); in mdp_vpu_process()
|
D | mtk-mdp3-comp.c | 29 return ctx->comp->mdp_dev->mdp_data->mdp_cfg; in __get_plat_cfg() 50 struct mdp_comp *prz1 = ctx->comp->mdp_dev->comp[MDP_COMP_RSZ1]; in init_rdma() 192 struct device *dev = &ctx->comp->mdp_dev->pdev->dev; in wait_rdma_event() 416 struct device *dev = &ctx->comp->mdp_dev->pdev->dev; in wait_wrot_event() 787 static void __mdp_comp_init(struct mdp_dev *mdp, struct device_node *node, in __mdp_comp_init() 799 comp->mdp_dev = mdp; in __mdp_comp_init() 804 static int mdp_comp_init(struct mdp_dev *mdp, struct device_node *node, in mdp_comp_init() 868 static struct mdp_comp *mdp_comp_create(struct mdp_dev *mdp, in mdp_comp_create() 889 mdp->comp[id]->mdp_dev = mdp; in mdp_comp_create() 897 static int mdp_comp_sub_create(struct mdp_dev *mdp) in mdp_comp_sub_create() [all …]
|
D | mtk-mdp3-regs.c | 373 struct device *dev = ¶m->ctx->mdp_dev->pdev->dev; in mdp_try_fmt_mplane() 473 struct device *dev = &ctx->mdp_dev->pdev->dev; in mdp_try_crop()
|
/linux-6.1.9/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_vpu.c | 49 dev_err(&ctx->mdp_dev->pdev->dev, in mtk_mdp_vpu_ipi_handler() 86 mutex_lock(&ctx->mdp_dev->vpulock); in mtk_mdp_vpu_send_msg() 89 dev_err(&ctx->mdp_dev->pdev->dev, in mtk_mdp_vpu_send_msg() 91 mutex_unlock(&ctx->mdp_dev->vpulock); in mtk_mdp_vpu_send_msg() 118 vpu->pdev = ctx->mdp_dev->vpu_dev; in mtk_mdp_vpu_init()
|
D | mtk_mdp_m2m.c | 176 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_try_fmt_mplane() 188 dev_dbg(&ctx->mdp_dev->pdev->dev, in mtk_mdp_try_fmt_mplane() 279 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_try_crop() 285 dev_err(&ctx->mdp_dev->pdev->dev, in mtk_mdp_try_crop() 394 ret = pm_runtime_resume_and_get(&ctx->mdp_dev->pdev->dev); in mtk_mdp_m2m_start_streaming() 422 pm_runtime_put(&ctx->mdp_dev->pdev->dev); in mtk_mdp_m2m_stop_streaming() 444 dev_err(&ctx->mdp_dev->pdev->dev, in mtk_mdp_prepare_addr() 491 v4l2_m2m_job_finish(ctx->mdp_dev->m2m_dev, ctx->m2m_ctx); in mtk_mdp_process_done() 498 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_m2m_worker() 537 queue_work(ctx->mdp_dev->job_wq, &ctx->work); in mtk_mdp_m2m_device_run() [all …]
|
D | mtk_mdp_core.h | 206 struct mtk_mdp_dev *mdp_dev; member
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_drv.c | 283 struct device *mdp_dev = dev->dev; in msm_kms_init_aspace() local 284 struct device *mdss_dev = mdp_dev->parent; in msm_kms_init_aspace() 291 if (device_iommu_mapped(mdp_dev)) in msm_kms_init_aspace() 292 iommu_dev = mdp_dev; in msm_kms_init_aspace()
|