Home
last modified time | relevance | path

Searched refs:phase_deg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mmc/host/
H A Dsdhci-of-aspeed.c163 int phase_deg) in aspeed_sdhci_phase_to_tap() argument
171 phase_deg %= 360; in aspeed_sdhci_phase_to_tap()
173 if (phase_deg >= 180) { in aspeed_sdhci_phase_to_tap()
175 phase_deg -= 180; in aspeed_sdhci_phase_to_tap()
178 phase_deg + 180, phase_deg); in aspeed_sdhci_phase_to_tap()
185 phase_period_ps = div_u64((u64)phase_deg * clk_period_ps, 360ULL); in aspeed_sdhci_phase_to_tap()
191 tap, phase_deg, rate_hz, ASPEED_SDHCI_NR_TAPS); in aspeed_sdhci_phase_to_tap()