300000, 200000, 100000 }for(i =0; i < ARRAY_SIZE(freqs); i++) {if(!mmc_rescan_try_freq(host, max(freqs[i], host->f_min)))break;if(freqs[i] <= host->f_min)break;
300000, 200000, 100000 }for(i =0; i < ARRAY_SIZE(freqs); i++) {if(!mmc_rescan_try_freq(host, max(freqs[i], host->f_min)))break;if(freqs[i] <= host->f_min)break;
mmc->f_min =400000;if(cpu_class_is_omap2()) mmc->f_max =48000000;elsemmc->f_max =24000000;if(host->pdata->max_freq) mmc->f_max = min(host->pdata->max_freq, mmc->f_max); mmc->ocr_avail = slot->pdata->ocr_mask;/* Use scatterlist DMA to reduce per-transfer costs. *...
mmc->ops = &sh_mmcif_ops; - mmc->f_max = host->clk; + mmc->f_max = host->clk / 2; /* close to 400KHz */ - if (mmc->f_max < 51200000) - mmc->f_min = mmc->f_max / 128; - else if (mmc->f_max < 102400000) - mmc->f_min = mmc->f_max / 256; + if (ho...
mmc->f_min = 200000;2 changes: 1 addition & 1 deletion 2 drivers/mmc/dw_mmc.c Original file line numberDiff line numberDiff line change @@ -363,7 +363,7 @@ int add_dwmci(struct dwmci_host *host, u32 max_clk, u32 min_clk) mmc->priv = host; host->mmc = mmc; sprintf(...
>>> And now that mmc->f_max is not equal to the bus clock the >>> latter should be used directly to calculate mmc->f_min. >> >> The patch seems correct as it stands, however, looking at it - does anyone >> understands why that "close to 400kHz" comment and such a complicate...
其中,E表示能量(单位为焦耳,J),C表示电容的电容值(单位为法拉,F),U表示电容两端的电压(单位为伏特,V)。 在MMC运行过程中,考虑到电容电压的安全运行范围等因素,假设电容的初始电压为U_0允许的最低电压为U_min那么电容允许释放的最大能量E_max为: E_max=(1)/(2)C(U_0^2-U_min^2) 解析: 从能量公式...
ColorF::ColorF(Enum knownColor, FLOAT)(Enum, FLOAT) constructor (Windows) ID3D10Include::Close method (Windows) Operator[] function (Windows) RASPPPIPV6 structure (Windows) IFillLockBytes::RemoteFillAt method (Windows) DWordToInt function (Windows) IControlMarkup::GetState method (Windows) I...
freq = host->f_max; }//进行卡初始化,卡初始化时时钟频率不能超过400KHzif(!mmc_rescan_try_freq(host, max(freq, host->f_min)))break;if(freqs[i] <= host->f_min)break; } mmc_release_host(host); out:if(host->caps & MMC_CAP_NEEDS_POLL) ...
mmc_rescan_try_freq(host, max(freqs[i], host->f_min) //core/core.c //传进来第1个参数为:struct mmc_host *host mmc_power_up(host, host->ocr_avail); //core/core.c //host->ocr_avail在控制器驱动中指定的。此函数流程在上边有。