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

/linux-4.1.27/include/linux/platform_data/
H A Dmmc-esdhc-imx.h46 unsigned int f_max; member in struct:esdhc_platform_data
/linux-4.1.27/drivers/mmc/host/
H A Dmmci.c72 * @f_max: maximum clk frequency supported by the controller.
98 u32 f_max; member in struct:variant_data
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) { mmci_probe()
1571 ret = clk_set_rate(host->clk, variant->f_max); mmci_probe()
1604 if (mmc->f_max) mmci_probe()
1605 mmc->f_max = variant->explicit_mclk_control ? mmci_probe()
1606 min(variant->f_max, mmc->f_max) : mmci_probe()
1607 min(host->mclk, mmc->f_max); mmci_probe()
1609 mmc->f_max = variant->explicit_mclk_control ? mmci_probe()
1613 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); mmci_probe()
H A Dsdhci-st.c170 switch (mhost->f_max) { st_mmcss_cconfig()
172 clk_set_rate(pltfm_host->clk, mhost->f_max); st_mmcss_cconfig()
176 clk_set_rate(pltfm_host->clk, mhost->f_max); st_mmcss_cconfig()
H A Dsdhci-bcm-kona.c242 if (!host->mmc->f_max) { sdhci_bcm_kona_probe()
256 if (clk_set_rate(pltfm_priv->clk, host->mmc->f_max) != 0) { sdhci_bcm_kona_probe()
H A Dwmt-sdmmc.c180 unsigned int f_max; member in struct:wmt_mci_caps
738 .f_max = 50000000,
793 mmc->f_max = wmt_caps->f_max; wmt_mci_probe()
H A Dbfin_sdh.c558 mmc->f_max = get_sclk(); sdh_probe()
559 mmc->f_min = mmc->f_max >> 9; sdh_probe()
H A Domap.c1247 mmc->f_max = 48000000; mmc_omap_new_slot()
1249 mmc->f_max = 24000000; mmc_omap_new_slot()
1251 mmc->f_max = min(host->pdata->max_freq, mmc->f_max); mmc_omap_new_slot()
H A Dsdhci-esdhc-imx.c574 if (boarddata->f_max && (boarddata->f_max < pltfm_host->clock)) esdhc_pltfm_get_max_clock()
575 return boarddata->f_max; esdhc_pltfm_get_max_clock()
895 of_property_read_u32(np, "max-frequency", &boarddata->f_max); sdhci_esdhc_imx_probe_dt()
H A Dsh_mobile_sdhi.c350 host->mmc->f_max / 1000000); sh_mobile_sdhi_probe()
H A Dtmio_mmc_pio.c843 ret = host->clk_enable(host->pdev, &mmc->f_max); tmio_mmc_clk_update()
845 mmc->f_min = mmc->f_max / 512; tmio_mmc_clk_update()
1133 mmc->f_max = pdata->hclk; tmio_mmc_host_probe()
1134 mmc->f_min = mmc->f_max / 512; tmio_mmc_host_probe()
H A Dmvsdio.c738 mmc->f_max = MVSD_CLOCKRATE_MAX; mvsd_probe()
787 mmc->f_max = maxfreq; mvsd_probe()
H A Dandroid-goldfish.c498 mmc->f_max = 24000000; goldfish_mmc_probe()
H A Dmoxart-mmc.c618 mmc->f_max = DIV_ROUND_CLOSEST(host->sysclk, 2); moxart_probe()
H A Dsdricoh_cs.c443 mmc->f_max = 24000000; sdricoh_init_mmc()
H A Dtoshsd.c646 mmc->f_max = HCLK; toshsd_probe()
H A Dushc.c452 mmc->f_max = 50000000; ushc_probe()
H A Dau1xmmc.c995 mmc->f_max = 24000000; au1xmmc_probe()
1016 mmc->f_max = 52000000; au1xmmc_probe()
H A Ddavinci_mmc.c1322 mmc->f_max = 25000000; davinci_mmcsd_probe()
1324 mmc->f_max = pdata->max_freq; davinci_mmcsd_probe()
H A Domap_hsmmc.c1992 mmc->f_max = pdata->max_freq; omap_hsmmc_probe()
1993 else if (mmc->f_max == 0) omap_hsmmc_probe()
1994 mmc->f_max = OMAP_MMC_MAX_CLOCK; omap_hsmmc_probe()
H A Dvub300.c2150 mmc->f_max = 24000000; vub300_probe()
2155 mmc->f_max = 48000000; vub300_probe()
2307 mmc->f_max / 1000000, vub300_probe()
H A Dcb710-mmc.c707 mmc->f_max = val; cb710_mmc_init()
H A Dmxs-mmc.c648 mmc->f_max = 288000000; mxs_mmc_probe()
H A Dpxamci.c691 mmc->f_max = (mmc_has_26MHz()) ? 26000000 : host->clkrate; pxamci_probe()
H A Dmmc_spi.c1359 mmc->f_max = spi->max_speed_hz; mmc_spi_probe()
1508 spi->max_speed_hz = mmc->f_max; mmc_spi_remove()
H A Dusdhi6rol0.c1797 if (!mmc->f_max) usdhi6_probe()
1798 mmc->f_max = host->imclk; usdhi6_probe()
H A Djz4740_mmc.c1045 mmc->f_max = JZ_MMC_CLK_RATE; jz4740_mmc_probe()
H A Dmxcmmc.c1122 mmc->f_max = clk_get_rate(host->clk_per) >> 1; mxcmci_probe()
H A Drtsx_pci_sdmmc.c1359 mmc->f_max = 208000000; realtek_init_host()
H A Drtsx_usb_sdmmc.c1333 mmc->f_max = 208000000; rtsx_usb_init_host()
H A Dsunxi-mmc.c1032 mmc->f_max = 50000000; sunxi_mmc_probe()
H A Dtifm_sd.c977 mmc->f_max = 24000000; tifm_sd_probe()
H A Dvia-sdmmc.c1045 mmc->f_max = VIA_CRDR_MAX_CLOCK; via_init_mmc_host()
H A Ddw_mmc.c2394 mmc->f_max = DW_MCI_FREQ_MAX; dw_mci_init_slot()
2397 mmc->f_max = freq[1]; dw_mci_init_slot()
H A Dsdhci.c3111 mmc->f_max = host->max_clk; sdhci_add_host()
3117 mmc->f_max = host->max_clk * host->clk_mul; sdhci_add_host()
H A Ds3cmci.c1727 mmc->f_max = host->clk_rate / host->clk_div; s3cmci_probe()
H A Dsh_mmcif.c981 host->mmc->f_max = host->clk / 2; sh_mmcif_clk_update()
H A Dwbsd.c1220 mmc->f_max = 24000000; wbsd_alloc_mmc()
H A Datmel-mci.c2177 mmc->f_max = host->bus_hz / 2; atmci_init_slot()
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c309 if (clock > host->f_max) rsi_reset_card()
310 clock = host->f_max; rsi_reset_card()
346 if (clock > host->f_max) rsi_setclock()
347 clock = host->f_max; rsi_setclock()
/linux-4.1.27/drivers/media/tuners/
H A Dmt2063.c430 * If the range (f_min, f_max) is totally outside the
432 * If the range (f_min, f_max) is negative, ignore the entry.
435 u32 f_min, u32 f_max) MT2063_AddExclZone()
444 if ((f_max > (pAS_Info->f_if1_Center - (pAS_Info->f_if1_bw / 2))) MT2063_AddExclZone()
446 && (f_min < f_max)) { MT2063_AddExclZone()
461 if ((pNode != NULL) && (pNode->min_ < f_max)) { MT2063_AddExclZone()
465 if (f_max > pNode->max_) MT2063_AddExclZone()
466 pNode->max_ = f_max; MT2063_AddExclZone()
470 pNode->max_ = f_max; MT2063_AddExclZone()
434 MT2063_AddExclZone(struct MT2063_AvoidSpursData_t *pAS_Info, u32 f_min, u32 f_max) MT2063_AddExclZone() argument
/linux-4.1.27/drivers/cpufreq/
H A Dlonghaul.c414 int f_max, f_min; guess_fsb() local
417 f_max = ((speeds[i] * mult) + 50) / 100; guess_fsb()
418 f_max += (ROUNDING / 2); guess_fsb()
419 f_min = f_max - ROUNDING; guess_fsb()
420 if ((speed <= f_max) && (speed >= f_min)) guess_fsb()
/linux-4.1.27/drivers/mmc/core/
H A Ddebugfs.c198 if (val > host->f_max) mmc_clock_opt_set()
H A Dhost.c348 /* f_max is obtained from the optional "max-frequency" property */ mmc_of_parse()
349 of_property_read_u32(np, "max-frequency", &host->f_max); mmc_of_parse()
H A Dcore.c1025 if (hz > host->f_max) __mmc_set_clock()
1026 hz = host->f_max; __mmc_set_clock()
/linux-4.1.27/include/linux/mmc/
H A Dhost.h206 unsigned int f_max; member in struct:mmc_host

Completed in 883 milliseconds