Home
last modified time | relevance | path

Searched refs:best_clk_sample (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/mmc/host/
Dsdhci-sprd.c610 int best_clk_sample; in sdhci_sprd_tuning() local
644 best_clk_sample = sdhci_sprd_get_best_clk_sample(mmc, value); in sdhci_sprd_tuning()
645 if (best_clk_sample < 0) { in sdhci_sprd_tuning()
647 err = best_clk_sample; in sdhci_sprd_tuning()
653 p[mmc->ios.timing] |= ((best_clk_sample << 8) & SDHCI_SPRD_CMD_DLY_MASK); in sdhci_sprd_tuning()
656 p[mmc->ios.timing] |= ((best_clk_sample << 16) & SDHCI_SPRD_POSRD_DLY_MASK); in sdhci_sprd_tuning()
660 mmc_hostname(host->mmc), best_clk_sample, p[mmc->ios.timing]); in sdhci_sprd_tuning()