Searched refs:minmax (Results 1 - 2 of 2) sorted by relevance

/u-boot/drivers/mmc/
H A Drockchip_dw_mmc.c35 u32 minmax[2]; member in struct:rockchip_dwmmc_priv
96 if (dev_read_u32_array(dev, "clock-freq-min-max", priv->minmax, 2)) {
102 priv->minmax[0] = 400000; /* 400 kHz */
103 priv->minmax[1] = val;
131 priv->minmax[0] = 400000; /* 400 kHz */
132 priv->minmax[1] = dtplat->max_frequency;
157 dwmci_setup_cfg(&plat->cfg, host, priv->minmax[1], priv->minmax[0]);
H A Dftsdc010_mci.c61 u32 minmax[2]; member in struct:ftsdc_priv
403 if (dev_read_u32_array(dev, "clock-freq-min-max", priv->minmax, 2)) {
404 if (dev_read_u32(dev, "max-frequency", &priv->minmax[1]))
407 priv->minmax[0] = 400000; /* 400 kHz */
413 chip->sclk = priv->minmax[1];
435 memcpy(priv->minmax, dtplat->clock_freq_min_max, sizeof(priv->minmax));
446 priv->minmax[1] , priv->minmax[0]);

Completed in 41 milliseconds