Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mmc/
H A Dsdhci-cadence.c193 int max_streak = 0; in sdhci_cdns_execute_tuning() local
214 if (cur_streak > max_streak) { in sdhci_cdns_execute_tuning()
215 max_streak = cur_streak; in sdhci_cdns_execute_tuning()
221 if (!max_streak) { in sdhci_cdns_execute_tuning()
226 return sdhci_cdns_set_tune_val(plat, end_of_streak - max_streak / 2); in sdhci_cdns_execute_tuning()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-cadence.c261 int max_streak = 0; in sdhci_cdns_execute_tuning() local
279 if (cur_streak > max_streak) { in sdhci_cdns_execute_tuning()
280 max_streak = cur_streak; in sdhci_cdns_execute_tuning()
286 if (!max_streak) { in sdhci_cdns_execute_tuning()
291 return sdhci_cdns_set_tune_val(host, end_of_streak - max_streak / 2); in sdhci_cdns_execute_tuning()