Home
last modified time | relevance | path

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

123

/drivers/cpufreq/
Dsa1110-cpufreq.c40 u_short refresh; /* refresh time for array (us) */ member
57 .refresh = 64000,
66 .refresh = 64000,
75 .refresh = 64000,
83 .refresh = 64000,
92 .refresh = 64000,
101 .refresh = 64000,
110 .refresh = 64000,
215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
362 sdram->twr, sdram->refresh, sdram->cas_latency); in sa1110_clk_init()
Ds3c2412-cpufreq.c145 unsigned long refresh; in s3c2412_cpufreq_setrefresh() local
148 board->refresh, cfg->freq.hclk); in s3c2412_cpufreq_setrefresh()
155 refresh = (board->refresh / 10); in s3c2412_cpufreq_setrefresh()
156 refresh *= (cfg->freq.hclk / 100); in s3c2412_cpufreq_setrefresh()
157 refresh /= (1 * 1000 * 1000); /* 10^6 */ in s3c2412_cpufreq_setrefresh()
159 s3c_freq_dbg("%s: setting refresh 0x%08lx\n", __func__, refresh); in s3c2412_cpufreq_setrefresh()
160 __raw_writel(refresh, S3C2412_REFRESH); in s3c2412_cpufreq_setrefresh()
Ds5pv210-cpufreq.c103 unsigned long refresh; /* DRAM refresh counter * 1000 */ member
216 tmp1 = s5pv210_dram_conf[ch].refresh; in s5pv210_set_refresh()
537 s5pv210_dram_conf[0].refresh = (readl_relaxed(dmc_base[0] + 0x30) * 1000); in s5pv210_cpu_init()
540 s5pv210_dram_conf[1].refresh = (readl_relaxed(dmc_base[1] + 0x30) * 1000); in s5pv210_cpu_init()
/drivers/video/fbdev/core/
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()
Dmodedb.c549 mode->xres, mode->yres, bpp, mode->refresh); in fb_try_mode()
644 unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0; in fb_find_mode() local
656 refresh = simple_strtol(&name[i+1], NULL, in fb_find_mode()
723 (refresh) ? refresh : 60, in fb_find_mode()
731 cvt_mode.refresh = (refresh) ? refresh : 60; in fb_find_mode()
764 refresh = 1000; in fb_find_mode()
766 refresh = 60; in fb_find_mode()
778 int score = abs(db[i].refresh - refresh); in fb_find_mode()
786 db[i].refresh == refresh) in fb_find_mode()
864 mode->refresh = 0; in fb_var_to_videomode()
[all …]
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()
1348 fbmode->refresh = vm->pixelclock / (htotal * vtotal); in fb_videomode_from_videomode()
1351 fbmode->refresh = 0; in fb_videomode_from_videomode()
[all …]
/drivers/video/fbdev/via/
Dviamode.c341 int hres, int vres, int refresh) in get_best_mode() argument
350 if (!best || abs(modes[i].refresh - refresh) < in get_best_mode()
351 abs(best->refresh - refresh)) in get_best_mode()
358 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, int refresh) in viafb_get_best_mode() argument
361 hres, vres, refresh); in viafb_get_best_mode()
365 int refresh) in viafb_get_best_rb_mode() argument
368 hres, vres, refresh); in viafb_get_best_rb_mode()
Dviamode.h45 int refresh);
47 int refresh);
Dioctl.h84 unsigned short refresh; member
105 u32 refresh; member
Dviafbdev.c188 int depth, refresh; in viafb_check_var() local
239 refresh = viafb_get_refresh(var->xres, var->yres, in viafb_check_var()
244 viafb_get_best_mode(var->xres, var->yres, refresh)); in viafb_check_var()
255 int refresh; in viafb_set_par() local
276 refresh = get_var_refresh(&info->var); in viafb_set_par()
279 viafb_refresh1 = refresh; in viafb_set_par()
282 viafb_refresh = refresh; in viafb_set_par()
424 u.viamode.refresh = (u32) viafb_hotplug_refresh; in viafb_ioctl()
518 u.active_dev.refresh = viafb_refresh; in viafb_ioctl()
/drivers/media/pci/cx18/
Dcx18-cards.c77 .refresh = 0x30c,
124 .refresh = 0x30c,
171 .refresh = 0x30c,
224 .refresh = 0x753,
277 .refresh = 0x3bd,
337 .refresh = 0x3bd,
393 .refresh = 0x753,
441 .refresh = 0x3bb,
490 .refresh = 0x3bb,
543 .refresh = 0x3bb,
Dcx18-cards.h100 u32 refresh; member
/drivers/fpga/
Dmachxo2-spi.c141 static const u8 refresh[] = LSC_REFRESH; in machxo2_cleanup() local
158 tx[1].tx_buf = &refresh; in machxo2_cleanup()
159 tx[1].len = sizeof(refresh); in machxo2_cleanup()
293 static const u8 refresh[] = LSC_REFRESH; in machxo2_write_complete() local
318 tx[1].tx_buf = &refresh; in machxo2_write_complete()
319 tx[1].len = sizeof(refresh); in machxo2_write_complete()
/drivers/gpu/drm/i915/display/
Dintel_tv.c312 u16 refresh; /* in millihertz (for precision) */ member
383 .refresh = 59940,
426 .refresh = 59940,
468 .refresh = 59940,
511 .refresh = 59940,
555 .refresh = 50000,
600 .refresh = 50000,
642 .refresh = 59940,
666 .refresh = 50000,
690 .refresh = 60000,
[all …]
/drivers/video/fbdev/
Dfsl-diu-fb.c57 .refresh = 60,
71 .refresh = 60,
85 .refresh = 60,
99 .refresh = 72,
113 .refresh = 75,
127 .refresh = 90,
141 .refresh = 100,
155 .refresh = 60,
169 .refresh = 60,
183 .refresh = 60,
[all …]
Dpxa168fb.c261 if (!m || !m->pixclock || !m->refresh) { in set_clock_divider()
566 u32 total_w, total_h, refresh; in pxa168fb_init_mode() local
573 refresh = DEFAULT_REFRESH; in pxa168fb_init_mode()
594 do_div(div_result, total_w * total_h * refresh); in pxa168fb_init_mode()
Dacornfb.c675 .refresh = 60,
991 hs = modedb[i].refresh * in acornfb_probe()
996 modedb[i].refresh >= fb_info.monspecs.vfmin && in acornfb_probe()
997 modedb[i].refresh <= fb_info.monspecs.vfmax && in acornfb_probe()
Dmx3fb.c136 .refresh = 60,
154 .refresh = 60,
172 .refresh = 60,
188 .refresh = 60,
204 .refresh = 50,
220 .refresh = 60,
/drivers/gpu/drm/selftests/
Dtest-drm_cmdline_parser.c338 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_refresh()
374 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh()
400 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_interlaced()
426 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_margins()
452 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_force_off()
489 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_force_on()
515 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_force_on_analog()
544 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_force_on_digital()
570 FAIL_ON(mode.refresh != 60); in drm_cmdline_test_res_bpp_refresh_interlaced_margins_force_on()
/drivers/staging/olpc_dcon/
DTODO6 drm damage tracking and self-refresh helpers.
7 This bolted-on self-refresh support that digs around in fbdev
/drivers/gpu/drm/
Ddrm_modes.c785 int refresh = 0; in drm_mode_vrefresh() local
788 refresh = mode->vrefresh; in drm_mode_vrefresh()
802 refresh = DIV_ROUND_CLOSEST(num, den); in drm_mode_vrefresh()
804 return refresh; in drm_mode_vrefresh()
1440 unsigned int refresh; in drm_mode_parse_cmdline_refresh() local
1446 refresh = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_refresh()
1450 mode->refresh = refresh; in drm_mode_parse_cmdline_refresh()
1892 cmd->refresh_specified ? cmd->refresh : 60, in drm_mode_create_from_cmdline_mode()
1898 cmd->refresh_specified ? cmd->refresh : 60, in drm_mode_create_from_cmdline_mode()
/drivers/gpu/drm/panel/
Dpanel-olimex-lcd-olinuxino.c38 u32 refresh; member
163 lcd_mode->refresh); in lcd_olinuxino_get_modes()
180 mode->vrefresh = lcd_mode->refresh; in lcd_olinuxino_get_modes()
Dpanel-sharp-lq101r1sx01.c42 unsigned int refresh = drm_mode_vrefresh(sharp->mode); in sharp_wait_frames() local
44 if (WARN_ON(frames > refresh)) in sharp_wait_frames()
47 msleep(1000 / (refresh / frames)); in sharp_wait_frames()
/drivers/video/fbdev/mmp/fb/
Dmmpfb.c230 mode->refresh = videomode->refresh; in fbmode_to_mmpmode()
256 videomode->refresh = mode->refresh; in mmpmode_to_fbmode()
/drivers/video/fbdev/mmp/panel/
Dtpo_tj032md01bw.c98 .refresh = 60,

123