Home
last modified time | relevance | path

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

123

/drivers/video/
Dmodedb.c498 mode->xres, mode->yres, bpp, mode->refresh); in fb_try_mode()
591 unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0; in fb_find_mode() local
602 refresh = simple_strtol(&name[i+1], NULL, in fb_find_mode()
661 (refresh) ? refresh : 60, in fb_find_mode()
669 cvt_mode.refresh = (refresh) ? refresh : 60; in fb_find_mode()
702 refresh = 1000; in fb_find_mode()
704 refresh = 60; in fb_find_mode()
714 if (refresh_specified && db[i].refresh == refresh) in fb_find_mode()
717 if (abs(db[i].refresh - refresh) < diff) { in fb_find_mode()
718 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.c385 static void calc_mode_timings(int xres, int yres, int refresh, in calc_mode_timings() argument
396 refresh, var, NULL); in calc_mode_timings()
400 mode->refresh = refresh; in calc_mode_timings()
501 int xres, yres = 0, refresh, ratio, i; in get_std_timing() local
526 refresh = (block[1] & 0x3f) + 60; in get_std_timing()
528 DPRINTK(" %dx%d@%dHz\n", xres, yres, refresh); in get_std_timing()
532 vesa_modes[i].refresh == refresh) { in get_std_timing()
538 calc_mode_timings(xres, yres, refresh, mode); in get_std_timing()
573 mode->refresh = PIXEL_CLOCK/((H_ACTIVE + H_BLANKING) * in get_detailed_timing()
1050 pr_debug("Adding %ux%u@%u\n", m[i].xres, m[i].yres, m[i].refresh); in fb_edid_add_monspecs()
[all …]
Dfsl-diu-fb.c60 .refresh = 60,
74 .refresh = 60,
88 .refresh = 60,
102 .refresh = 72,
116 .refresh = 75,
130 .refresh = 90,
144 .refresh = 100,
158 .refresh = 60,
172 .refresh = 60,
186 .refresh = 60,
[all …]
Dsh_mobile_hdmi.c838 mode->refresh, *parent_rate); in sh_hdmi_rate_error()
949 if (f_refresh == mode->refresh || (!f_refresh && !rate_error)) in sh_hdmi_read_edid()
997 if (found->xres == 640 && found->yres == 480 && found->refresh == 60) in sh_hdmi_read_edid()
999 else if (found->xres == 720 && found->yres == 480 && found->refresh == 60) in sh_hdmi_read_edid()
1001 else if (found->xres == 720 && found->yres == 576 && found->refresh == 50) in sh_hdmi_read_edid()
1003 else if (found->xres == 1280 && found->yres == 720 && found->refresh == 60) in sh_hdmi_read_edid()
1005 else if (found->xres == 1920 && found->yres == 1080 && found->refresh == 24) in sh_hdmi_read_edid()
1007 else if (found->xres == 1920 && found->yres == 1080 && found->refresh == 50) in sh_hdmi_read_edid()
1009 else if (found->xres == 1920 && found->yres == 1080 && found->refresh == 60) in sh_hdmi_read_edid()
1017 found->yres, found->refresh, PICOS2KHZ(found->pixclock) * 1000, in sh_hdmi_read_edid()
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()
Dmx3fb.c138 .refresh = 60,
156 .refresh = 60,
174 .refresh = 60,
190 .refresh = 60,
206 .refresh = 50,
222 .refresh = 60,
/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()
395 sdram->twr, sdram->refresh, sdram->cas_latency); in sa1110_clk_init()
Ds5pv210-cpufreq.c57 unsigned long refresh; /* DRAM refresh counter * 1000 */ member
170 tmp1 = s5pv210_dram_conf[ch].refresh; in s5pv210_set_refresh()
548 s5pv210_dram_conf[0].refresh = (__raw_readl(S5P_VA_DMC0 + 0x30) * 1000); in s5pv210_cpu_init()
551 s5pv210_dram_conf[1].refresh = (__raw_readl(S5P_VA_DMC1 + 0x30) * 1000); in s5pv210_cpu_init()
/drivers/video/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.h118 u32 refresh; member
/drivers/gpu/drm/
Ddrm_modes.c702 int refresh = 0; in drm_mode_vrefresh() local
706 refresh = mode->vrefresh; in drm_mode_vrefresh()
713 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh()
716 refresh *= 2; in drm_mode_vrefresh()
718 refresh /= 2; in drm_mode_vrefresh()
720 refresh /= mode->vscan; in drm_mode_vrefresh()
722 return refresh; in drm_mode_vrefresh()
1101 unsigned int xres = 0, yres = 0, bpp = 32, refresh = 0; in drm_mode_parse_command_line_for_connector() local
1124 refresh = simple_strtol(&name[i+1], NULL, 10); in drm_mode_parse_command_line_for_connector()
1228 mode->refresh = refresh; in drm_mode_parse_command_line_for_connector()
[all …]
/drivers/gpu/drm/i915/
Dintel_tv.c354 int refresh; /* in millihertz (for precision) */ member
419 .refresh = 59940,
462 .refresh = 59940,
504 .refresh = 59940,
547 .refresh = 59940,
591 .refresh = 50000,
636 .refresh = 50000,
678 .refresh = 59940,
702 .refresh = 50000,
726 .refresh = 60000,
[all …]
/drivers/video/adf/
Dadf.c1146 int refresh = 0; in adf_modeinfo_set_vrefresh() local
1158 refresh = (calc_val + mode->vtotal / 2) / mode->vtotal; in adf_modeinfo_set_vrefresh()
1161 refresh *= 2; in adf_modeinfo_set_vrefresh()
1163 refresh /= 2; in adf_modeinfo_set_vrefresh()
1165 refresh /= mode->vscan; in adf_modeinfo_set_vrefresh()
1167 mode->vrefresh = refresh; in adf_modeinfo_set_vrefresh()
Dadf_fbdev.c125 vmode->refresh = mode->vrefresh; in adf_modeinfo_to_fb_videomode()
187 if (vmode->refresh) in adf_modeinfo_from_fb_videomode()
188 mode->vrefresh = vmode->refresh; in adf_modeinfo_from_fb_videomode()
/drivers/staging/xgifb/
DXGI_main_26.c556 if (XGIfb_vrate[i].refresh == rate) { in XGIfb_search_refresh_rate()
559 } else if (XGIfb_vrate[i].refresh > rate) { in XGIfb_search_refresh_rate()
560 if ((XGIfb_vrate[i].refresh - rate) <= 3) { in XGIfb_search_refresh_rate()
562 rate, XGIfb_vrate[i].refresh); in XGIfb_search_refresh_rate()
566 XGIfb_vrate[i].refresh; in XGIfb_search_refresh_rate()
567 } else if (((rate - XGIfb_vrate[i - 1].refresh) in XGIfb_search_refresh_rate()
572 XGIfb_vrate[i-1].refresh); in XGIfb_search_refresh_rate()
576 XGIfb_vrate[i - 1].refresh; in XGIfb_search_refresh_rate()
579 } else if ((rate - XGIfb_vrate[i].refresh) <= 2) { in XGIfb_search_refresh_rate()
581 rate, XGIfb_vrate[i].refresh); in XGIfb_search_refresh_rate()
DXGI_main.h188 u16 refresh; member
/drivers/staging/media/dt3155v4l/
DKconfig15 bool "Selects CCIR/50Hz vertical refresh"
/drivers/gpu/drm/exynos/
Dexynos_drm_connector.c40 mode->vrefresh = timing->refresh; in convert_to_display_mode()
71 timing->refresh = drm_mode_vrefresh(mode); in convert_to_video_timing()
/drivers/video/mmp/fb/
Dmmpfb.c243 mode->refresh = videomode->refresh; in fbmode_to_mmpmode()
269 videomode->refresh = mode->refresh; in mmpmode_to_fbmode()
/drivers/video/mmp/panel/
Dtpo_tj032md01bw.c111 .refresh = 60,

123