| /openbmc/u-boot/drivers/mmc/ |
| H A D | aspeed_sdhci.c | 23 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 D | k3_arsan_sdhci.c | 20 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 D | sdhci.c | 589 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 D | zynq_sdhci.c | 23 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 D | davinci_mmc.c | 67 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 D | arm_pl180_mmci.c | 294 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 D | sandbox_mmc.c | 120 cfg->f_max = 52000000; in sandbox_mmc_bind()
|
| H A D | omap_hsmmc.c | 1544 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 D | pxa_mmc_gen.c | 335 tmp = mmc->cfg->f_max / mmc->clock; in pxa_mmc_set_ios() 378 .f_max = PXAMMC_MAX_SPEED,
|
| H A D | mmc_legacy.c | 170 cfg->f_max == 0 || cfg->b_max == 0) in mmc_create()
|
| H A D | jz_mmc.c | 400 .f_max = 48000000, 463 cfg->f_max = 52000000; in jz_mmc_ofdata_to_platdata()
|
| H A D | sh_sdhi.c | 732 .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 D | gen_atmel_mci.c | 502 cfg->f_max = get_mci_clk_rate() / (2*1); 548 cfg->f_max = priv->bus_clk_rate / 2;
|
| H A D | stm32_sdmmc2.c | 611 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 D | meson_gx_mmc.c | 248 cfg->f_max = 100000000; /* 100 MHz */ in meson_mmc_probe()
|
| H A D | sunxi_mmc.c | 539 cfg->f_max = 52000000; in sunxi_mmc_init() 631 cfg->f_max = 52000000; in sunxi_mmc_probe()
|
| H A D | bcm2835_sdhost.c | 731 cfg->f_max = host->max_clk; in bcm2835_add_host() 736 cfg->f_max, cfg->f_min); in bcm2835_add_host()
|
| H A D | mmc_spi.c | 285 mmc_spi_cfg.f_max = speed; in mmc_spi_init()
|
| H A D | sh_mmcif.c | 625 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 D | mvebu_mmc.c | 421 .f_max = MVEBU_MMC_CLOCKRATE_MAX,
|
| H A D | mmc-uclass.c | 145 dev_read_u32(dev, "max-frequency", &cfg->f_max); in mmc_of_parse()
|
| /openbmc/qemu/tests/tcg/i386/ |
| H A D | test-i386-sse-exceptions.c | 22 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 D | sdhci.h | 398 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 D | omap_mmc.h | 232 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 D | board.c | 1063 .cfg.f_max = 52000000, 1077 .cfg.f_max = 52000000,
|