/drivers/mmc/host/ |
D | mmci.c | 63 .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 …]
|
D | sdhci-bcm-kona.c | 240 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()
|
D | sh_mmcif.c | 996 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()
|
D | cavium.c | 910 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()
|
D | sdhci-st.c | 162 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()
|
D | jz4740_mmc.c | 878 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()
|
D | sdhci-of-aspeed.c | 84 if (host->mmc->f_max) in aspeed_sdhci_get_max_clock() 85 return host->mmc->f_max; in aspeed_sdhci_get_max_clock()
|
D | wmt-sdmmc.c | 177 unsigned int f_max; member 735 .f_max = 50000000, 790 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
|
D | sdhci-omap.c | 1143 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()
|
D | renesas_sdhi_core.c | 101 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()
|
D | bcm2835.c | 1272 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()
|
D | tmio_mmc.c | 164 host->mmc->f_max = pdata->hclk; in tmio_mmc_probe()
|
D | uniphier-sd.c | 373 if (!mmc->f_max) in uniphier_sd_clk_enable() 374 mmc->f_max = priv->clk_rate; in uniphier_sd_clk_enable()
|
D | omap.c | 1253 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()
|
D | mmci.h | 345 u32 f_max; member
|
D | mvsdio.c | 739 mmc->f_max = MVSD_CLOCKRATE_MAX; in mvsd_probe() 753 mmc->f_max = maxfreq; in mvsd_probe()
|
D | mmc_spi.c | 1227 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/ |
D | longhaul.c | 411 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/ |
D | mt2063.c | 426 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/ |
D | rf69.c | 299 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/ |
D | debugfs.c | 212 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
|
D | core.c | 919 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/ |
D | ufs-exynos.c | 263 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/ |
D | rsi_91x_sdio.c | 309 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/ |
D | sdio.c | 155 mmc->f_max = le32_to_cpu(response.f_max); in gb_sdio_get_caps()
|