Home
last modified time | relevance | path

Searched refs:mmsys_dev (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl_adaptor.c70 struct device *mmsys_dev; member
181 mtk_mmsys_merge_async_config(ovl_adaptor->mmsys_dev, idx, align_width / 2, in mtk_ovl_adaptor_layer_config()
448 void mtk_ovl_adaptor_connect(struct device *dev, struct device *mmsys_dev, unsigned int next) in mtk_ovl_adaptor_connect() argument
450 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_ETHDR_MIXER, next); in mtk_ovl_adaptor_connect()
451 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MDP_RDMA0, DDP_COMPONENT_MERGE1); in mtk_ovl_adaptor_connect()
452 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MDP_RDMA1, DDP_COMPONENT_MERGE1); in mtk_ovl_adaptor_connect()
453 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MDP_RDMA2, DDP_COMPONENT_MERGE2); in mtk_ovl_adaptor_connect()
454 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE1, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect()
455 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE2, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect()
456 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE3, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect()
[all …]
Dmtk_ddp_comp.h86 void (*connect)(struct device *dev, struct device *mmsys_dev, unsigned int next);
87 void (*disconnect)(struct device *dev, struct device *mmsys_dev, unsigned int next);
315 static inline bool mtk_ddp_comp_connect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_connect() argument
319 comp->funcs->connect(comp->dev, mmsys_dev, next); in mtk_ddp_comp_connect()
325 static inline bool mtk_ddp_comp_disconnect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_disconnect() argument
329 comp->funcs->disconnect(comp->dev, mmsys_dev, next); in mtk_ddp_comp_disconnect()
Dmtk_ethdr.c79 struct device *mmsys_dev; member
201 mtk_mmsys_mixer_in_config(priv->mmsys_dev, idx + 1, replace_src_a, in mtk_ethdr_layer_config()
261 mtk_mmsys_hdr_config(priv->mmsys_dev, w / 2, h, cmdq_pkt); in mtk_ethdr_config()
262 mtk_mmsys_mixer_in_channel_swap(priv->mmsys_dev, 4, 0, cmdq_pkt); in mtk_ethdr_config()
308 priv->mmsys_dev = data; in mtk_ethdr_bind()
Dmtk_crtc.c61 struct device *mmsys_dev; member
378 if (!mtk_ddp_comp_connect(mtk_crtc->ddp_comp[i], mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_init()
380 mtk_mmsys_ddp_connect(mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_init()
446 if (!mtk_ddp_comp_disconnect(mtk_crtc->ddp_comp[i], mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_fini()
448 mtk_mmsys_ddp_disconnect(mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_fini()
992 mtk_crtc->mmsys_dev = priv->mmsys_dev; in mtk_crtc_create()
1064 mtk_crtc->cmdq_client.client.dev = mtk_crtc->mmsys_dev; in mtk_crtc_create()
Dmtk_drm_drv.h63 struct device *mmsys_dev; member
Dmtk_disp_drv.h112 void mtk_ovl_adaptor_connect(struct device *dev, struct device *mmsys_dev,
114 void mtk_ovl_adaptor_disconnect(struct device *dev, struct device *mmsys_dev,
Dmtk_dpi.c70 struct device *mmsys_dev; member
456 mtk_mmsys_ddp_dpi_fmt_config(dpi->mmsys_dev, MTK_DPI_RGB888_DDR_CON); in mtk_dpi_dual_edge()
460 mtk_mmsys_ddp_dpi_fmt_config(dpi->mmsys_dev, MTK_DPI_RGB888_SDR_CON); in mtk_dpi_dual_edge()
800 dpi->mmsys_dev = priv->mmsys_dev; in mtk_dpi_bind()
Dmtk_drm_drv.c837 private->mmsys_dev = dev->parent; in mtk_drm_probe()
838 if (!private->mmsys_dev) { in mtk_drm_probe()
859 (void *)private->mmsys_dev, in mtk_drm_probe()
860 sizeof(*private->mmsys_dev)); in mtk_drm_probe()