| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | sdhci.c | 722 u32 f_max, u32 f_min) argument 769 if (f_max && (f_max < host->max_clk)) 770 cfg->f_max = f_max; 772 cfg->f_max = host->max_clk; 777 cfg->f_min = cfg->f_max / SDHCI_MAX_DIV_SPEC_300; 779 cfg->f_min = cfg->f_max / SDHCI_MAX_DIV_SPEC_200; 814 int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min) argument 818 ret = sdhci_setup_cfg(&host->cfg, host, f_max, f_min);
|
| H A D | zynq_sdhci.c | 26 unsigned int f_max; member 66 ret = sdhci_setup_cfg(&plat->cfg, host, plat->f_max, in arasan_sdhci_probe() 86 plat->f_max = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in arasan_sdhci_ofdata_to_platdata()
|
| H A D | omap_hsmmc.c | 713 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio, argument 772 if (f_max != 0) 773 cfg->f_max = f_max; 777 cfg->f_max = 52000000; 779 cfg->f_max = 26000000; 781 cfg->f_max = 20000000; 834 cfg->f_max = fdtdec_get_int(fdt, node, "max-frequency", 52000000);
|
| H A D | davinci_mmc.c | 36 if (clock > mmc->cfg->f_max) in dmmc_set_clock() 37 clock = mmc->cfg->f_max; in dmmc_set_clock() 383 host->cfg.f_max = 25000000; in davinci_mmc_init()
|
| H A D | arm_pl180_mmci.c | 290 if (dev->clock >= dev->cfg->f_max) { in host_set_ios() 292 dev->clock = dev->cfg->f_max; in host_set_ios() 370 host->cfg.f_max = host->clock_max; in arm_pl180_mmci_init()
|
| H A D | pxa_mmc_gen.c | 336 tmp = mmc->cfg->f_max / mmc->clock; in pxa_mmc_set_ios() 379 .f_max = PXAMMC_MAX_SPEED,
|
| H A D | sandbox_mmc.c | 120 cfg->f_max = 52000000; in sandbox_mmc_bind()
|
| H A D | sh_sdhi.c | 733 .f_max = CLKDEV_HS_DATA, 745 .f_max = CLKDEV_HS_DATA, 882 plat->cfg.f_max = CLKDEV_HS_DATA; in sh_sdhi_dm_probe()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | rl6231.c | 148 unsigned int f_in, f_out, f_max; in rl6231_pll_calc() local 174 f_max = 0xffffffff / RL6231_PLL_N_MAX; in rl6231_pll_calc() 175 div = find_best_div(freq_in, f_max, div_t); in rl6231_pll_calc()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | mmci.c | 63 .f_max = 100000000, 82 .f_max = 100000000, 101 .f_max = 100000000, 123 .f_max = 100000000, 149 .f_max = 100000000, 179 .f_max = 100000000, 214 .f_max = 100000000, 247 .f_max = 48000000, 256 .f_max = 208000000, 282 .f_max = 208000000, [all …]
|
| H A D | sh_mmcif.c | 996 if (host->mmc->f_max) { in sh_mmcif_clk_setup() 997 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local 999 f_max = host->mmc->f_max; in sh_mmcif_clk_setup() 1000 for (f_min_old = f_max; f_min_old > 2;) { in sh_mmcif_clk_setup() 1012 host->mmc->f_max = f_max / (1 << ffs(host->clkdiv_map)); in sh_mmcif_clk_setup() 1017 host->mmc->f_max = clk / 2; in sh_mmcif_clk_setup() 1022 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
|
| H A D | sdhci-bcm-kona.c | 240 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()
|
| H A D | cavium.c | 910 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()
|
| H A D | sdhci-st.c | 162 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()
|
| H A D | sdhci-of-aspeed.c | 84 if (host->mmc->f_max) in aspeed_sdhci_get_max_clock() 85 return host->mmc->f_max; in aspeed_sdhci_get_max_clock()
|
| H A D | wmt-sdmmc.c | 177 unsigned int f_max; member 735 .f_max = 50000000, 790 mmc->f_max = wmt_caps->f_max; in wmt_mci_probe()
|
| H A D | sdhci-omap.c | 1143 mmc->f_max = 96000000; in sdhci_omap_probe() 1145 mmc->f_max = 48000000; in sdhci_omap_probe() 1147 mmc->f_max = 48000000; in sdhci_omap_probe() 1159 ret = clk_set_rate(pltfm_host->clk, mmc->f_max); in sdhci_omap_probe() 1161 dev_err(dev, "failed to set clock to %d\n", mmc->f_max); in sdhci_omap_probe()
|
| H A D | renesas_sdhi_core.c | 101 if (!mmc->f_max) in renesas_sdhi_clk_enable() 102 mmc->f_max = clk_get_rate(priv->clk); in renesas_sdhi_clk_enable() 1088 taps[i].clk_rate == host->mmc->f_max) { in renesas_sdhi_probe() 1134 mmc_hostname(host->mmc), &res->start, host->mmc->f_max / 1000000); in renesas_sdhi_probe()
|
| H A D | bcm2835.c | 1272 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()
|
| H A D | jz4740_mmc.c | 878 clk_set_rate(host->clk, host->mmc->f_max); in jz4740_mmc_set_clock_rate() 1042 if (!mmc->f_max) in jz4740_mmc_probe() 1043 mmc->f_max = JZ_MMC_CLK_RATE; in jz4740_mmc_probe() 1044 mmc->f_min = mmc->f_max / 128; in jz4740_mmc_probe()
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | longhaul.c | 411 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()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | sdhci.h | 414 u32 f_max, u32 f_min); 444 int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min);
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/ |
| H A D | omap_mmc.h | 173 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
|
| /OK3568_Linux_fs/kernel/drivers/media/tuners/ |
| H A D | mt2063.c | 426 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()
|
| /OK3568_Linux_fs/kernel/drivers/staging/pi433/ |
| H A D | rf69.c | 299 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()
|