Searched refs:msm_host (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 154 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument 156 return msm_readl(msm_host->ctrl_base + reg); in dsi_read() 158 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write() argument 160 msm_writel(data, msm_host->ctrl_base + reg); in dsi_write() 163 static int dsi_host_regulator_enable(struct msm_dsi_host *msm_host); 164 static void dsi_host_regulator_disable(struct msm_dsi_host *msm_host); 167 struct msm_dsi_host *msm_host) in dsi_get_config() argument 174 gdsc_reg = regulator_get(&msm_host->pdev->dev, "gdsc"); in dsi_get_config() 184 ret = clk_prepare_enable(msm_host->ahb_clk); in dsi_get_config() 190 ret = dsi_get_version(msm_host->ctrl_base, &major, &minor); in dsi_get_config() [all …]
|
/drivers/mmc/host/ |
D | sdhci-msm.c | 433 struct sdhci_msm_host *msm_host; in sdhci_msm_probe() local 440 msm_host = devm_kzalloc(&pdev->dev, sizeof(*msm_host), GFP_KERNEL); in sdhci_msm_probe() 441 if (!msm_host) in sdhci_msm_probe() 444 msm_host->sdhci_msm_pdata.ops = &sdhci_msm_ops; in sdhci_msm_probe() 445 host = sdhci_pltfm_init(pdev, &msm_host->sdhci_msm_pdata, 0); in sdhci_msm_probe() 450 pltfm_host->priv = msm_host; in sdhci_msm_probe() 451 msm_host->mmc = host->mmc; in sdhci_msm_probe() 452 msm_host->pdev = pdev; in sdhci_msm_probe() 461 msm_host->bus_clk = devm_clk_get(&pdev->dev, "bus"); in sdhci_msm_probe() 462 if (!IS_ERR(msm_host->bus_clk)) { in sdhci_msm_probe() [all …]
|