Searched refs:msm_host (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/msm/dsi/ |
| D | dsi_host.c | 186 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument 188 return msm_readl(msm_host->ctrl_base + reg); in dsi_read() 190 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write() argument 192 msm_writel(data, msm_host->ctrl_base + reg); in dsi_write() 195 static int dsi_host_regulator_enable(struct msm_dsi_host *msm_host); 196 static void dsi_host_regulator_disable(struct msm_dsi_host *msm_host); 199 struct msm_dsi_host *msm_host) in dsi_get_config() argument 202 struct device *dev = &msm_host->pdev->dev; in dsi_get_config() 214 ahb_clk = msm_clk_get(msm_host->pdev, "iface"); in dsi_get_config() 234 ret = dsi_get_version(msm_host->ctrl_base, &major, &minor); in dsi_get_config() [all …]
|
| D | dsi_cfg.h | 37 int (*link_clk_enable)(struct msm_dsi_host *msm_host); 38 void (*link_clk_disable)(struct msm_dsi_host *msm_host); 39 int (*clk_init_ver)(struct msm_dsi_host *msm_host); 40 int (*tx_buf_alloc)(struct msm_dsi_host *msm_host, int size); 41 void* (*tx_buf_get)(struct msm_dsi_host *msm_host); 42 void (*tx_buf_put)(struct msm_dsi_host *msm_host); 43 int (*dma_base_get)(struct msm_dsi_host *msm_host, uint64_t *iova); 44 int (*calc_clk_rate)(struct msm_dsi_host *msm_host, bool is_dual_dsi);
|
| D | dsi.h | 180 int dsi_link_clk_enable_6g(struct msm_dsi_host *msm_host); 181 int dsi_link_clk_enable_v2(struct msm_dsi_host *msm_host); 182 void dsi_link_clk_disable_6g(struct msm_dsi_host *msm_host); 183 void dsi_link_clk_disable_v2(struct msm_dsi_host *msm_host); 184 int dsi_tx_buf_alloc_6g(struct msm_dsi_host *msm_host, int size); 185 int dsi_tx_buf_alloc_v2(struct msm_dsi_host *msm_host, int size); 186 void *dsi_tx_buf_get_6g(struct msm_dsi_host *msm_host); 187 void *dsi_tx_buf_get_v2(struct msm_dsi_host *msm_host); 188 void dsi_tx_buf_put_6g(struct msm_dsi_host *msm_host); 189 int dsi_dma_base_get_6g(struct msm_dsi_host *msm_host, uint64_t *iova); [all …]
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | sdhci-msm.c | 119 #define msm_host_readl(msm_host, host, offset) \ argument 120 msm_host->var_ops->msm_readl_relaxed(host, offset) 122 #define msm_host_writel(msm_host, val, host, offset) \ argument 123 msm_host->var_ops->msm_writel_relaxed(val, host, offset) 261 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_priv_msm_offset() local 263 return msm_host->offset; in sdhci_priv_msm_offset() 274 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_readl_relaxed() local 276 return readl_relaxed(msm_host->core_mem + offset); in sdhci_msm_mci_variant_readl_relaxed() 289 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_writel_relaxed() local 291 writel_relaxed(val, msm_host->core_mem + offset); in sdhci_msm_mci_variant_writel_relaxed() [all …]
|