/linux-master/sound/soc/codecs/ |
H A D | rl6231.c | 148 unsigned int f_in, f_out, f_max; local 174 f_max = 0xffffffff / RL6231_PLL_N_MAX; 175 div = find_best_div(freq_in, f_max, div_t);
|
/linux-master/drivers/mmc/host/ |
H 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, 287 .f_max [all...] |
H A D | sdhci-bcm-kona.c | 229 if (!host->mmc->f_max) { 243 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max);
|
H A D | sdhci-st.c | 162 switch (mhost->f_max) { 164 clk_set_rate(pltfm_host->clk, mhost->f_max); 168 clk_set_rate(pltfm_host->clk, mhost->f_max);
|
H A D | cavium.c | 908 clock = min(clock, mmc->f_max); 993 if (!mmc->f_max) 994 of_property_read_u32(node, "spi-max-frequency", &mmc->f_max); 995 if (!mmc->f_max || mmc->f_max > 52000000) 996 mmc->f_max = 52000000;
|
H A D | sunplus-mmc.c | 235 int f_max = host->mmc->f_max; local 240 if (clk > f_max) 241 clk = f_max; 907 if (mmc->f_max > SPMMC_MAX_CLK) 908 mmc->f_max = SPMMC_MAX_CLK;
|
H A D | jz4740_mmc.c | 894 clk_set_rate(host->clk, host->mmc->f_max); 1084 if (!mmc->f_max) 1085 mmc->f_max = JZ_MMC_CLK_RATE; 1093 if (host->version == JZ_MMC_JZ4760 && mmc->f_max > JZ_MMC_CLK_RATE) 1094 mmc->f_max = JZ_MMC_CLK_RATE; 1096 mmc->f_min = mmc->f_max / 128;
|
H A D | sh_mmcif.c | 1035 if (host->mmc->f_max) { 1036 unsigned int f_max, f_min = 0, f_min_old; local 1038 f_max = host->mmc->f_max; 1039 for (f_min_old = f_max; f_min_old > 2;) { 1051 host->mmc->f_max = f_max >> ffs(host->clkdiv_map); 1056 host->mmc->f_max = clk / 2; 1061 host->mmc->f_max, host->mmc->f_min);
|
H A D | wmt-sdmmc.c | 176 unsigned int f_max; member in struct:wmt_mci_caps 734 .f_max = 50000000, 786 mmc->f_max = wmt_caps->f_max;
|
H A D | renesas_sdhi_core.c | 106 * property which will already have been read to f_max. If it 109 if (!mmc->f_max) 110 mmc->f_max = clk_get_rate(priv->clk); 1088 taps[i].clk_rate == host->mmc->f_max) { 1140 mmc_hostname(host->mmc), &res->start, host->mmc->f_max / 1000000);
|
H A D | bcm2835.c | 1264 if (!mmc->f_max || mmc->f_max > host->max_clk) 1265 mmc->f_max = host->max_clk; 1268 mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); 1270 dev_dbg(dev, "f_max %d, f_min %d, max_busy_timeout %d\n", 1271 mmc->f_max, mmc->f_min, mmc->max_busy_timeout);
|
H A D | sdhci-omap.c | 1266 mmc->f_max = 96000000; 1268 mmc->f_max = 48000000; 1270 mmc->f_max = 48000000; 1282 ret = clk_set_rate(pltfm_host->clk, mmc->f_max); 1284 dev_err(dev, "failed to set clock to %d\n", mmc->f_max);
|
H A D | uniphier-sd.c | 380 if (!mmc->f_max) 381 mmc->f_max = priv->clk_rate;
|
H A D | sdhci-of-aspeed.c | 290 if (host->mmc->f_max) 291 return host->mmc->f_max;
|
H A D | mmci.h | 311 * @f_max: maximum clk frequency supported by the controller. 363 u32 f_max; member in struct:variant_data
|
H A D | sdricoh_cs.c | 423 mmc->f_max = 24000000;
|
H A D | omap.c | 1298 mmc->f_max = 48000000; 1300 mmc->f_max = 24000000; 1302 mmc->f_max = min(host->pdata->max_freq, mmc->f_max);
|
/linux-master/drivers/cpufreq/ |
H A D | longhaul.c | 411 int f_max, f_min; local 414 f_max = ((speeds[i] * mult) + 50) / 100; 415 f_max += (ROUNDING / 2); 416 f_min = f_max - ROUNDING; 417 if ((speed <= f_max) && (speed >= f_min))
|
/linux-master/drivers/mmc/core/ |
H A D | debugfs.c | 216 if (val != 0 && (val > host->f_max || val < host->f_min))
|
H A D | core.c | 918 if (hz > host->f_max) 919 hz = host->f_max; 2254 if (freq > host->f_max) { 2257 freq = host->f_max; 2284 host->f_init = max(min(freqs[0], host->f_max), host->f_min);
|
/linux-master/drivers/media/tuners/ |
H A D | mt2063.c | 421 * If the range (f_min, f_max) is totally outside the 423 * If the range (f_min, f_max) is negative, ignore the entry. 426 u32 f_min, u32 f_max) 435 if ((f_max > (pAS_Info->f_if1_Center - (pAS_Info->f_if1_bw / 2))) 437 && (f_min < f_max)) { 452 if ((pNode != NULL) && (pNode->min_ < f_max)) { 456 if (f_max > pNode->max_) 457 pNode->max_ = f_max; 461 pNode->max_ = f_max; 425 MT2063_AddExclZone(struct MT2063_AvoidSpursData_t *pAS_Info, u32 f_min, u32 f_max) argument
|
/linux-master/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio.c | 308 if (clock > host->f_max) 309 clock = host->f_max; 344 if (clock > host->f_max) 345 clock = host->f_max;
|
/linux-master/drivers/ufs/host/ |
H A D | ufs-exynos.c | 427 u32 f_min, f_max; local 452 f_max = ufs->pclk_avail_max; 458 if (pclk_rate <= f_max) 464 if (unlikely(pclk_rate < f_min || pclk_rate > f_max)) {
|
/linux-master/include/linux/mmc/ |
H A D | host.h | 327 unsigned int f_max; member in struct:mmc_host
|
/linux-master/drivers/staging/greybus/ |
H A D | sdio.c | 154 mmc->f_max = le32_to_cpu(response.f_max);
|