Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mmc/host/
Dmmci.c98 u32 f_max; member
114 .f_max = 100000000,
123 .f_max = 100000000,
132 .f_max = 100000000,
144 .f_max = 100000000,
159 .f_max = 100000000,
177 .f_max = 100000000,
198 .f_max = 100000000,
217 .f_max = 208000000,
1570 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 if (clk_set_rate(pltfm_priv->clk, host->mmc->f_max) != 0) { in sdhci_bcm_kona_probe()
Dsdhci-st.c170 switch (mhost->f_max) { in st_mmcss_cconfig()
172 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
176 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
Dsh_mmcif.c1038 if (host->mmc->f_max) { in sh_mmcif_clk_setup()
1039 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local
1041 f_max = host->mmc->f_max; in sh_mmcif_clk_setup()
1042 for (f_min_old = f_max; f_min_old > 2;) { in sh_mmcif_clk_setup()
1054 host->mmc->f_max = f_max / (1 << ffs(host->clkdiv_map)); in sh_mmcif_clk_setup()
1059 host->mmc->f_max = clk / 2; in sh_mmcif_clk_setup()
1064 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
Dwmt-sdmmc.c180 unsigned int f_max; member
738 .f_max = 50000000,
793 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
Dtmio_mmc_pio.c845 ret = host->clk_enable(host->pdev, &mmc->f_max); in tmio_mmc_clk_update()
847 mmc->f_min = mmc->f_max / 512; in tmio_mmc_clk_update()
1136 mmc->f_max = pdata->hclk; in tmio_mmc_host_probe()
1137 mmc->f_min = mmc->f_max / 512; in tmio_mmc_host_probe()
Dbfin_sdh.c558 mmc->f_max = get_sclk(); in sdh_probe()
559 mmc->f_min = mmc->f_max >> 9; in sdh_probe()
Dsh_mobile_sdhi.c350 host->mmc->f_max / 1000000); in sh_mobile_sdhi_probe()
Domap.c1248 mmc->f_max = 48000000; in mmc_omap_new_slot()
1250 mmc->f_max = 24000000; in mmc_omap_new_slot()
1252 mmc->f_max = min(host->pdata->max_freq, mmc->f_max); in mmc_omap_new_slot()
Dmvsdio.c738 mmc->f_max = MVSD_CLOCKRATE_MAX; in mvsd_probe()
787 mmc->f_max = maxfreq; in mvsd_probe()
Dsdricoh_cs.c443 mmc->f_max = 24000000; in sdricoh_init_mmc()
Dandroid-goldfish.c498 mmc->f_max = 24000000; in goldfish_mmc_probe()
Dushc.c452 mmc->f_max = 50000000; in ushc_probe()
Dmmc_spi.c1359 mmc->f_max = spi->max_speed_hz; in mmc_spi_probe()
1508 spi->max_speed_hz = mmc->f_max; in mmc_spi_remove()
Dau1xmmc.c995 mmc->f_max = 24000000; in au1xmmc_probe()
1016 mmc->f_max = 52000000; in au1xmmc_probe()
Ddavinci_mmc.c1322 mmc->f_max = 25000000; in davinci_mmcsd_probe()
1324 mmc->f_max = pdata->max_freq; in davinci_mmcsd_probe()
Dtoshsd.c646 mmc->f_max = HCLK; in toshsd_probe()
Dsdhci.c3089 if (!mmc->f_max || (mmc->f_max && (mmc->f_max > max_clk))) in sdhci_add_host()
3090 mmc->f_max = max_clk; in sdhci_add_host()
Domap_hsmmc.c2076 mmc->f_max = pdata->max_freq; in omap_hsmmc_probe()
2077 else if (mmc->f_max == 0) in omap_hsmmc_probe()
2078 mmc->f_max = OMAP_MMC_MAX_CLOCK; in omap_hsmmc_probe()
Dmxs-mmc.c648 mmc->f_max = 288000000; in mxs_mmc_probe()
Dmoxart-mmc.c618 mmc->f_max = DIV_ROUND_CLOSEST(host->sysclk, 2); in moxart_probe()
Dcb710-mmc.c707 mmc->f_max = val; in cb710_mmc_init()
Dvub300.c2150 mmc->f_max = 24000000; in vub300_probe()
2155 mmc->f_max = 48000000; in vub300_probe()
2307 mmc->f_max / 1000000, in vub300_probe()
Dpxamci.c711 mmc->f_max = (mmc_has_26MHz()) ? 26000000 : host->clkrate; in pxamci_probe()
Dusdhi6rol0.c1803 if (!mmc->f_max) in usdhi6_probe()
1804 mmc->f_max = host->imclk; in usdhi6_probe()
Djz4740_mmc.c1045 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe()
Dsunxi-mmc.c1065 mmc->f_max = 50000000; in sunxi_mmc_probe()
Dmxcmmc.c1118 mmc->f_max = clk_get_rate(host->clk_per) >> 1; in mxcmci_probe()
Dtifm_sd.c977 mmc->f_max = 24000000; in tifm_sd_probe()
Dvia-sdmmc.c1045 mmc->f_max = VIA_CRDR_MAX_CLOCK; in via_init_mmc_host()
Dwbsd.c1220 mmc->f_max = 24000000; in wbsd_alloc_mmc()
Drtsx_usb_sdmmc.c1333 mmc->f_max = 208000000; in rtsx_usb_init_host()
Drtsx_pci_sdmmc.c1359 mmc->f_max = 208000000; in realtek_init_host()
Ddw_mmc.c2547 mmc->f_max = DW_MCI_FREQ_MAX; in dw_mci_init_slot()
2550 mmc->f_max = freq[1]; in dw_mci_init_slot()
Ds3cmci.c1727 mmc->f_max = host->clk_rate / host->clk_div; in s3cmci_probe()
Datmel-mci.c2176 mmc->f_max = host->bus_hz / 2; in atmci_init_slot()
/linux-4.4.14/drivers/cpufreq/
Dlonghaul.c414 int f_max, f_min; in guess_fsb() local
417 f_max = ((speeds[i] * mult) + 50) / 100; in guess_fsb()
418 f_max += (ROUNDING / 2); in guess_fsb()
419 f_min = f_max - ROUNDING; in guess_fsb()
420 if ((speed <= f_max) && (speed >= f_min)) in guess_fsb()
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_sdio.c309 if (clock > host->f_max) in rsi_reset_card()
310 clock = host->f_max; in rsi_reset_card()
346 if (clock > host->f_max) in rsi_setclock()
347 clock = host->f_max; in rsi_setclock()
/linux-4.4.14/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-4.4.14/drivers/mmc/core/
Ddebugfs.c223 if (val > host->f_max) in mmc_clock_opt_set()
Dhost.c193 of_property_read_u32(np, "max-frequency", &host->f_max); in mmc_of_parse()
Dcore.c1064 if (hz > host->f_max) in mmc_set_clock()
1065 hz = host->f_max; in mmc_set_clock()
/linux-4.4.14/include/linux/mmc/
Dhost.h209 unsigned int f_max; member