Lines Matching full:tap

335 static void tegra_sdhci_set_tap(struct sdhci_host *host, unsigned int tap)  in tegra_sdhci_set_tap()  argument
344 * Touching the tap values is a bit tricky on some SoC generations. in tegra_sdhci_set_tap()
346 * the tap values are changed. in tegra_sdhci_set_tap()
354 reg |= tap << SDHCI_CLOCK_CTRL_TAP_SHIFT; in tegra_sdhci_set_tap()
718 err = device_property_read_u32(mmc_dev(host->mmc), "nvidia,default-tap", in tegra_sdhci_parse_tap_and_trim()
859 u8 word, bit, edge1, tap, window; in tegra_sdhci_tap_correction() local
884 tap = word * TUNING_WORD_BIT_SIZE + bit; in tegra_sdhci_tap_correction()
889 first_fail_tap = tap; in tegra_sdhci_tap_correction()
894 start_pass_tap = tap; in tegra_sdhci_tap_correction()
897 first_pass_tap = tap; in tegra_sdhci_tap_correction()
903 end_pass_tap = tap - 1; in tegra_sdhci_tap_correction()
910 start_pass_tap = tap; in tegra_sdhci_tap_correction()
913 /* set tap at middle of valid window */ in tegra_sdhci_tap_correction()
914 tap = start_pass_tap + window / 2; in tegra_sdhci_tap_correction()
915 tegra_host->tuned_tap_delay = tap; in tegra_sdhci_tap_correction()
927 /* set tap location at fixed tap relative to the first edge */ in tegra_sdhci_tap_correction()
947 /* retain HW tuned tap to use incase if no correction is needed */ in tegra_sdhci_post_tuning()
965 * fixed tap is used when HW tuning result contains single edge in tegra_sdhci_post_tuning()
966 * and tap is set at fixed tap delay relative to the first edge in tegra_sdhci_post_tuning()
1023 /* Don't set default tap on tunable modes. */ in tegra_sdhci_set_uhs_signaling()
1074 * Start search for minimum tap value at 10, as smaller values are in tegra_sdhci_execute_tuning()
1086 /* Find the maximum tap value that still passes. */ in tegra_sdhci_execute_tuning()
1097 /* The TRM states the ideal tap value is at 75% in the passing range. */ in tegra_sdhci_execute_tuning()