Lines Matching refs:phase_delay
329 u32 phase_delay = 0; in sdhci_omap_execute_tuning() local
375 while (phase_delay <= MAX_PHASE_DELAY) { in sdhci_omap_execute_tuning()
376 sdhci_omap_set_dll(omap_host, phase_delay); in sdhci_omap_execute_tuning()
386 start_window = phase_delay; in sdhci_omap_execute_tuning()
399 phase_delay += 4; in sdhci_omap_execute_tuning()
413 phase_delay = min(max_window + 4 * (max_len - 1) - 24, in sdhci_omap_execute_tuning()
417 phase_delay = max_window + DIV_ROUND_UP(9 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
419 phase_delay = max_window + DIV_ROUND_UP(8 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
421 phase_delay = max_window + DIV_ROUND_UP(7 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
423 phase_delay = max_window + DIV_ROUND_UP(5 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
425 phase_delay = max_window + DIV_ROUND_UP(4 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
427 phase_delay = max_window + DIV_ROUND_UP(3 * max_len, 16) * 4; in sdhci_omap_execute_tuning()
436 sdhci_omap_set_dll(omap_host, phase_delay + i); in sdhci_omap_execute_tuning()
440 phase_delay += i + 6; in sdhci_omap_execute_tuning()
442 phase_delay += i - 12; in sdhci_omap_execute_tuning()
444 phase_delay += i - 8; in sdhci_omap_execute_tuning()
446 phase_delay += i - 6; in sdhci_omap_execute_tuning()
453 sdhci_omap_set_dll(omap_host, phase_delay + i); in sdhci_omap_execute_tuning()
457 phase_delay += i + 12; in sdhci_omap_execute_tuning()
459 phase_delay += i + 8; in sdhci_omap_execute_tuning()
461 phase_delay += i + 8; in sdhci_omap_execute_tuning()
463 phase_delay += i + 10; in sdhci_omap_execute_tuning()
465 phase_delay += i + 12; in sdhci_omap_execute_tuning()
478 sdhci_omap_set_dll(omap_host, phase_delay); in sdhci_omap_execute_tuning()