Lines Matching defs:refresh
260 u32 refresh;
264 /* Reduce both the refresh time (in ns) and the frequency (in MHz)
267 * This should work for HCLK up to 133MHz and refresh period up
271 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10);
272 refresh = DIV_ROUND_UP(refresh, (1000 * 1000)); /* apply scale */
273 refresh &= ((1 << 16) - 1);
275 s3c_freq_dbg("%s: refresh value %u\n", __func__, (unsigned int)refresh);
277 __raw_writel(refresh, S3C2412_REFRESH);