Lines Matching defs:clock
175 * clock can't exceed 150MHz, for DDR mode, SD card clock can't exceed 45MHz.
186 /* The IP lost clock rate in PM_RUNTIME */
233 unsigned int strobe_dll_delay_target; /* The delay cell for strobe pad (read clock) */
439 dev_warn(mmc_dev(host->mmc), "%s: card clock still not gate off in 100us!.\n", __func__);
911 return pltfm_host->clock;
918 return pltfm_host->clock / 256 / 16;
922 unsigned int clock)
926 unsigned int host_clock = pltfm_host->clock;
940 if (clock == 0) {
970 clock = min(clock, max_clock);
973 while (host_clock / (16 * pre_div * ddr_pre_div) > clock &&
977 while (host_clock / (div * pre_div * ddr_pre_div) > clock && div < 16)
981 dev_dbg(mmc_dev(host->mmc), "desired SD clock: %d, actual: %d\n",
982 clock, host->mmc->actual_clock);
993 /* need to wait the bit 3 of the PRSSTAT to be set, make sure card clock is stable */
997 dev_warn(mmc_dev(host->mmc), "card clock still not stable in 100us!.\n");
1244 * data_strobe line, if the delay time is larger than one clock cycle,
1255 /* disable clock before enabling strobe dll */
1269 * for the uSDHC loopback read clock
1328 /* update clock after enable DDR for strobe DLL lock */
1329 host->ops->set_clock(host, host->clock);
1516 * the 1st linux configure power/clock for the 2nd Linux.
1689 pltfm_host->clock = clk_get_rate(pltfm_host->clk);
1936 clk_set_rate(imx_data->clk_per, pltfm_host->clock);