Lines Matching refs:refresh
353 uint64_t refresh; in drm_refresh_rate_mHz() local
356 refresh = (info->clock * 1000000LL / info->htotal + in drm_refresh_rate_mHz()
360 refresh *= 2; in drm_refresh_rate_mHz()
362 refresh /= 2; in drm_refresh_rate_mHz()
364 refresh /= info->vscan; in drm_refresh_rate_mHz()
366 return refresh; in drm_refresh_rate_mHz()
392 mode->base.refresh = drm_refresh_rate_mHz(info); in drm_output_add_mode()
444 m->width, m->height, m->refresh / 1000.0, in drm_output_print_modes()
480 (output->base.current_mode->refresh == target_mode->refresh || in drm_output_choose_mode()
481 target_mode->refresh == 0)) { in drm_output_choose_mode()
491 if (mode->base.refresh == target_mode->refresh || in drm_output_choose_mode()
492 target_mode->refresh == 0) { in drm_output_choose_mode()
565 uint32_t refresh = 0; in drm_output_choose_initial_mode() local
573 &refresh, &aspect_width, &aspect_height); in drm_output_choose_initial_mode()
604 (refresh == 0 || refresh == drm_mode->mode_info.vrefresh)) { in drm_output_choose_initial_mode()