Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/mmc/
Dsdhci.c561 u32 f_max, u32 f_min) argument
608 if (f_max && (f_max < host->max_clk))
609 cfg->f_max = f_max;
611 cfg->f_max = host->max_clk;
616 cfg->f_min = cfg->f_max / SDHCI_MAX_DIV_SPEC_300;
618 cfg->f_min = cfg->f_max / SDHCI_MAX_DIV_SPEC_200;
684 int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min) argument
688 ret = sdhci_setup_cfg(&host->cfg, host, f_max, f_min);
Dzynq_sdhci.c23 unsigned int f_max; member
273 ret = sdhci_setup_cfg(&plat->cfg, host, plat->f_max, in arasan_sdhci_probe()
308 plat->f_max = dev_read_u32_default(dev, "max-frequency", in arasan_sdhci_ofdata_to_platdata()
Ddavinci_mmc.c35 if (clock > mmc->cfg->f_max) in dmmc_set_clock()
36 clock = mmc->cfg->f_max; in dmmc_set_clock()
382 host->cfg.f_max = 25000000; in davinci_mmc_init()
Domap_hsmmc.c1451 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio, argument
1510 if (f_max != 0)
1511 cfg->f_max = f_max;
1515 cfg->f_max = 52000000;
1517 cfg->f_max = 26000000;
1519 cfg->f_max = 20000000;
1835 if (!cfg->f_max)
1836 cfg->f_max = 52000000;
1853 cfg->f_max = fixups->max_freq;
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()
387 host->cfg.f_max = host->clock_max; in arm_pl180_mmci_init()
Dpxa_mmc_gen.c335 tmp = mmc->cfg->f_max / mmc->clock; in pxa_mmc_set_ios()
378 .f_max = PXAMMC_MAX_SPEED,
Dsandbox_mmc.c120 cfg->f_max = 52000000; in sandbox_mmc_bind()
Dmmc_legacy.c170 cfg->f_max == 0 || cfg->b_max == 0) in mmc_create()
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()
Dgen_atmel_mci.c502 cfg->f_max = get_mci_clk_rate() / (2*1);
548 cfg->f_max = priv->bus_clk_rate / 2;
Dstm32_sdmmc2.c557 cfg->f_max = dev_read_u32_default(dev, "max-frequency", 52000000); in stm32_sdmmc2_probe()
563 if (cfg->f_max > 25000000) in stm32_sdmmc2_probe()
Dsunxi_mmc.c505 cfg->f_max = 52000000; in sunxi_mmc_init()
589 cfg->f_max = 52000000; in sunxi_mmc_probe()
Dbcm2835_sdhost.c731 cfg->f_max = host->max_clk; in bcm2835_add_host()
736 cfg->f_max, cfg->f_min); in bcm2835_add_host()
Dmeson_gx_mmc.c248 cfg->f_max = 100000000; /* 100 MHz */ in meson_mmc_probe()
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()
Dmmc_spi.c285 mmc_spi_cfg.f_max = speed; in mmc_spi_init()
Dmvebu_mmc.c421 .f_max = MVEBU_MMC_CLOCKRATE_MAX,
Dmmc-uclass.c145 dev_read_u32(dev, "max-frequency", &cfg->f_max); in mmc_of_parse()
Dmxsmmc.c418 priv->cfg.f_max = mxc_get_clock(MXC_SSP0_CLK + mxsmmc_clk_id) * 1000 / 2; in mxsmmc_initialize()
Dmxcmmc.c511 mxcmci_cfg.f_max = mxc_get_clock(MXC_ESDHC_CLK) >> 1; in mxcmci_initialize()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc350 const float f_max = min_and_max.second; in TestFloatToQuantizedInPlaceUsingEigen() local
351 const float f_range = f_max - f_min; in TestFloatToQuantizedInPlaceUsingEigen()
361 f_max, &output); in TestFloatToQuantizedInPlaceUsingEigen()
366 int32 expected = FloatToQuantized<T>(input_array(i), f_min, f_max); in TestFloatToQuantizedInPlaceUsingEigen()
376 << " f_min=" << f_min << " f_max=" << f_max in TestFloatToQuantizedInPlaceUsingEigen()
397 const float f_max = min_and_max.second; in TestQuantizedToFloatInPlaceUsingEigen() local
416 f_max, &output); in TestQuantizedToFloatInPlaceUsingEigen()
418 const double range = static_cast<double>(f_max) - f_min; in TestQuantizedToFloatInPlaceUsingEigen()
420 float expected = QuantizedToFloat<T>(input_array(i), f_min, f_max); in TestQuantizedToFloatInPlaceUsingEigen()
425 << " f_max=" << f_max in TestQuantizedToFloatInPlaceUsingEigen()
/external/u-boot/include/
Dsdhci.h393 u32 f_max, u32 f_min);
423 int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min);
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h348 std::pair<float, int32_t> QuantizationParams(float f_min, float f_max) { in QuantizationParams() argument
351 CHECK_GE(f_max, 0); in QuantizationParams()
355 float scale = (f_max - f_min) / range; in QuantizationParams()
/external/u-boot/arch/arm/include/asm/
Domap_mmc.h233 int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
/external/u-boot/board/ti/am335x/
Dboard.c970 .cfg.f_max = 52000000,
984 .cfg.f_max = 52000000,

12