Lines Matching refs:phase_delay
302 u32 phase_delay = 0; in sdhci_omap_execute_tuning() local
348 while (phase_delay <= MAX_PHASE_DELAY) { in sdhci_omap_execute_tuning()
349 sdhci_omap_set_dll(omap_host, phase_delay); in sdhci_omap_execute_tuning()
359 start_window = phase_delay; in sdhci_omap_execute_tuning()
372 phase_delay += 4; in sdhci_omap_execute_tuning()
386 phase_delay = min(max_window + 4 * (max_len - 1) - 24, in sdhci_omap_execute_tuning()
390 phase_delay = max_window + DIV_ROUND_UP(9 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
392 phase_delay = max_window + DIV_ROUND_UP(8 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
394 phase_delay = max_window + DIV_ROUND_UP(7 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
396 phase_delay = max_window + DIV_ROUND_UP(5 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
398 phase_delay = max_window + DIV_ROUND_UP(4 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
400 phase_delay = max_window + DIV_ROUND_UP(3 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
409 sdhci_omap_set_dll(omap_host, phase_delay + i); in sdhci_omap_execute_tuning()
413 phase_delay += i + 6; in sdhci_omap_execute_tuning()
415 phase_delay += i - 12; in sdhci_omap_execute_tuning()
417 phase_delay += i - 8; in sdhci_omap_execute_tuning()
419 phase_delay += i - 6; in sdhci_omap_execute_tuning()
426 sdhci_omap_set_dll(omap_host, phase_delay + i); in sdhci_omap_execute_tuning()
430 phase_delay += i + 12; in sdhci_omap_execute_tuning()
432 phase_delay += i + 8; in sdhci_omap_execute_tuning()
434 phase_delay += i + 8; in sdhci_omap_execute_tuning()
436 phase_delay += i + 10; in sdhci_omap_execute_tuning()
438 phase_delay += i + 12; in sdhci_omap_execute_tuning()
451 sdhci_omap_set_dll(omap_host, phase_delay); in sdhci_omap_execute_tuning()