| /drivers/mmc/host/ |
| A D | mmci.c | 65 .f_max = 100000000, 84 .f_max = 100000000, 103 .f_max = 100000000, 125 .f_max = 100000000, 151 .f_max = 100000000, 181 .f_max = 100000000, 216 .f_max = 100000000, 249 .f_max = 48000000, 259 .f_max = 208000000, 2320 if (mmc->f_max) in mmci_probe() [all …]
|
| A D | sh_mmcif.c | 1036 if (host->mmc->f_max) { in sh_mmcif_clk_setup() 1037 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local 1039 f_max = host->mmc->f_max; in sh_mmcif_clk_setup() 1040 for (f_min_old = f_max; f_min_old > 2;) { in sh_mmcif_clk_setup() 1052 host->mmc->f_max = f_max >> ffs(host->clkdiv_map); in sh_mmcif_clk_setup() 1057 host->mmc->f_max = clk / 2; in sh_mmcif_clk_setup() 1062 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
|
| A 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()
|
| A D | cavium.c | 908 clock = min(clock, mmc->f_max); in cvm_mmc_set_clock() 993 if (!mmc->f_max) in cvm_mmc_of_parse() 994 of_property_read_u32(node, "spi-max-frequency", &mmc->f_max); in cvm_mmc_of_parse() 995 if (!mmc->f_max || mmc->f_max > 52000000) in cvm_mmc_of_parse() 996 mmc->f_max = 52000000; in cvm_mmc_of_parse()
|
| A D | sdhci-bcm-kona.c | 229 if (!host->mmc->f_max) { in sdhci_bcm_kona_probe() 243 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max); in sdhci_bcm_kona_probe()
|
| A D | jz4740_mmc.c | 895 clk_set_rate(host->clk, host->mmc->f_max); in jz4740_mmc_set_clock_rate() 1078 if (!mmc->f_max) in jz4740_mmc_probe() 1079 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe() 1087 if (host->version == JZ_MMC_JZ4760 && mmc->f_max > JZ_MMC_CLK_RATE) in jz4740_mmc_probe() 1088 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe() 1090 mmc->f_min = mmc->f_max / 128; in jz4740_mmc_probe()
|
| A D | sunplus-mmc.c | 235 int f_max = host->mmc->f_max; in spmmc_set_bus_clk() local 240 if (clk > f_max) in spmmc_set_bus_clk() 241 clk = f_max; in spmmc_set_bus_clk() 907 if (mmc->f_max > SPMMC_MAX_CLK) in spmmc_drv_probe() 908 mmc->f_max = SPMMC_MAX_CLK; in spmmc_drv_probe()
|
| A D | wmt-sdmmc.c | 176 unsigned int f_max; member 734 .f_max = 50000000, 786 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
|
| A D | sdhci-omap.c | 1266 mmc->f_max = 96000000; in sdhci_omap_probe() 1268 mmc->f_max = 48000000; in sdhci_omap_probe() 1270 mmc->f_max = 48000000; in sdhci_omap_probe() 1280 ret = clk_set_rate(pltfm_host->clk, mmc->f_max); in sdhci_omap_probe() 1283 "failed to set clock to %d\n", mmc->f_max); in sdhci_omap_probe()
|
| A D | bcm2835.c | 1266 if (!mmc->f_max || mmc->f_max > host->max_clk) in bcm2835_add_host() 1267 mmc->f_max = host->max_clk; in bcm2835_add_host() 1270 mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); in bcm2835_add_host() 1273 mmc->f_max, mmc->f_min, mmc->max_busy_timeout); in bcm2835_add_host()
|
| A D | renesas_sdhi_core.c | 111 if (!mmc->f_max) in renesas_sdhi_clk_enable() 112 mmc->f_max = clk_get_rate(priv->clk); in renesas_sdhi_clk_enable() 1248 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe() 1297 mmc_hostname(host->mmc), &res->start, host->mmc->f_max / 1000000); in renesas_sdhi_probe()
|
| A D | sdhci-of-aspeed.c | 290 if (host->mmc->f_max) in aspeed_sdhci_get_max_clock() 291 return host->mmc->f_max; in aspeed_sdhci_get_max_clock()
|
| A D | uniphier-sd.c | 380 if (!mmc->f_max) in uniphier_sd_clk_enable() 381 mmc->f_max = priv->clk_rate; in uniphier_sd_clk_enable()
|
| A D | omap.c | 1302 mmc->f_max = 48000000; in mmc_omap_new_slot() 1304 mmc->f_max = 24000000; in mmc_omap_new_slot() 1306 mmc->f_max = min(host->pdata->max_freq, mmc->f_max); in mmc_omap_new_slot()
|
| A D | mmci.h | 363 u32 f_max; member
|
| A D | mvsdio.c | 735 mmc->f_max = MVSD_CLOCKRATE_MAX; in mvsd_probe() 749 mmc->f_max = maxfreq; in mvsd_probe()
|
| A D | mmc_spi.c | 1212 mmc->f_max = spi->max_speed_hz; in mmc_spi_probe() 1328 spi->max_speed_hz = mmc->f_max; in mmc_spi_remove()
|
| A D | sdricoh_cs.c | 423 mmc->f_max = 24000000; in sdricoh_init_mmc()
|
| /drivers/cpufreq/ |
| A D | longhaul.c | 412 int f_max, f_min; in guess_fsb() local 415 f_max = ((speeds[i] * mult) + 50) / 100; in guess_fsb() 416 f_max += (ROUNDING / 2); in guess_fsb() 417 f_min = f_max - ROUNDING; in guess_fsb() 418 if ((speed <= f_max) && (speed >= f_min)) in guess_fsb()
|
| /drivers/media/tuners/ |
| A 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/net/wireless/rsi/ |
| A D | rsi_91x_sdio.c | 308 if (clock > host->f_max) in rsi_reset_card() 309 clock = host->f_max; in rsi_reset_card() 344 if (clock > host->f_max) in rsi_setclock() 345 clock = host->f_max; in rsi_setclock()
|
| /drivers/mmc/core/ |
| A D | core.c | 923 if (hz > host->f_max) in mmc_set_clock() 924 hz = host->f_max; in mmc_set_clock() 2278 if (freq > host->f_max) { in mmc_rescan() 2281 freq = host->f_max; in mmc_rescan() 2311 host->f_init = max(min(freqs[0], host->f_max), host->f_min); in mmc_start_host()
|
| A D | debugfs.c | 216 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
|
| /drivers/staging/greybus/ |
| A D | sdio.c | 154 mmc->f_max = le32_to_cpu(response.f_max); in gb_sdio_get_caps()
|
| /drivers/ufs/host/ |
| A D | ufs-exynos.c | 456 u32 f_min, f_max; in exynos_ufs_get_clk_info() local 481 f_max = ufs->pclk_avail_max; in exynos_ufs_get_clk_info() 487 if (pclk_rate <= f_max) in exynos_ufs_get_clk_info() 493 if (unlikely(pclk_rate < f_min || pclk_rate > f_max)) { in exynos_ufs_get_clk_info()
|