Searched refs:msm_host (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 37 static int dsi_populate_dsc_params(struct msm_dsi_host *msm_host, struct drm_dsc_config *dsc); 183 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument 185 return readl(msm_host->ctrl_base + reg); in dsi_read() 187 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write() argument 189 writel(data, msm_host->ctrl_base + reg); in dsi_write() 193 struct msm_dsi_host *msm_host) in dsi_get_config() argument 196 struct device *dev = &msm_host->pdev->dev; in dsi_get_config() 201 ahb_clk = msm_clk_get(msm_host->pdev, "iface"); in dsi_get_config() 215 ret = dsi_get_version(msm_host->ctrl_base, &major, &minor); in dsi_get_config() 238 int dsi_clk_init_v2(struct msm_dsi_host *msm_host) in dsi_clk_init_v2() argument [all …]
|
H A D | dsi.h | 100 int dsi_link_clk_set_rate_6g(struct msm_dsi_host *msm_host); 101 int dsi_link_clk_set_rate_v2(struct msm_dsi_host *msm_host); 102 int dsi_link_clk_enable_6g(struct msm_dsi_host *msm_host); 103 int dsi_link_clk_enable_v2(struct msm_dsi_host *msm_host); 104 void dsi_link_clk_disable_6g(struct msm_dsi_host *msm_host); 105 void dsi_link_clk_disable_v2(struct msm_dsi_host *msm_host); 108 int dsi_tx_buf_alloc_6g(struct msm_dsi_host *msm_host, int size); 109 int dsi_tx_buf_alloc_v2(struct msm_dsi_host *msm_host, int size); 110 void *dsi_tx_buf_get_6g(struct msm_dsi_host *msm_host); 111 void *dsi_tx_buf_get_v2(struct msm_dsi_host *msm_host); [all …]
|
H A D | dsi_cfg.h | 50 int (*link_clk_set_rate)(struct msm_dsi_host *msm_host); 51 int (*link_clk_enable)(struct msm_dsi_host *msm_host); 52 void (*link_clk_disable)(struct msm_dsi_host *msm_host); 53 int (*clk_init_ver)(struct msm_dsi_host *msm_host); 54 int (*tx_buf_alloc)(struct msm_dsi_host *msm_host, int size); 55 void* (*tx_buf_get)(struct msm_dsi_host *msm_host); 56 void (*tx_buf_put)(struct msm_dsi_host *msm_host); 57 int (*dma_base_get)(struct msm_dsi_host *msm_host, uint64_t *iova); 58 int (*calc_clk_rate)(struct msm_dsi_host *msm_host, bool is_bonded_dsi);
|
/linux/drivers/mmc/host/ |
H A D | sdhci-msm.c | 140 #define msm_host_readl(msm_host, host, offset) \ argument 141 msm_host->var_ops->msm_readl_relaxed(host, offset) 143 #define msm_host_writel(msm_host, val, host, offset) \ argument 144 msm_host->var_ops->msm_writel_relaxed(val, host, offset) 298 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_priv_msm_offset() local 300 return msm_host->offset; in sdhci_priv_msm_offset() 311 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_readl_relaxed() local 313 return readl_relaxed(msm_host->core_mem + offset); in sdhci_msm_mci_variant_readl_relaxed() 326 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_writel_relaxed() local 328 writel_relaxed(val, msm_host->core_mem + offset); in sdhci_msm_mci_variant_writel_relaxed() [all …]
|