Lines Matching refs:ioaddr

131 static inline void st_mmcss_set_static_delay(void __iomem *ioaddr)  in st_mmcss_set_static_delay()  argument
133 if (!ioaddr) in st_mmcss_set_static_delay()
136 writel_relaxed(0x0, ioaddr + ST_TOP_MMC_DLY_CTRL); in st_mmcss_set_static_delay()
138 ioaddr + ST_TOP_MMC_TX_CLK_DLY); in st_mmcss_set_static_delay()
165 host->ioaddr + ST_MMC_CCONFIG_REG_1); in st_mmcss_cconfig()
184 writel_relaxed(cconf2, host->ioaddr + ST_MMC_CCONFIG_REG_2); in st_mmcss_cconfig()
191 host->ioaddr + ST_MMC_GP_OUTPUT); in st_mmcss_cconfig()
217 writel_relaxed(cconf3, host->ioaddr + ST_MMC_CCONFIG_REG_3); in st_mmcss_cconfig()
218 writel_relaxed(cconf4, host->ioaddr + ST_MMC_CCONFIG_REG_4); in st_mmcss_cconfig()
219 writel_relaxed(cconf5, host->ioaddr + ST_MMC_CCONFIG_REG_5); in st_mmcss_cconfig()
222 static inline void st_mmcss_set_dll(void __iomem *ioaddr) in st_mmcss_set_dll() argument
224 if (!ioaddr) in st_mmcss_set_dll()
227 writel_relaxed(ST_TOP_MMC_DYN_DLY_CONF, ioaddr + ST_TOP_MMC_DLY_CTRL); in st_mmcss_set_dll()
229 ioaddr + ST_TOP_MMC_TX_DLL_STEP_DLY); in st_mmcss_set_dll()
232 static int st_mmcss_lock_dll(void __iomem *ioaddr) in st_mmcss_lock_dll() argument
240 value = readl(ioaddr + ST_MMC_STATUS_R); in st_mmcss_lock_dll()
258 ret = st_mmcss_lock_dll(host->ioaddr); in sdhci_st_set_dll_for_clock()
321 ret = readl_relaxed(host->ioaddr + reg); in sdhci_st_readl()
326 ret = readl_relaxed(host->ioaddr + reg); in sdhci_st_readl()
416 host_version = readw_relaxed((host->ioaddr + SDHCI_HOST_VERSION)); in sdhci_st_probe()