Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/mmc/
H A Daspeed_sdhci.c23 unsigned int f_max; member
38 unsigned long f_max; in aspeed_sdhci_probe() local
86 f_max = dev_read_u32_default(dev, "max-frequency", clock); in aspeed_sdhci_probe()
93 ret = sdhci_setup_cfg(&plat->cfg, host, f_max, EMMC_MIN_FREQ); in aspeed_sdhci_probe()
H A Dk3_arsan_sdhci.c20 unsigned int f_max; member
62 ret = sdhci_setup_cfg(&plat->cfg, host, plat->f_max, in k3_arasan_sdhci_probe()
82 plat->f_max = dev_read_u32_default(dev, "max-frequency", 0); in k3_arasan_sdhci_ofdata_to_platdata()
H A Dsdhci.c589 u32 f_max, u32 f_min) argument
636 if (f_max && (f_max < host->max_clk))
637 cfg->f_max = f_max;
639 cfg->f_max = host->max_clk;
644 cfg->f_min = cfg->f_max / SDHCI_MAX_DIV_SPEC_300;
646 cfg->f_min = cfg->f_max / SDHCI_MAX_DIV_SPEC_200;
712 int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min) argument
716 ret = sdhci_setup_cfg(&host->cfg, host, f_max, f_min);
H A Dzynq_sdhci.c23 unsigned int f_max; member
272 ret = sdhci_setup_cfg(&plat->cfg, host, plat->f_max, in arasan_sdhci_probe()
307 plat->f_max = dev_read_u32_default(dev, "max-frequency", in arasan_sdhci_ofdata_to_platdata()
H A Ddavinci_mmc.c67 if (clock > mmc->cfg->f_max)
68 clock = mmc->cfg->f_max;
478 host->cfg.f_max = 25000000;
500 cfg->f_max = 25000000;
H A Darm_pl180_mmci.c294 if (dev->clock >= dev->cfg->f_max) { in host_set_ios()
296 dev->clock = dev->cfg->f_max; in host_set_ios()
386 host->cfg.f_max = host->clock_max; in arm_pl180_mmci_init()
448 cfg->f_max = dev_read_u32_default(dev, "max-frequency", MMC_CLOCK_MAX); in arm_pl180_mmc_probe()
H A Dsandbox_mmc.c120 cfg->f_max = 52000000; in sandbox_mmc_bind()
H A Domap_hsmmc.c1544 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio, argument
1603 if (f_max != 0)
1604 cfg->f_max = f_max;
1608 cfg->f_max = 52000000;
1610 cfg->f_max = 26000000;
1612 cfg->f_max = 20000000;
1928 if (!cfg->f_max)
1929 cfg->f_max = 52000000;
1946 cfg->f_max = fixups->max_freq;
H A Dpxa_mmc_gen.c335 tmp = mmc->cfg->f_max / mmc->clock; in pxa_mmc_set_ios()
378 .f_max = PXAMMC_MAX_SPEED,
H A Dmmc_legacy.c170 cfg->f_max == 0 || cfg->b_max == 0) in mmc_create()
H A Djz_mmc.c400 .f_max = 48000000,
463 cfg->f_max = 52000000; in jz_mmc_ofdata_to_platdata()
H A Dsh_sdhi.c732 .f_max = CLKDEV_HS_DATA,
744 .f_max = CLKDEV_HS_DATA,
881 plat->cfg.f_max = CLKDEV_HS_DATA; in sh_sdhi_dm_probe()
H A Dgen_atmel_mci.c502 cfg->f_max = get_mci_clk_rate() / (2*1);
548 cfg->f_max = priv->bus_clk_rate / 2;
H A Dstm32_sdmmc2.c611 cfg->f_max = dev_read_u32_default(dev, "max-frequency", 52000000); in stm32_sdmmc2_probe()
617 if (cfg->f_max > 25000000) in stm32_sdmmc2_probe()
H A Dmeson_gx_mmc.c248 cfg->f_max = 100000000; /* 100 MHz */ in meson_mmc_probe()
H A Dsunxi_mmc.c539 cfg->f_max = 52000000; in sunxi_mmc_init()
631 cfg->f_max = 52000000; in sunxi_mmc_probe()
H A Dbcm2835_sdhost.c731 cfg->f_max = host->max_clk; in bcm2835_add_host()
736 cfg->f_max, cfg->f_min); in bcm2835_add_host()
H A Dmmc_spi.c285 mmc_spi_cfg.f_max = speed; in mmc_spi_init()
H A Dsh_mmcif.c625 sh_mmcif_cfg.f_max = MMC_CLK_DIV_MAX(host->clk); in mmcif_mmc_init()
723 plat->cfg.f_max = MMC_CLK_DIV_MAX(host->clk); in sh_mmcif_dm_probe()
H A Dmvebu_mmc.c421 .f_max = MVEBU_MMC_CLOCKRATE_MAX,
H A Dmmc-uclass.c145 dev_read_u32(dev, "max-frequency", &cfg->f_max); in mmc_of_parse()
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-sse-exceptions.c22 volatile float f_max = FLT_MAX; variable
201 f_res = f_max + f_max; in main()
208 f_res = f_max + f_min; in main()
273 f_res = f_max - f_nmax; in main()
280 f_res = f_max - f_min; in main()
345 f_res = f_max * f_max; in main()
431 f_res = f_max / f_min; in main()
445 f_res = f_min / f_max; in main()
573 __asm__ volatile ("sqrtss %0, %0" : "=x" (f_res) : "0" (f_max)); in main()
/openbmc/u-boot/include/
H A Dsdhci.h398 u32 f_max, u32 f_min);
428 int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min);
/openbmc/u-boot/arch/arm/include/asm/
H A Domap_mmc.h232 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
/openbmc/u-boot/board/ti/am335x/
H A Dboard.c1063 .cfg.f_max = 52000000,
1077 .cfg.f_max = 52000000,

12