Home
last modified time | relevance | path

Searched refs:f_max (Results 1 – 25 of 55) sorted by relevance

123

/Linux-v5.4/sound/soc/codecs/
Drl6231.c144 unsigned int f_in, f_out, f_max; in rl6231_pll_calc() local
169 f_max = 0xffffffff / RL6231_PLL_N_MAX; in rl6231_pll_calc()
170 div = find_best_div(freq_in, f_max, div_t); in rl6231_pll_calc()
/Linux-v5.4/drivers/mmc/host/
Dmmci.c61 .f_max = 100000000,
80 .f_max = 100000000,
99 .f_max = 100000000,
121 .f_max = 100000000,
147 .f_max = 100000000,
175 .f_max = 100000000,
208 .f_max = 100000000,
241 .f_max = 48000000,
250 .f_max = 208000000,
283 .f_max = 208000000,
[all …]
Dsdhci-bcm-kona.c240 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()
Dsdhci-st.c162 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()
Dsh_mmcif.c992 if (host->mmc->f_max) { in sh_mmcif_clk_setup()
993 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local
995 f_max = host->mmc->f_max; in sh_mmcif_clk_setup()
996 for (f_min_old = f_max; f_min_old > 2;) { in sh_mmcif_clk_setup()
1008 host->mmc->f_max = f_max / (1 << ffs(host->clkdiv_map)); in sh_mmcif_clk_setup()
1013 host->mmc->f_max = clk / 2; in sh_mmcif_clk_setup()
1018 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
Dcavium.c910 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()
Dsdhci-of-aspeed.c84 if (host->mmc->f_max) in aspeed_sdhci_get_max_clock()
85 return host->mmc->f_max; in aspeed_sdhci_get_max_clock()
Drenesas_sdhi_core.c107 if (!mmc->f_max) in renesas_sdhi_clk_enable()
108 mmc->f_max = clk_get_rate(priv->clk); in renesas_sdhi_clk_enable()
807 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe()
856 host->mmc->f_max / 1000000); in renesas_sdhi_probe()
Dsdhci-omap.c1079 mmc->f_max = 96000000; in sdhci_omap_probe()
1081 mmc->f_max = 48000000; in sdhci_omap_probe()
1083 mmc->f_max = 48000000; in sdhci_omap_probe()
1095 ret = clk_set_rate(pltfm_host->clk, mmc->f_max); in sdhci_omap_probe()
1097 dev_err(dev, "failed to set clock to %d\n", mmc->f_max); in sdhci_omap_probe()
Dwmt-sdmmc.c177 unsigned int f_max; member
735 .f_max = 50000000,
790 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
Djz4740_mmc.c845 clk_set_rate(host->clk, host->mmc->f_max); in jz4740_mmc_set_clock_rate()
987 if (!mmc->f_max) in jz4740_mmc_probe()
988 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe()
989 mmc->f_min = mmc->f_max / 128; in jz4740_mmc_probe()
Dbcm2835.c1272 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()
Dtmio_mmc.c172 host->mmc->f_max = pdata->hclk; in tmio_mmc_probe()
Duniphier-sd.c374 if (!mmc->f_max) in uniphier_sd_clk_enable()
375 mmc->f_max = priv->clk_rate; in uniphier_sd_clk_enable()
Domap.c1253 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()
Dmmci.h332 u32 f_max; member
Dmvsdio.c741 mmc->f_max = MVSD_CLOCKRATE_MAX; in mvsd_probe()
755 mmc->f_max = maxfreq; in mvsd_probe()
/Linux-v5.4/drivers/cpufreq/
Dlonghaul.c411 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()
/Linux-v5.4/drivers/staging/pi433/
Drf69.c299 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()
/Linux-v5.4/drivers/media/tuners/
Dmt2063.c426 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()
/Linux-v5.4/drivers/mmc/core/
Ddebugfs.c212 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
Dhost.c207 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
/Linux-v5.4/drivers/net/wireless/rsi/
Drsi_91x_sdio.c314 if (clock > host->f_max) in rsi_reset_card()
315 clock = host->f_max; in rsi_reset_card()
351 if (clock > host->f_max) in rsi_setclock()
352 clock = host->f_max; in rsi_setclock()
/Linux-v5.4/include/linux/mmc/
Dhost.h278 unsigned int f_max; member
/Linux-v5.4/drivers/staging/greybus/
Dsdio.c156 mmc->f_max = le32_to_cpu(response.f_max); in gb_sdio_get_caps()

123