Home
last modified time | relevance | path

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

123

/Linux-v4.19/sound/soc/codecs/
Drl6231.c147 unsigned int f_in, f_out, f_max; in rl6231_pll_calc() local
172 f_max = 0xffffffff / RL6231_PLL_N_MAX; in rl6231_pll_calc()
173 div = find_best_div(freq_in, f_max, div_t); in rl6231_pll_calc()
/Linux-v4.19/drivers/mmc/host/
Dmmci.c56 .f_max = 100000000,
68 .f_max = 100000000,
80 .f_max = 100000000,
95 .f_max = 100000000,
114 .f_max = 100000000,
135 .f_max = 100000000,
162 .f_max = 100000000,
187 .f_max = 48000000,
204 .f_max = 208000000,
1620 if (host->mclk > variant->f_max) { in mmci_probe()
[all …]
Dsdhci-bcm-kona.c242 if (!host->mmc->f_max) { in sdhci_bcm_kona_probe()
256 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max); in sdhci_bcm_kona_probe()
Dsdhci-st.c171 switch (mhost->f_max) { in st_mmcss_cconfig()
173 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
177 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
Dsh_mmcif.c995 if (host->mmc->f_max) { in sh_mmcif_clk_setup()
996 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local
998 f_max = host->mmc->f_max; in sh_mmcif_clk_setup()
999 for (f_min_old = f_max; f_min_old > 2;) { in sh_mmcif_clk_setup()
1011 host->mmc->f_max = f_max / (1 << ffs(host->clkdiv_map)); in sh_mmcif_clk_setup()
1016 host->mmc->f_max = clk / 2; in sh_mmcif_clk_setup()
1021 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
Drenesas_sdhi_core.c104 if (!mmc->f_max) in renesas_sdhi_clk_enable()
105 mmc->f_max = clk_get_rate(priv->clk); in renesas_sdhi_clk_enable()
694 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe()
737 host->mmc->f_max / 1000000); in renesas_sdhi_probe()
Dcavium.c909 clock = min(clock, mmc->f_max); in cvm_mmc_set_clock()
994 if (!mmc->f_max) in cvm_mmc_of_parse()
995 of_property_read_u32(node, "spi-max-frequency", &mmc->f_max); in cvm_mmc_of_parse()
996 if (!mmc->f_max || mmc->f_max > 52000000) in cvm_mmc_of_parse()
997 mmc->f_max = 52000000; in cvm_mmc_of_parse()
Dsdhci-omap.c938 mmc->f_max = 96000000; in sdhci_omap_probe()
940 mmc->f_max = 48000000; in sdhci_omap_probe()
942 mmc->f_max = 48000000; in sdhci_omap_probe()
951 ret = clk_set_rate(pltfm_host->clk, mmc->f_max); in sdhci_omap_probe()
953 dev_err(dev, "failed to set clock to %d\n", mmc->f_max); in sdhci_omap_probe()
Dtmio_mmc.c104 host->mmc->f_max = pdata->hclk; in tmio_mmc_probe()
Dwmt-sdmmc.c181 unsigned int f_max; member
739 .f_max = 50000000,
794 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
Djz4740_mmc.c869 clk_set_rate(host->clk, host->mmc->f_max); in jz4740_mmc_set_clock_rate()
1083 if (!mmc->f_max) in jz4740_mmc_probe()
1084 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe()
1085 mmc->f_min = mmc->f_max / 128; in jz4740_mmc_probe()
Dbcm2835.c1268 if (!mmc->f_max || mmc->f_max > host->max_clk) in bcm2835_add_host()
1269 mmc->f_max = host->max_clk; in bcm2835_add_host()
1272 mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); in bcm2835_add_host()
1275 mmc->f_max, mmc->f_min, mmc->max_busy_timeout); in bcm2835_add_host()
Dmmci.h256 u32 f_max; member
Domap.c1249 mmc->f_max = 48000000; in mmc_omap_new_slot()
1251 mmc->f_max = 24000000; in mmc_omap_new_slot()
1253 mmc->f_max = min(host->pdata->max_freq, mmc->f_max); in mmc_omap_new_slot()
Dmvsdio.c744 mmc->f_max = MVSD_CLOCKRATE_MAX; in mvsd_probe()
758 mmc->f_max = maxfreq; in mvsd_probe()
Dandroid-goldfish.c486 mmc->f_max = 24000000; in goldfish_mmc_probe()
Dsdricoh_cs.c440 mmc->f_max = 24000000; in sdricoh_init_mmc()
/Linux-v4.19/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-v4.19/drivers/staging/pi433/
Drf69.c309 u32 f_max; in rf69_set_frequency() local
322 f_max = div_u64(f_step * 8388608, factor); in rf69_set_frequency()
323 if (frequency > f_max) { in rf69_set_frequency()
/Linux-v4.19/drivers/media/tuners/
Dmt2063.c435 u32 f_min, u32 f_max) in MT2063_AddExclZone() argument
444 if ((f_max > (pAS_Info->f_if1_Center - (pAS_Info->f_if1_bw / 2))) in MT2063_AddExclZone()
446 && (f_min < f_max)) { in MT2063_AddExclZone()
461 if ((pNode != NULL) && (pNode->min_ < f_max)) { in MT2063_AddExclZone()
465 if (f_max > pNode->max_) in MT2063_AddExclZone()
466 pNode->max_ = f_max; in MT2063_AddExclZone()
470 pNode->max_ = f_max; in MT2063_AddExclZone()
/Linux-v4.19/drivers/mmc/core/
Ddebugfs.c215 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
Dhost.c210 device_property_read_u32(dev, "max-frequency", &host->f_max); in mmc_of_parse()
/Linux-v4.19/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-v4.19/include/linux/mmc/
Dhost.h277 unsigned int f_max; member
/Linux-v4.19/drivers/staging/greybus/
Dsdio.c156 mmc->f_max = le32_to_cpu(response.f_max); in gb_sdio_get_caps()

123