Lines Matching full:tap

329 static void tegra_sdhci_set_tap(struct sdhci_host *host, unsigned int tap)  in tegra_sdhci_set_tap()  argument
338 * Touching the tap values is a bit tricky on some SoC generations. in tegra_sdhci_set_tap()
340 * the tap values are changed. in tegra_sdhci_set_tap()
348 reg |= tap << SDHCI_CLOCK_CTRL_TAP_SHIFT; in tegra_sdhci_set_tap()
729 err = device_property_read_u32(mmc_dev(host->mmc), "nvidia,default-tap", in tegra_sdhci_parse_tap_and_trim()
837 u8 word, bit, edge1, tap, window; in tegra_sdhci_tap_correction() local
862 tap = word * TUNING_WORD_BIT_SIZE + bit; in tegra_sdhci_tap_correction()
867 first_fail_tap = tap; in tegra_sdhci_tap_correction()
872 start_pass_tap = tap; in tegra_sdhci_tap_correction()
875 first_pass_tap = tap; in tegra_sdhci_tap_correction()
881 end_pass_tap = tap - 1; in tegra_sdhci_tap_correction()
888 start_pass_tap = tap; in tegra_sdhci_tap_correction()
891 /* set tap at middle of valid window */ in tegra_sdhci_tap_correction()
892 tap = start_pass_tap + window / 2; in tegra_sdhci_tap_correction()
893 tegra_host->tuned_tap_delay = tap; in tegra_sdhci_tap_correction()
905 /* set tap location at fixed tap relative to the first edge */ in tegra_sdhci_tap_correction()
925 /* retain HW tuned tap to use incase if no correction is needed */ in tegra_sdhci_post_tuning()
943 * fixed tap is used when HW tuning result contains single edge in tegra_sdhci_post_tuning()
944 * and tap is set at fixed tap delay relative to the first edge in tegra_sdhci_post_tuning()
1001 /* Don't set default tap on tunable modes. */ in tegra_sdhci_set_uhs_signaling()
1052 * Start search for minimum tap value at 10, as smaller values are in tegra_sdhci_execute_tuning()
1064 /* Find the maximum tap value that still passes. */ in tegra_sdhci_execute_tuning()
1075 /* The TRM states the ideal tap value is at 75% in the passing range. */ in tegra_sdhci_execute_tuning()