Home
last modified time | relevance | path

Searched refs:f_min (Results 1 – 25 of 31) sorted by relevance

12

/external/u-boot/drivers/mmc/
Dsdhci.c561 u32 f_max, u32 f_min) argument
612 if (f_min)
613 cfg->f_min = f_min;
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);
Ddavinci_mmc.c33 if (clock < mmc->cfg->f_min) in dmmc_set_clock()
34 clock = mmc->cfg->f_min; in dmmc_set_clock()
381 host->cfg.f_min = 200000; in davinci_mmc_init()
Dmeson_gx_mmc.c247 cfg->f_min = DIV_ROUND_UP(SD_EMMC_CLKSRC_24M, CLK_MAX_DIV); in meson_mmc_probe()
255 mmc_set_clock(mmc, cfg->f_min, MMC_CLK_ENABLE); in meson_mmc_probe()
Dsandbox_mmc.c119 cfg->f_min = 1000000; in sandbox_mmc_bind()
Dmmc_legacy.c169 if (cfg == NULL || cfg->f_min == 0 || in mmc_create()
Ddw_mmc.c442 dwmci_setup_bus(host, mmc->cfg->f_min);
496 cfg->f_min = min_clk;
Dsh_sdhi.c731 .f_min = CLKDEV_INIT,
743 .f_min = CLKDEV_INIT,
880 plat->cfg.f_min = CLKDEV_INIT; in sh_sdhi_dm_probe()
Dstm32_sdmmc2.c476 if ((mmc->bus_width == 1) && (desired == cfg->f_min)) in stm32_sdmmc2_set_ios()
556 cfg->f_min = 400000; in stm32_sdmmc2_probe()
Dgen_atmel_mci.c501 cfg->f_min = get_mci_clk_rate() / (2*256);
547 cfg->f_min = priv->bus_clk_rate / (2 * 256);
Dsunxi_mmc.c504 cfg->f_min = 400000; in sunxi_mmc_init()
588 cfg->f_min = 400000; in sunxi_mmc_probe()
Dbcm2835_sdhost.c732 cfg->f_min = host->max_clk / SDCDIV_MAX_CDIV; in bcm2835_add_host()
736 cfg->f_max, cfg->f_min); in bcm2835_add_host()
Dsh_mmcif.c624 sh_mmcif_cfg.f_min = MMC_CLK_DIV_MIN(host->clk); in mmcif_mmc_init()
722 plat->cfg.f_min = MMC_CLK_DIV_MIN(host->clk); in sh_mmcif_dm_probe()
Dfsl_esdhc.c590 if (clock < mmc->cfg->f_min) in set_sysctl()
591 clock = mmc->cfg->f_min; in set_sysctl()
1181 cfg->f_min = 400000; in fsl_esdhc_init()
Dmmc_spi.c271 .f_min = MMC_SPI_MIN_CLOCK,
Dmvebu_mmc.c420 .f_min = MVEBU_MMC_BASE_FAST_CLOCK / MVEBU_MMC_BASE_DIV_MAX,
Dpxa_mmc_gen.c379 .f_min = PXAMMC_MIN_SPEED,
Dmxsmmc.c417 priv->cfg.f_min = 400000; in mxsmmc_initialize()
Dmxcmmc.c510 mxcmci_cfg.f_min = mxc_get_clock(MXC_ESDHC_CLK) >> 7; in mxcmci_initialize()
Dftsdc010_mci.c375 cfg->f_min = min_clk; in ftsdc_setup_cfg()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc349 const float f_min = min_and_max.first; in TestFloatToQuantizedInPlaceUsingEigen() local
351 const float f_range = f_max - f_min; in TestFloatToQuantizedInPlaceUsingEigen()
356 input_array(i) = f_min + f_range * i / (values_count - 1); in TestFloatToQuantizedInPlaceUsingEigen()
360 FloatTensorToQuantizedInPlaceUsingEigen<T>(*eigen_device, input, f_min, 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()
396 const float f_min = min_and_max.first; in TestQuantizedToFloatInPlaceUsingEigen() local
415 QuantizedTensorToFloatInPlaceUsingEigen<T>(*eigen_device, input, f_min, 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()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h348 std::pair<float, int32_t> QuantizationParams(float f_min, float f_max) { in QuantizationParams() argument
350 CHECK_LE(f_min, 0); in QuantizationParams()
355 float scale = (f_max - f_min) / range; in QuantizationParams()
358 std::max(q_min, static_cast<T>(std::round(q_min - f_min / scale)))); in QuantizationParams()
/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);
Dmmc.h497 uint f_min; member
/external/u-boot/board/ti/am335x/
Dboard.c969 .cfg.f_min = 400000,
983 .cfg.f_min = 400000,
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dclamp-to-minmax.ll549 %f_min = sitofp i32 %si_min to float
552 %r = select i1 %lo_cmp, float 1.0, float %f_min
586 %f_min = sitofp i32 %si_min to float
588 %r = select i1 %lo_cmp, float 1.0, float %f_min

12