Searched refs:f_max (Results 1 - 25 of 58) sorted by relevance

123

/linux-master/sound/soc/codecs/
H A Drl6231.c148 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 Dmmci.c65 .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 Dsdhci-bcm-kona.c229 if (!host->mmc->f_max) {
243 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max);
H A Dsdhci-st.c162 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 Dcavium.c908 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 Dsunplus-mmc.c235 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 Djz4740_mmc.c894 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 Dsh_mmcif.c1035 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 Dwmt-sdmmc.c176 unsigned int f_max; member in struct:wmt_mci_caps
734 .f_max = 50000000,
786 mmc->f_max = wmt_caps->f_max;
H A Drenesas_sdhi_core.c106 * 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 Dbcm2835.c1264 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 Dsdhci-omap.c1266 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 Duniphier-sd.c380 if (!mmc->f_max)
381 mmc->f_max = priv->clk_rate;
H A Dsdhci-of-aspeed.c290 if (host->mmc->f_max)
291 return host->mmc->f_max;
H A Dmmci.h311 * @f_max: maximum clk frequency supported by the controller.
363 u32 f_max; member in struct:variant_data
H A Dsdricoh_cs.c423 mmc->f_max = 24000000;
H A Domap.c1298 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 Dlonghaul.c411 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 Ddebugfs.c216 if (val != 0 && (val > host->f_max || val < host->f_min))
H A Dcore.c918 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 Dmt2063.c421 * 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 Drsi_91x_sdio.c308 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 Dufs-exynos.c427 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 Dhost.h327 unsigned int f_max; member in struct:mmc_host
/linux-master/drivers/staging/greybus/
H A Dsdio.c154 mmc->f_max = le32_to_cpu(response.f_max);

Completed in 251 milliseconds

123