Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/host/
H A Dmeson-gx-mmc.c529 unsigned int val, dly, max_dly, i; in meson_mmc_resampling_tuning() local
533 max_dly = DIV_ROUND_UP(clk_get_rate(host->mux_clk), in meson_mmc_resampling_tuning()
545 for (i = 0; i < max_dly; i++) { in meson_mmc_resampling_tuning()
547 val |= FIELD_PREP(ADJUST_ADJ_DELAY_MASK, (dly + i) % max_dly); in meson_mmc_resampling_tuning()
553 (dly + i) % max_dly); in meson_mmc_resampling_tuning()