Lines Matching refs:clksel

133 	u32 clksel;  in dw_mci_exynos_set_clksel_timing()  local
137 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_set_clksel_timing()
139 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_set_clksel_timing()
141 clksel = (clksel & ~SDMMC_CLKSEL_TIMING_MASK) | timing; in dw_mci_exynos_set_clksel_timing()
145 mci_writel(host, CLKSEL64, clksel); in dw_mci_exynos_set_clksel_timing()
147 mci_writel(host, CLKSEL, clksel); in dw_mci_exynos_set_clksel_timing()
181 u32 clksel; in dw_mci_exynos_resume_noirq() local
185 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_resume_noirq()
187 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_resume_noirq()
189 if (clksel & SDMMC_CLKSEL_WAKEUP_INT) { in dw_mci_exynos_resume_noirq()
192 mci_writel(host, CLKSEL64, clksel); in dw_mci_exynos_resume_noirq()
194 mci_writel(host, CLKSEL, clksel); in dw_mci_exynos_resume_noirq()
287 u32 timing = ios->timing, clksel; in dw_mci_exynos_set_ios() local
292 clksel = SDMMC_CLKSEL_UP_SAMPLE( in dw_mci_exynos_set_ios()
297 clksel = priv->ddr_timing; in dw_mci_exynos_set_ios()
303 clksel = priv->sdr_timing; in dw_mci_exynos_set_ios()
307 dw_mci_exynos_set_clksel_timing(host, clksel); in dw_mci_exynos_set_ios()
383 u32 clksel; in dw_mci_exynos_set_clksmpl() local
388 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_set_clksmpl()
390 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_set_clksmpl()
391 clksel = SDMMC_CLKSEL_UP_SAMPLE(clksel, sample); in dw_mci_exynos_set_clksmpl()
394 mci_writel(host, CLKSEL64, clksel); in dw_mci_exynos_set_clksmpl()
396 mci_writel(host, CLKSEL, clksel); in dw_mci_exynos_set_clksmpl()
402 u32 clksel; in dw_mci_exynos_move_next_clksmpl() local
407 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_move_next_clksmpl()
409 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_move_next_clksmpl()
411 sample = (clksel + 1) & 0x7; in dw_mci_exynos_move_next_clksmpl()
412 clksel = SDMMC_CLKSEL_UP_SAMPLE(clksel, sample); in dw_mci_exynos_move_next_clksmpl()
416 mci_writel(host, CLKSEL64, clksel); in dw_mci_exynos_move_next_clksmpl()
418 mci_writel(host, CLKSEL, clksel); in dw_mci_exynos_move_next_clksmpl()