f_max 411 drivers/cpufreq/longhaul.c int f_max, f_min; f_max 414 drivers/cpufreq/longhaul.c f_max = ((speeds[i] * mult) + 50) / 100; f_max 415 drivers/cpufreq/longhaul.c f_max += (ROUNDING / 2); f_max 416 drivers/cpufreq/longhaul.c f_min = f_max - ROUNDING; f_max 417 drivers/cpufreq/longhaul.c if ((speed <= f_max) && (speed >= f_min)) f_max 426 drivers/media/tuners/mt2063.c u32 f_min, u32 f_max) f_max 435 drivers/media/tuners/mt2063.c if ((f_max > (pAS_Info->f_if1_Center - (pAS_Info->f_if1_bw / 2))) f_max 437 drivers/media/tuners/mt2063.c && (f_min < f_max)) { f_max 452 drivers/media/tuners/mt2063.c if ((pNode != NULL) && (pNode->min_ < f_max)) { f_max 456 drivers/media/tuners/mt2063.c if (f_max > pNode->max_) f_max 457 drivers/media/tuners/mt2063.c pNode->max_ = f_max; f_max 461 drivers/media/tuners/mt2063.c pNode->max_ = f_max; f_max 930 drivers/mmc/core/core.c if (hz > host->f_max) f_max 931 drivers/mmc/core/core.c hz = host->f_max; f_max 212 drivers/mmc/core/debugfs.c if (val != 0 && (val > host->f_max || val < host->f_min)) f_max 206 drivers/mmc/core/host.c device_property_read_u32(dev, "max-frequency", &host->f_max); f_max 1053 drivers/mmc/host/alcor.c mmc->f_max = AU6601_MAX_CLOCK; f_max 482 drivers/mmc/host/android-goldfish.c mmc->f_max = 24000000; f_max 2243 drivers/mmc/host/atmel-mci.c mmc->f_max = host->bus_hz / 2; f_max 997 drivers/mmc/host/au1xmmc.c mmc->f_max = 24000000; f_max 1018 drivers/mmc/host/au1xmmc.c mmc->f_max = 52000000; f_max 1272 drivers/mmc/host/bcm2835.c if (!mmc->f_max || mmc->f_max > host->max_clk) f_max 1273 drivers/mmc/host/bcm2835.c mmc->f_max = host->max_clk; f_max 1276 drivers/mmc/host/bcm2835.c mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); f_max 1279 drivers/mmc/host/bcm2835.c mmc->f_max, mmc->f_min, mmc->max_busy_timeout); f_max 910 drivers/mmc/host/cavium.c clock = min(clock, mmc->f_max); f_max 995 drivers/mmc/host/cavium.c if (!mmc->f_max) f_max 996 drivers/mmc/host/cavium.c of_property_read_u32(node, "spi-max-frequency", &mmc->f_max); f_max 997 drivers/mmc/host/cavium.c if (!mmc->f_max || mmc->f_max > 52000000) f_max 998 drivers/mmc/host/cavium.c mmc->f_max = 52000000; f_max 706 drivers/mmc/host/cb710-mmc.c mmc->f_max = val; f_max 1170 drivers/mmc/host/davinci_mmc.c mmc->f_max = 25000000; f_max 1172 drivers/mmc/host/davinci_mmc.c mmc->f_max = pdata->max_freq; f_max 2783 drivers/mmc/host/dw_mmc.c if (!mmc->f_max) f_max 2784 drivers/mmc/host/dw_mmc.c mmc->f_max = DW_MCI_FREQ_MAX; f_max 845 drivers/mmc/host/jz4740_mmc.c clk_set_rate(host->clk, host->mmc->f_max); f_max 987 drivers/mmc/host/jz4740_mmc.c if (!mmc->f_max) f_max 988 drivers/mmc/host/jz4740_mmc.c mmc->f_max = JZ_MMC_CLK_RATE; f_max 989 drivers/mmc/host/jz4740_mmc.c mmc->f_min = mmc->f_max / 128; f_max 561 drivers/mmc/host/meson-mx-sdio.c mmc->f_max = clk_round_rate(host->cfg_div_clk, f_max 1348 drivers/mmc/host/mmc_spi.c mmc->f_max = spi->max_speed_hz; f_max 1504 drivers/mmc/host/mmc_spi.c spi->max_speed_hz = mmc->f_max; f_max 61 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 80 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 99 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 121 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 147 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 175 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 208 drivers/mmc/host/mmci.c .f_max = 100000000, f_max 241 drivers/mmc/host/mmci.c .f_max = 48000000, f_max 250 drivers/mmc/host/mmci.c .f_max = 208000000, f_max 283 drivers/mmc/host/mmci.c .f_max = 208000000, f_max 1878 drivers/mmc/host/mmci.c if (host->mclk > variant->f_max) { f_max 1879 drivers/mmc/host/mmci.c ret = clk_set_rate(host->clk, variant->f_max); f_max 1917 drivers/mmc/host/mmci.c if (mmc->f_max) f_max 1918 drivers/mmc/host/mmci.c mmc->f_max = variant->explicit_mclk_control ? f_max 1919 drivers/mmc/host/mmci.c min(variant->f_max, mmc->f_max) : f_max 1920 drivers/mmc/host/mmci.c min(host->mclk, mmc->f_max); f_max 1922 drivers/mmc/host/mmci.c mmc->f_max = variant->explicit_mclk_control ? f_max 1926 drivers/mmc/host/mmci.c dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); f_max 332 drivers/mmc/host/mmci.h u32 f_max; f_max 617 drivers/mmc/host/moxart-mmc.c mmc->f_max = DIV_ROUND_CLOSEST(host->sysclk, 2); f_max 741 drivers/mmc/host/mvsdio.c mmc->f_max = MVSD_CLOCKRATE_MAX; f_max 755 drivers/mmc/host/mvsdio.c mmc->f_max = maxfreq; f_max 1116 drivers/mmc/host/mxcmmc.c mmc->f_max = clk_get_rate(host->clk_per) >> 1; f_max 643 drivers/mmc/host/mxs-mmc.c mmc->f_max = 288000000; f_max 1253 drivers/mmc/host/omap.c mmc->f_max = 48000000; f_max 1255 drivers/mmc/host/omap.c mmc->f_max = 24000000; f_max 1257 drivers/mmc/host/omap.c mmc->f_max = min(host->pdata->max_freq, mmc->f_max); f_max 1888 drivers/mmc/host/omap_hsmmc.c mmc->f_max = pdata->max_freq; f_max 1889 drivers/mmc/host/omap_hsmmc.c else if (mmc->f_max == 0) f_max 1890 drivers/mmc/host/omap_hsmmc.c mmc->f_max = OMAP_MMC_MAX_CLOCK; f_max 671 drivers/mmc/host/pxamci.c mmc->f_max = (mmc_has_26MHz()) ? 26000000 : host->clkrate; f_max 107 drivers/mmc/host/renesas_sdhi_core.c if (!mmc->f_max) f_max 108 drivers/mmc/host/renesas_sdhi_core.c mmc->f_max = clk_get_rate(priv->clk); f_max 807 drivers/mmc/host/renesas_sdhi_core.c taps[i].clk_rate == host->mmc->f_max) { f_max 856 drivers/mmc/host/renesas_sdhi_core.c host->mmc->f_max / 1000000); f_max 1346 drivers/mmc/host/rtsx_pci_sdmmc.c mmc->f_max = 208000000; f_max 1312 drivers/mmc/host/rtsx_usb_sdmmc.c mmc->f_max = 208000000; f_max 1669 drivers/mmc/host/s3cmci.c mmc->f_max = host->clk_rate / host->clk_div; f_max 240 drivers/mmc/host/sdhci-bcm-kona.c if (!host->mmc->f_max) { f_max 254 drivers/mmc/host/sdhci-bcm-kona.c ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max); f_max 84 drivers/mmc/host/sdhci-of-aspeed.c if (host->mmc->f_max) f_max 85 drivers/mmc/host/sdhci-of-aspeed.c return host->mmc->f_max; f_max 1079 drivers/mmc/host/sdhci-omap.c mmc->f_max = 96000000; f_max 1081 drivers/mmc/host/sdhci-omap.c mmc->f_max = 48000000; f_max 1083 drivers/mmc/host/sdhci-omap.c mmc->f_max = 48000000; f_max 1095 drivers/mmc/host/sdhci-omap.c ret = clk_set_rate(pltfm_host->clk, mmc->f_max); f_max 1097 drivers/mmc/host/sdhci-omap.c dev_err(dev, "failed to set clock to %d\n", mmc->f_max); f_max 772 drivers/mmc/host/sdhci-pci-core.c device_property_read_u32(dev, "max-frequency", &mmc->f_max); f_max 945 drivers/mmc/host/sdhci-pci-core.c slot->host->mmc->f_max = max_freq * 1000000; f_max 162 drivers/mmc/host/sdhci-st.c switch (mhost->f_max) { f_max 164 drivers/mmc/host/sdhci-st.c clk_set_rate(pltfm_host->clk, mhost->f_max); f_max 168 drivers/mmc/host/sdhci-st.c clk_set_rate(pltfm_host->clk, mhost->f_max); f_max 3918 drivers/mmc/host/sdhci.c if (!mmc->f_max || mmc->f_max > max_clk) f_max 3919 drivers/mmc/host/sdhci.c mmc->f_max = max_clk; f_max 426 drivers/mmc/host/sdricoh_cs.c mmc->f_max = 24000000; f_max 992 drivers/mmc/host/sh_mmcif.c if (host->mmc->f_max) { f_max 993 drivers/mmc/host/sh_mmcif.c unsigned int f_max, f_min = 0, f_min_old; f_max 995 drivers/mmc/host/sh_mmcif.c f_max = host->mmc->f_max; f_max 996 drivers/mmc/host/sh_mmcif.c for (f_min_old = f_max; f_min_old > 2;) { f_max 1008 drivers/mmc/host/sh_mmcif.c host->mmc->f_max = f_max / (1 << ffs(host->clkdiv_map)); f_max 1013 drivers/mmc/host/sh_mmcif.c host->mmc->f_max = clk / 2; f_max 1018 drivers/mmc/host/sh_mmcif.c host->mmc->f_max, host->mmc->f_min); f_max 1392 drivers/mmc/host/sunxi-mmc.c mmc->f_max = 52000000; f_max 972 drivers/mmc/host/tifm_sd.c mmc->f_max = 24000000; f_max 172 drivers/mmc/host/tmio_mmc.c host->mmc->f_max = pdata->hclk; f_max 643 drivers/mmc/host/toshsd.c mmc->f_max = HCLK; f_max 374 drivers/mmc/host/uniphier-sd.c if (!mmc->f_max) f_max 375 drivers/mmc/host/uniphier-sd.c mmc->f_max = priv->clk_rate; f_max 1855 drivers/mmc/host/usdhi6rol0.c if (!mmc->f_max) f_max 1856 drivers/mmc/host/usdhi6rol0.c mmc->f_max = host->imclk; f_max 451 drivers/mmc/host/ushc.c mmc->f_max = 50000000; f_max 1032 drivers/mmc/host/via-sdmmc.c mmc->f_max = VIA_CRDR_MAX_CLOCK; f_max 2142 drivers/mmc/host/vub300.c mmc->f_max = 24000000; f_max 2147 drivers/mmc/host/vub300.c mmc->f_max = 48000000; f_max 2299 drivers/mmc/host/vub300.c mmc->f_max / 1000000, f_max 1205 drivers/mmc/host/wbsd.c mmc->f_max = 24000000; f_max 177 drivers/mmc/host/wmt-sdmmc.c unsigned int f_max; f_max 735 drivers/mmc/host/wmt-sdmmc.c .f_max = 50000000, f_max 790 drivers/mmc/host/wmt-sdmmc.c mmc->f_max = wmt_caps->f_max; f_max 314 drivers/net/wireless/rsi/rsi_91x_sdio.c if (clock > host->f_max) f_max 315 drivers/net/wireless/rsi/rsi_91x_sdio.c clock = host->f_max; f_max 351 drivers/net/wireless/rsi/rsi_91x_sdio.c if (clock > host->f_max) f_max 352 drivers/net/wireless/rsi/rsi_91x_sdio.c clock = host->f_max; f_max 156 drivers/staging/greybus/sdio.c mmc->f_max = le32_to_cpu(response.f_max); f_max 299 drivers/staging/pi433/rf69.c u32 f_max; f_max 312 drivers/staging/pi433/rf69.c f_max = div_u64(f_step * 8388608, factor); f_max 313 drivers/staging/pi433/rf69.c if (frequency > f_max) { f_max 1431 include/linux/greybus/greybus_protocols.h __le32 f_max; f_max 278 include/linux/mmc/host.h unsigned int f_max; f_max 144 sound/soc/codecs/rl6231.c unsigned int f_in, f_out, f_max; f_max 169 sound/soc/codecs/rl6231.c f_max = 0xffffffff / RL6231_PLL_N_MAX; f_max 170 sound/soc/codecs/rl6231.c div = find_best_div(freq_in, f_max, div_t);