Searched refs:mmsys_dev (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_ovl_adaptor.c | 60 struct device *mmsys_dev; member 135 mtk_mmsys_merge_async_config(ovl_adaptor->mmsys_dev, idx, align_width / 2, in mtk_ovl_adaptor_layer_config() 349 void mtk_ovl_adaptor_connect(struct device *dev, struct device *mmsys_dev, unsigned int next) in mtk_ovl_adaptor_connect() argument 351 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MDP_RDMA0, DDP_COMPONENT_MERGE1); in mtk_ovl_adaptor_connect() 352 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MDP_RDMA1, DDP_COMPONENT_MERGE1); in mtk_ovl_adaptor_connect() 353 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MDP_RDMA2, DDP_COMPONENT_MERGE2); in mtk_ovl_adaptor_connect() 354 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE1, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect() 355 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE2, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect() 356 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE3, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect() 357 mtk_mmsys_ddp_connect(mmsys_dev, DDP_COMPONENT_MERGE4, DDP_COMPONENT_ETHDR_MIXER); in mtk_ovl_adaptor_connect() [all …]
|
H A D | mtk_drm_ddp_comp.h | 79 void (*connect)(struct device *dev, struct device *mmsys_dev, unsigned int next); 80 void (*disconnect)(struct device *dev, struct device *mmsys_dev, unsigned int next); 258 static inline bool mtk_ddp_comp_connect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_connect() argument 262 comp->funcs->connect(comp->dev, mmsys_dev, next); in mtk_ddp_comp_connect() 268 static inline bool mtk_ddp_comp_disconnect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_disconnect() argument 272 comp->funcs->disconnect(comp->dev, mmsys_dev, next); in mtk_ddp_comp_disconnect()
|
H A D | mtk_ethdr.c | 77 struct device *mmsys_dev; member 184 mtk_mmsys_mixer_in_config(priv->mmsys_dev, idx + 1, replace_src_a, in mtk_ethdr_layer_config() 245 mtk_mmsys_hdr_config(priv->mmsys_dev, w / 2, h, cmdq_pkt); in mtk_ethdr_config() 246 mtk_mmsys_mixer_in_channel_swap(priv->mmsys_dev, 4, 0, cmdq_pkt); in mtk_ethdr_config() 292 priv->mmsys_dev = data; in mtk_ethdr_bind()
|
H A D | mtk_drm_crtc.c | 61 struct device *mmsys_dev; member 400 if (!mtk_ddp_comp_connect(mtk_crtc->ddp_comp[i], mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_init() 402 mtk_mmsys_ddp_connect(mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_init() 468 if (!mtk_ddp_comp_disconnect(mtk_crtc->ddp_comp[i], mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_fini() 470 mtk_mmsys_ddp_disconnect(mtk_crtc->mmsys_dev, in mtk_crtc_ddp_hw_fini() 980 mtk_crtc->mmsys_dev = priv->mmsys_dev; in mtk_drm_crtc_create() 1048 mtk_crtc->cmdq_client.client.dev = mtk_crtc->mmsys_dev; in mtk_drm_crtc_create()
|
H A D | mtk_drm_drv.h | 46 struct device *mmsys_dev; member
|
H A D | mtk_disp_drv.h | 106 void mtk_ovl_adaptor_connect(struct device *dev, struct device *mmsys_dev, 108 void mtk_ovl_adaptor_disconnect(struct device *dev, struct device *mmsys_dev,
|
H A D | mtk_dpi.c | 70 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() 791 dpi->mmsys_dev = priv->mmsys_dev; in mtk_dpi_bind()
|
H A D | mtk_drm_drv.c | 795 private->mmsys_dev = dev->parent; in mtk_drm_probe() 796 if (!private->mmsys_dev) { in mtk_drm_probe() 817 (void *)private->mmsys_dev, in mtk_drm_probe() 818 sizeof(*private->mmsys_dev)); in mtk_drm_probe()
|