/linux-4.1.27/include/linux/platform_data/ |
H A D | mmc-esdhc-imx.h | 46 unsigned int f_max; member in struct:esdhc_platform_data
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmci.c | 72 * @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 D | sdhci-st.c | 170 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 D | sdhci-bcm-kona.c | 242 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 D | wmt-sdmmc.c | 180 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 D | bfin_sdh.c | 558 mmc->f_max = get_sclk(); sdh_probe() 559 mmc->f_min = mmc->f_max >> 9; sdh_probe()
|
H A D | omap.c | 1247 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 D | sdhci-esdhc-imx.c | 574 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 D | sh_mobile_sdhi.c | 350 host->mmc->f_max / 1000000); sh_mobile_sdhi_probe()
|
H A D | tmio_mmc_pio.c | 843 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 D | mvsdio.c | 738 mmc->f_max = MVSD_CLOCKRATE_MAX; mvsd_probe() 787 mmc->f_max = maxfreq; mvsd_probe()
|
H A D | android-goldfish.c | 498 mmc->f_max = 24000000; goldfish_mmc_probe()
|
H A D | moxart-mmc.c | 618 mmc->f_max = DIV_ROUND_CLOSEST(host->sysclk, 2); moxart_probe()
|
H A D | sdricoh_cs.c | 443 mmc->f_max = 24000000; sdricoh_init_mmc()
|
H A D | toshsd.c | 646 mmc->f_max = HCLK; toshsd_probe()
|
H A D | ushc.c | 452 mmc->f_max = 50000000; ushc_probe()
|
H A D | au1xmmc.c | 995 mmc->f_max = 24000000; au1xmmc_probe() 1016 mmc->f_max = 52000000; au1xmmc_probe()
|
H A D | davinci_mmc.c | 1322 mmc->f_max = 25000000; davinci_mmcsd_probe() 1324 mmc->f_max = pdata->max_freq; davinci_mmcsd_probe()
|
H A D | omap_hsmmc.c | 1992 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 D | vub300.c | 2150 mmc->f_max = 24000000; vub300_probe() 2155 mmc->f_max = 48000000; vub300_probe() 2307 mmc->f_max / 1000000, vub300_probe()
|
H A D | cb710-mmc.c | 707 mmc->f_max = val; cb710_mmc_init()
|
H A D | mxs-mmc.c | 648 mmc->f_max = 288000000; mxs_mmc_probe()
|
H A D | pxamci.c | 691 mmc->f_max = (mmc_has_26MHz()) ? 26000000 : host->clkrate; pxamci_probe()
|
H A D | mmc_spi.c | 1359 mmc->f_max = spi->max_speed_hz; mmc_spi_probe() 1508 spi->max_speed_hz = mmc->f_max; mmc_spi_remove()
|
H A D | usdhi6rol0.c | 1797 if (!mmc->f_max) usdhi6_probe() 1798 mmc->f_max = host->imclk; usdhi6_probe()
|
H A D | jz4740_mmc.c | 1045 mmc->f_max = JZ_MMC_CLK_RATE; jz4740_mmc_probe()
|
H A D | mxcmmc.c | 1122 mmc->f_max = clk_get_rate(host->clk_per) >> 1; mxcmci_probe()
|
H A D | rtsx_pci_sdmmc.c | 1359 mmc->f_max = 208000000; realtek_init_host()
|
H A D | rtsx_usb_sdmmc.c | 1333 mmc->f_max = 208000000; rtsx_usb_init_host()
|
H A D | sunxi-mmc.c | 1032 mmc->f_max = 50000000; sunxi_mmc_probe()
|
H A D | tifm_sd.c | 977 mmc->f_max = 24000000; tifm_sd_probe()
|
H A D | via-sdmmc.c | 1045 mmc->f_max = VIA_CRDR_MAX_CLOCK; via_init_mmc_host()
|
H A D | dw_mmc.c | 2394 mmc->f_max = DW_MCI_FREQ_MAX; dw_mci_init_slot() 2397 mmc->f_max = freq[1]; dw_mci_init_slot()
|
H A D | sdhci.c | 3111 mmc->f_max = host->max_clk; sdhci_add_host() 3117 mmc->f_max = host->max_clk * host->clk_mul; sdhci_add_host()
|
H A D | s3cmci.c | 1727 mmc->f_max = host->clk_rate / host->clk_div; s3cmci_probe()
|
H A D | sh_mmcif.c | 981 host->mmc->f_max = host->clk / 2; sh_mmcif_clk_update()
|
H A D | wbsd.c | 1220 mmc->f_max = 24000000; wbsd_alloc_mmc()
|
H A D | atmel-mci.c | 2177 mmc->f_max = host->bus_hz / 2; atmci_init_slot()
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio.c | 309 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 D | mt2063.c | 430 * 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 D | longhaul.c | 414 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 D | debugfs.c | 198 if (val > host->f_max) mmc_clock_opt_set()
|
H A D | host.c | 348 /* 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 D | core.c | 1025 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 D | host.h | 206 unsigned int f_max; member in struct:mmc_host
|