Home
last modified time | relevance | path

Searched refs:f_max (Results 1 – 25 of 55) sorted by relevance

123

/drivers/mmc/host/
Dmmci.c63 .f_max = 100000000,
82 .f_max = 100000000,
101 .f_max = 100000000,
123 .f_max = 100000000,
149 .f_max = 100000000,
179 .f_max = 100000000,
214 .f_max = 100000000,
247 .f_max = 48000000,
256 .f_max = 208000000,
282 .f_max = 208000000,
[all …]
Dsdhci-bcm-kona.c240 if (!host->mmc->f_max) { in sdhci_bcm_kona_probe()
254 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max); in sdhci_bcm_kona_probe()
Dsh_mmcif.c996 if (host->mmc->f_max) { in sh_mmcif_clk_setup()
997 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local
999 f_max = host->mmc->f_max; in sh_mmcif_clk_setup()
1000 for (f_min_old = f_max; f_min_old > 2;) { in sh_mmcif_clk_setup()
1012 host->mmc->f_max = f_max / (1 << ffs(host->clkdiv_map)); in sh_mmcif_clk_setup()
1017 host->mmc->f_max = clk / 2; in sh_mmcif_clk_setup()
1022 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
Dcavium.c910 clock = min(clock, mmc->f_max); in cvm_mmc_set_clock()
995 if (!mmc->f_max) in cvm_mmc_of_parse()
996 of_property_read_u32(node, "spi-max-frequency", &mmc->f_max); in cvm_mmc_of_parse()
997 if (!mmc->f_max || mmc->f_max > 52000000) in cvm_mmc_of_parse()
998 mmc->f_max = 52000000; in cvm_mmc_of_parse()
Dsdhci-st.c162 switch (mhost->f_max) { in st_mmcss_cconfig()
164 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
168 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
Djz4740_mmc.c878 clk_set_rate(host->clk, host->mmc->f_max); in jz4740_mmc_set_clock_rate()
1042 if (!mmc->f_max) in jz4740_mmc_probe()
1043 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe()
1051 if (host->version == JZ_MMC_JZ4760 && mmc->f_max > JZ_MMC_CLK_RATE) in jz4740_mmc_probe()
1052 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe()
1054 mmc->f_min = mmc->f_max / 128; in jz4740_mmc_probe()
Dsdhci-of-aspeed.c84 if (host->mmc->f_max) in aspeed_sdhci_get_max_clock()
85 return host->mmc->f_max; in aspeed_sdhci_get_max_clock()
Dwmt-sdmmc.c177 unsigned int f_max; member
735 .f_max = 50000000,
790 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
Dsdhci-omap.c1143 mmc->f_max = 96000000; in sdhci_omap_probe()
1145 mmc->f_max = 48000000; in sdhci_omap_probe()
1147 mmc->f_max = 48000000; in sdhci_omap_probe()
1159 ret = clk_set_rate(pltfm_host->clk, mmc->f_max); in sdhci_omap_probe()
1161 dev_err(dev, "failed to set clock to %d\n", mmc->f_max); in sdhci_omap_probe()
Drenesas_sdhi_core.c101 if (!mmc->f_max) in renesas_sdhi_clk_enable()
102 mmc->f_max = clk_get_rate(priv->clk); in renesas_sdhi_clk_enable()
1085 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe()
1138 mmc_hostname(host->mmc), &res->start, host->mmc->f_max / 1000000); in renesas_sdhi_probe()
Dbcm2835.c1272 if (!mmc->f_max || mmc->f_max > host->max_clk) in bcm2835_add_host()
1273 mmc->f_max = host->max_clk; in bcm2835_add_host()
1276 mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); in bcm2835_add_host()
1279 mmc->f_max, mmc->f_min, mmc->max_busy_timeout); in bcm2835_add_host()
Dtmio_mmc.c164 host->mmc->f_max = pdata->hclk; in tmio_mmc_probe()
Duniphier-sd.c373 if (!mmc->f_max) in uniphier_sd_clk_enable()
374 mmc->f_max = priv->clk_rate; in uniphier_sd_clk_enable()
Domap.c1253 mmc->f_max = 48000000; in mmc_omap_new_slot()
1255 mmc->f_max = 24000000; in mmc_omap_new_slot()
1257 mmc->f_max = min(host->pdata->max_freq, mmc->f_max); in mmc_omap_new_slot()
Dmmci.h345 u32 f_max; member
Dmvsdio.c739 mmc->f_max = MVSD_CLOCKRATE_MAX; in mvsd_probe()
753 mmc->f_max = maxfreq; in mvsd_probe()
Dmmc_spi.c1227 mmc->f_max = spi->max_speed_hz; in mmc_spi_probe()
1344 spi->max_speed_hz = mmc->f_max; in mmc_spi_remove()
/drivers/cpufreq/
Dlonghaul.c411 int f_max, f_min; in guess_fsb() local
414 f_max = ((speeds[i] * mult) + 50) / 100; in guess_fsb()
415 f_max += (ROUNDING / 2); in guess_fsb()
416 f_min = f_max - ROUNDING; in guess_fsb()
417 if ((speed <= f_max) && (speed >= f_min)) in guess_fsb()
/drivers/media/tuners/
Dmt2063.c426 u32 f_min, u32 f_max) in MT2063_AddExclZone() argument
435 if ((f_max > (pAS_Info->f_if1_Center - (pAS_Info->f_if1_bw / 2))) in MT2063_AddExclZone()
437 && (f_min < f_max)) { in MT2063_AddExclZone()
452 if ((pNode != NULL) && (pNode->min_ < f_max)) { in MT2063_AddExclZone()
456 if (f_max > pNode->max_) in MT2063_AddExclZone()
457 pNode->max_ = f_max; in MT2063_AddExclZone()
461 pNode->max_ = f_max; in MT2063_AddExclZone()
/drivers/staging/pi433/
Drf69.c299 u32 f_max; in rf69_set_frequency() local
312 f_max = div_u64(f_step * 8388608, factor); in rf69_set_frequency()
313 if (frequency > f_max) { in rf69_set_frequency()
/drivers/mmc/core/
Ddebugfs.c212 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
Dcore.c919 if (hz > host->f_max) in mmc_set_clock()
920 hz = host->f_max; in mmc_set_clock()
2320 if (freq > host->f_max) { in mmc_rescan()
2323 freq = host->f_max; in mmc_rescan()
2339 host->f_init = max(min(freqs[0], host->f_max), host->f_min); in mmc_start_host()
/drivers/scsi/ufs/
Dufs-exynos.c263 u32 f_min, f_max; in exynos_ufs_get_clk_info() local
288 f_max = ufs->pclk_avail_max; in exynos_ufs_get_clk_info()
294 if (pclk_rate <= f_max) in exynos_ufs_get_clk_info()
300 if (unlikely(pclk_rate < f_min || pclk_rate > f_max)) { in exynos_ufs_get_clk_info()
/drivers/net/wireless/rsi/
Drsi_91x_sdio.c309 if (clock > host->f_max) in rsi_reset_card()
310 clock = host->f_max; in rsi_reset_card()
346 if (clock > host->f_max) in rsi_setclock()
347 clock = host->f_max; in rsi_setclock()
/drivers/staging/greybus/
Dsdio.c155 mmc->f_max = le32_to_cpu(response.f_max); in gb_sdio_get_caps()

123