Lines Matching refs:phase_delay
298 u32 phase_delay = 0; in sdhci_omap_execute_tuning() local
344 while (phase_delay <= MAX_PHASE_DELAY) { in sdhci_omap_execute_tuning()
345 sdhci_omap_set_dll(omap_host, phase_delay); in sdhci_omap_execute_tuning()
355 start_window = phase_delay; in sdhci_omap_execute_tuning()
368 phase_delay += 4; in sdhci_omap_execute_tuning()
382 phase_delay = min(max_window + 4 * (max_len - 1) - 24, in sdhci_omap_execute_tuning()
386 phase_delay = max_window + DIV_ROUND_UP(9 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
388 phase_delay = max_window + DIV_ROUND_UP(8 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
390 phase_delay = max_window + DIV_ROUND_UP(7 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
392 phase_delay = max_window + DIV_ROUND_UP(5 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
394 phase_delay = max_window + DIV_ROUND_UP(4 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
396 phase_delay = max_window + DIV_ROUND_UP(3 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
405 sdhci_omap_set_dll(omap_host, phase_delay + i); in sdhci_omap_execute_tuning()
409 phase_delay += i + 6; in sdhci_omap_execute_tuning()
411 phase_delay += i - 12; in sdhci_omap_execute_tuning()
413 phase_delay += i - 8; in sdhci_omap_execute_tuning()
415 phase_delay += i - 6; in sdhci_omap_execute_tuning()
422 sdhci_omap_set_dll(omap_host, phase_delay + i); in sdhci_omap_execute_tuning()
426 phase_delay += i + 12; in sdhci_omap_execute_tuning()
428 phase_delay += i + 8; in sdhci_omap_execute_tuning()
430 phase_delay += i + 8; in sdhci_omap_execute_tuning()
432 phase_delay += i + 10; in sdhci_omap_execute_tuning()
434 phase_delay += i + 12; in sdhci_omap_execute_tuning()
447 sdhci_omap_set_dll(omap_host, phase_delay); in sdhci_omap_execute_tuning()