Home
last modified time | relevance | path

Searched refs:refresh (Results 1 – 25 of 59) sorted by relevance

123

/drivers/cpufreq/
Dsa1110-cpufreq.c43 u_short refresh; /* refresh time for array (us) */ member
60 .refresh = 64000,
69 .refresh = 64000,
78 .refresh = 64000,
86 .refresh = 64000,
95 .refresh = 64000,
104 .refresh = 64000,
113 .refresh = 64000,
218 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
363 sdram->twr, sdram->refresh, sdram->cas_latency); in sa1110_clk_init()
Ds3c2412-cpufreq.c148 unsigned long refresh; in s3c2412_cpufreq_setrefresh() local
151 board->refresh, cfg->freq.hclk); in s3c2412_cpufreq_setrefresh()
158 refresh = (board->refresh / 10); in s3c2412_cpufreq_setrefresh()
159 refresh *= (cfg->freq.hclk / 100); in s3c2412_cpufreq_setrefresh()
160 refresh /= (1 * 1000 * 1000); /* 10^6 */ in s3c2412_cpufreq_setrefresh()
162 s3c_freq_dbg("%s: setting refresh 0x%08lx\n", __func__, refresh); in s3c2412_cpufreq_setrefresh()
163 __raw_writel(refresh, S3C2412_REFRESH); in s3c2412_cpufreq_setrefresh()
Ds5pv210-cpufreq.c106 unsigned long refresh; /* DRAM refresh counter * 1000 */ member
219 tmp1 = s5pv210_dram_conf[ch].refresh; in s5pv210_set_refresh()
540 s5pv210_dram_conf[0].refresh = (readl_relaxed(dmc_base[0] + 0x30) * 1000); in s5pv210_cpu_init()
543 s5pv210_dram_conf[1].refresh = (readl_relaxed(dmc_base[1] + 0x30) * 1000); in s5pv210_cpu_init()
/drivers/video/fbdev/core/
Dmodedb.c606 mode->xres, mode->yres, bpp, mode->refresh); in fb_try_mode()
699 unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0; in fb_find_mode() local
710 refresh = simple_strtol(&name[i+1], NULL, in fb_find_mode()
769 (refresh) ? refresh : 60, in fb_find_mode()
777 cvt_mode.refresh = (refresh) ? refresh : 60; in fb_find_mode()
810 refresh = 1000; in fb_find_mode()
812 refresh = 60; in fb_find_mode()
822 if (refresh_specified && db[i].refresh == refresh) in fb_find_mode()
825 if (abs(db[i].refresh - refresh) < diff) { in fb_find_mode()
826 diff = abs(db[i].refresh - refresh); in fb_find_mode()
[all …]
Dfbcvt.c38 u32 refresh; member
228 cvt->xres, cvt->yres, cvt->refresh); in fb_cvt_print_name()
273 mode->refresh = cvt->f_refresh; in fb_cvt_convert_to_mode()
322 cvt.refresh = mode->refresh; in fb_find_mode_cvt()
323 cvt.f_refresh = cvt.refresh; in fb_find_mode_cvt()
326 if (!cvt.xres || !cvt.yres || !cvt.refresh) { in fb_find_mode_cvt()
331 if (!(cvt.refresh == 50 || cvt.refresh == 60 || cvt.refresh == 70 || in fb_find_mode_cvt()
332 cvt.refresh == 85)) { in fb_find_mode_cvt()
346 if (cvt.refresh != 60) { in fb_find_mode_cvt()
Dfbmon.c381 static void calc_mode_timings(int xres, int yres, int refresh, in calc_mode_timings() argument
392 refresh, var, NULL); in calc_mode_timings()
396 mode->refresh = refresh; in calc_mode_timings()
512 int xres, yres = 0, refresh, ratio; in get_std_timing() local
537 refresh = (block[1] & 0x3f) + 60; in get_std_timing()
538 DPRINTK(" %dx%d@%dHz\n", xres, yres, refresh); in get_std_timing()
540 calc_mode_timings(xres, yres, refresh, mode); in get_std_timing()
584 mode->refresh = PIXEL_CLOCK/((H_ACTIVE + H_BLANKING) * in get_detailed_timing()
1070 pr_debug("Adding %ux%u@%u\n", m[i].xres, m[i].yres, m[i].refresh); in fb_edid_add_monspecs()
1082 m[i].xres, m[i].yres, m[i].refresh); in fb_edid_add_monspecs()
[all …]
/drivers/video/fbdev/via/
Dviamode.c355 int hres, int vres, int refresh) in get_best_mode() argument
364 if (!best || abs(modes[i].refresh - refresh) < in get_best_mode()
365 abs(best->refresh - refresh)) in get_best_mode()
372 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, int refresh) in viafb_get_best_mode() argument
375 hres, vres, refresh); in viafb_get_best_mode()
379 int refresh) in viafb_get_best_rb_mode() argument
382 hres, vres, refresh); in viafb_get_best_rb_mode()
Dviamode.h59 int refresh);
61 int refresh);
Dioctl.h98 unsigned short refresh; member
119 u32 refresh; member
Dviafbdev.c202 int depth, refresh; in viafb_check_var() local
253 refresh = viafb_get_refresh(var->xres, var->yres, in viafb_check_var()
258 viafb_get_best_mode(var->xres, var->yres, refresh)); in viafb_check_var()
269 int refresh; in viafb_set_par() local
290 refresh = get_var_refresh(&info->var); in viafb_set_par()
293 viafb_refresh1 = refresh; in viafb_set_par()
296 viafb_refresh = refresh; in viafb_set_par()
438 u.viamode.refresh = (u32) viafb_hotplug_refresh; in viafb_ioctl()
532 u.active_dev.refresh = viafb_refresh; in viafb_ioctl()
/drivers/media/pci/cx18/
Dcx18-cards.c91 .refresh = 0x30c,
138 .refresh = 0x30c,
185 .refresh = 0x30c,
238 .refresh = 0x753,
291 .refresh = 0x3bd,
351 .refresh = 0x3bd,
407 .refresh = 0x753,
455 .refresh = 0x3bb,
504 .refresh = 0x3bb,
557 .refresh = 0x3bb,
Dcx18-cards.h119 u32 refresh; member
/drivers/gpu/drm/i915/
Dintel_tv.c343 int refresh; /* in millihertz (for precision) */ member
408 .refresh = 59940,
451 .refresh = 59940,
493 .refresh = 59940,
536 .refresh = 59940,
580 .refresh = 50000,
625 .refresh = 50000,
667 .refresh = 59940,
691 .refresh = 50000,
715 .refresh = 60000,
[all …]
/drivers/gpu/drm/
Ddrm_modes.c777 int refresh = 0; in drm_mode_vrefresh() local
781 refresh = mode->vrefresh; in drm_mode_vrefresh()
788 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh()
791 refresh *= 2; in drm_mode_vrefresh()
793 refresh /= 2; in drm_mode_vrefresh()
795 refresh /= mode->vscan; in drm_mode_vrefresh()
797 return refresh; in drm_mode_vrefresh()
1292 unsigned int xres = 0, yres = 0, bpp = 32, refresh = 0; in drm_mode_parse_command_line_for_connector() local
1315 refresh = simple_strtol(&name[i+1], NULL, 10); in drm_mode_parse_command_line_for_connector()
1418 mode->refresh = refresh; in drm_mode_parse_command_line_for_connector()
[all …]
/drivers/video/fbdev/
Dfsl-diu-fb.c62 .refresh = 60,
76 .refresh = 60,
90 .refresh = 60,
104 .refresh = 72,
118 .refresh = 75,
132 .refresh = 90,
146 .refresh = 100,
160 .refresh = 60,
174 .refresh = 60,
188 .refresh = 60,
[all …]
Damba-clcd-versatile.c16 .refresh = 60,
40 .refresh = 60,
65 .refresh = 116,
89 .refresh = 116,
114 .refresh = 390,
Dpxa168fb.c261 if (!m || !m->pixclock || !m->refresh) { in set_clock_divider()
569 u32 total_w, total_h, refresh; in pxa168fb_init_mode() local
576 refresh = DEFAULT_REFRESH; in pxa168fb_init_mode()
597 do_div(div_result, total_w * total_h * refresh); in pxa168fb_init_mode()
Dacornfb.c678 .refresh = 60,
993 hs = modedb[i].refresh * in acornfb_probe()
998 modedb[i].refresh >= fb_info.monspecs.vfmin && in acornfb_probe()
999 modedb[i].refresh <= fb_info.monspecs.vfmax && in acornfb_probe()
Dmx3fb.c139 .refresh = 60,
157 .refresh = 60,
175 .refresh = 60,
191 .refresh = 60,
207 .refresh = 50,
223 .refresh = 60,
/drivers/gpu/drm/panel/
Dpanel-sharp-lq101r1sx01.c44 unsigned int refresh = drm_mode_vrefresh(sharp->mode); in sharp_wait_frames() local
46 if (WARN_ON(frames > refresh)) in sharp_wait_frames()
49 msleep(1000 / (refresh / frames)); in sharp_wait_frames()
/drivers/staging/xgifb/
DXGI_main_26.c549 if (XGIfb_vrate[i].refresh == rate) { in XGIfb_search_refresh_rate()
552 } else if (XGIfb_vrate[i].refresh > rate) { in XGIfb_search_refresh_rate()
553 if ((XGIfb_vrate[i].refresh - rate) <= 3) { in XGIfb_search_refresh_rate()
555 rate, XGIfb_vrate[i].refresh); in XGIfb_search_refresh_rate()
559 XGIfb_vrate[i].refresh; in XGIfb_search_refresh_rate()
560 } else if (((rate - XGIfb_vrate[i - 1].refresh) in XGIfb_search_refresh_rate()
565 XGIfb_vrate[i-1].refresh); in XGIfb_search_refresh_rate()
569 XGIfb_vrate[i - 1].refresh; in XGIfb_search_refresh_rate()
572 } else if ((rate - XGIfb_vrate[i].refresh) <= 2) { in XGIfb_search_refresh_rate()
574 rate, XGIfb_vrate[i].refresh); in XGIfb_search_refresh_rate()
DXGI_main.h184 u16 refresh; member
/drivers/video/fbdev/mmp/fb/
Dmmpfb.c243 mode->refresh = videomode->refresh; in fbmode_to_mmpmode()
269 videomode->refresh = mode->refresh; in mmpmode_to_fbmode()
/drivers/video/fbdev/mmp/panel/
Dtpo_tj032md01bw.c111 .refresh = 60,
/drivers/staging/sm750fb/
Dreadme33 refresh rate, kernel driver will defaulty use 16bpp and 60hz

123