Lines Matching defs:refresh
23 * s3c2410_cpufreq_setrefresh - set SDRAM refresh value
26 * Set the SDRAM refresh value appropriately for the configured
32 unsigned long refresh;
35 /* Reduce both the refresh time (in ns) and the frequency (in MHz)
38 * This should work for HCLK up to 133MHz and refresh period up
42 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10);
43 refresh = DIV_ROUND_UP(refresh, (1000 * 1000)); /* apply scale */
44 refresh = (1 << 11) + 1 - refresh;
46 s3c_freq_dbg("%s: refresh value %lu\n", __func__, refresh);
50 refval |= refresh;