Lines Matching full:refresh
109 /* the CVT default refresh rate is 60Hz */ in drm_cvt_mode()
608 * Vertical refresh rate. It will be the result of actual value plus 0.5.
614 int refresh = 0; in drm_mode_vrefresh() local
618 refresh = mode->vrefresh; in drm_mode_vrefresh()
625 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh()
628 refresh *= 2; in drm_mode_vrefresh()
630 refresh /= 2; in drm_mode_vrefresh()
632 refresh /= mode->vscan; in drm_mode_vrefresh()
634 return refresh; in drm_mode_vrefresh()
987 * <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd]
998 unsigned int xres = 0, yres = 0, bpp = 32, refresh = 0; in drm_mode_parse_command_line_for_connector() local
1021 refresh = simple_strtol(&name[i+1], NULL, 10); in drm_mode_parse_command_line_for_connector()
1124 mode->refresh = refresh; in drm_mode_parse_command_line_for_connector()
1150 cmd->refresh_specified ? cmd->refresh : 60, in drm_mode_create_from_cmdline_mode()
1156 cmd->refresh_specified ? cmd->refresh : 60, in drm_mode_create_from_cmdline_mode()