Home
last modified time | relevance | path

Searched refs:msm_host (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/msm/dsi/
Ddsi_host.c192 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument
194 return msm_readl(msm_host->ctrl_base + reg); in dsi_read()
196 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write() argument
198 msm_writel(data, msm_host->ctrl_base + reg); in dsi_write()
201 static int dsi_host_regulator_enable(struct msm_dsi_host *msm_host);
202 static void dsi_host_regulator_disable(struct msm_dsi_host *msm_host);
205 struct msm_dsi_host *msm_host) in dsi_get_config() argument
208 struct device *dev = &msm_host->pdev->dev; in dsi_get_config()
220 ahb_clk = msm_clk_get(msm_host->pdev, "iface"); in dsi_get_config()
240 ret = dsi_get_version(msm_host->ctrl_base, &major, &minor); in dsi_get_config()
[all …]
Ddsi_cfg.h44 int (*link_clk_enable)(struct msm_dsi_host *msm_host);
45 void (*link_clk_disable)(struct msm_dsi_host *msm_host);
46 int (*clk_init_ver)(struct msm_dsi_host *msm_host);
47 int (*tx_buf_alloc)(struct msm_dsi_host *msm_host, int size);
48 void* (*tx_buf_get)(struct msm_dsi_host *msm_host);
49 void (*tx_buf_put)(struct msm_dsi_host *msm_host);
50 int (*dma_base_get)(struct msm_dsi_host *msm_host, uint64_t *iova);
51 int (*calc_clk_rate)(struct msm_dsi_host *msm_host, bool is_dual_dsi);
Ddsi.h189 int dsi_link_clk_enable_6g(struct msm_dsi_host *msm_host);
190 int dsi_link_clk_enable_v2(struct msm_dsi_host *msm_host);
191 void dsi_link_clk_disable_6g(struct msm_dsi_host *msm_host);
192 void dsi_link_clk_disable_v2(struct msm_dsi_host *msm_host);
193 int dsi_tx_buf_alloc_6g(struct msm_dsi_host *msm_host, int size);
194 int dsi_tx_buf_alloc_v2(struct msm_dsi_host *msm_host, int size);
195 void *dsi_tx_buf_get_6g(struct msm_dsi_host *msm_host);
196 void *dsi_tx_buf_get_v2(struct msm_dsi_host *msm_host);
197 void dsi_tx_buf_put_6g(struct msm_dsi_host *msm_host);
198 int dsi_dma_base_get_6g(struct msm_dsi_host *msm_host, uint64_t *iova);
[all …]
/Linux-v4.19/drivers/mmc/host/
Dsdhci-msm.c128 #define msm_host_readl(msm_host, host, offset) \ argument
129 msm_host->var_ops->msm_readl_relaxed(host, offset)
131 #define msm_host_writel(msm_host, val, host, offset) \ argument
132 msm_host->var_ops->msm_writel_relaxed(val, host, offset)
266 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_priv_msm_offset() local
268 return msm_host->offset; in sdhci_priv_msm_offset()
279 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_readl_relaxed() local
281 return readl_relaxed(msm_host->core_mem + offset); in sdhci_msm_mci_variant_readl_relaxed()
294 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_writel_relaxed() local
296 writel_relaxed(val, msm_host->core_mem + offset); in sdhci_msm_mci_variant_writel_relaxed()
[all …]