| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_drrs.c | 77 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_pipeconf() argument 89 bit, refresh_rate == DRRS_REFRESH_RATE_LOW ? bit : 0); in intel_drrs_set_refresh_rate_pipeconf() 94 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_m_n() argument 97 refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_set_refresh_rate_m_n() 107 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_state() argument 111 if (refresh_rate == crtc->drrs.refresh_rate) in intel_drrs_set_state() 115 intel_drrs_set_refresh_rate_pipeconf(crtc, refresh_rate); in intel_drrs_set_state() 117 intel_drrs_set_refresh_rate_m_n(crtc, refresh_rate); in intel_drrs_set_state() 119 crtc->drrs.refresh_rate = refresh_rate; in intel_drrs_set_state() 334 crtc->drrs.refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_debugfs_status_show()
|
| A D | intel_vbt_defs.h | 607 u8 refresh_rate[3]; member 723 u16 refresh_rate; member 923 u8 refresh_rate; member
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| A D | dcn32_resource_helpers.c | 486 int refresh_rate = 0; in get_refresh_rate() local 503 return refresh_rate; in get_refresh_rate() 517 int refresh_rate = 0; in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch() local 573 if (refresh_rate < minimum_refreshrate_supported) in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch() 652 uint64_t refresh_rate = 0; in dcn32_subvp_drr_admissable() local 667 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in dcn32_subvp_drr_admissable() 668 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); in dcn32_subvp_drr_admissable() 682 ((uint32_t)refresh_rate < 120)) in dcn32_subvp_drr_admissable() 713 uint64_t refresh_rate = 0; in dcn32_subvp_vblank_admissable() local 728 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in dcn32_subvp_vblank_admissable() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dsc/ |
| A D | dc_dsc.c | 1154 struct fixed31_32 refresh_rate; in dc_dsc_stream_bandwidth_overhead_in_kbps() local 1160 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1161 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1162 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1163 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1169 max_dsc_overhead = dc_fixpt_mul(max_dsc_overhead, refresh_rate); in dc_dsc_stream_bandwidth_overhead_in_kbps()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| A D | dcn32_fpu.c | 612 unsigned int refresh_rate = 0; in dcn32_assign_subvp_pipe() local 990 uint64_t refresh_rate = 0; in subvp_subvp_admissable() local 1002 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in subvp_subvp_admissable() 1003 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); in subvp_subvp_admissable() 3388 uint32_t refresh_rate = 0; in dcn32_allow_subvp_with_active_margin() local 3399 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in dcn32_allow_subvp_with_active_margin() 3400 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); in dcn32_allow_subvp_with_active_margin() 3402 if (refresh_rate >= min_refresh && refresh_rate <= max_refresh && in dcn32_allow_subvp_with_active_margin() 3430 uint32_t refresh_rate = 0; in dcn32_allow_subvp_high_refresh_rate() local 3450 min_refresh = refresh_rate; in dcn32_allow_subvp_high_refresh_rate() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| A D | rs780_dpm.h | 49 int refresh_rate; member
|
| A D | rs780_dpm.c | 59 pi->refresh_rate = 60; in rs780_get_pm_mode_parameters() 67 pi->refresh_rate = drm_mode_vrefresh(&crtc->mode); in rs780_get_pm_mode_parameters() 366 WREG32(FVTHROT_TARGET_REG, 30000000 / pi->refresh_rate); in rs780_program_at() 367 WREG32(FVTHROT_CB1, 1000000 * 5 / pi->refresh_rate); in rs780_program_at() 368 WREG32(FVTHROT_CB2, 1000000 * 10 / pi->refresh_rate); in rs780_program_at() 369 WREG32(FVTHROT_CB3, 1000000 * 30 / pi->refresh_rate); in rs780_program_at() 370 WREG32(FVTHROT_CB4, 1000000 * 50 / pi->refresh_rate); in rs780_program_at()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| A D | dce_mem_input.c | 678 uint32_t refresh_rate; in get_dmif_switch_time_us() local 698 refresh_rate = pixels_per_second / pixels_per_frame; in get_dmif_switch_time_us() 700 if (!refresh_rate) { in get_dmif_switch_time_us() 702 ASSERT(refresh_rate); in get_dmif_switch_time_us() 706 frame_time = us_in_sec / refresh_rate; in get_dmif_switch_time_us()
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| A D | audio_types.h | 53 uint32_t refresh_rate; member
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
| A D | dcn32_clk_mgr.c | 573 uint64_t refresh_rate; in dcn32_auto_dpm_test_log() local 578 refresh_rate = (curr_pipe_ctx->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_auto_dpm_test_log() 580 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn32_auto_dpm_test_log() 581 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn32_auto_dpm_test_log() 582 disp_src_refresh_list[i] = refresh_rate; in dcn32_auto_dpm_test_log()
|
| /linux/drivers/gpu/drm/ast/ |
| A D | ast_mode.c | 114 u32 refresh_rate_index = 0, refresh_rate; in ast_get_vbios_mode_info() local 178 refresh_rate = drm_mode_vrefresh(mode); in ast_get_vbios_mode_info() 184 while (loop->refresh_rate != 0xff) { in ast_get_vbios_mode_info() 197 if (loop->refresh_rate <= refresh_rate in ast_get_vbios_mode_info() 198 && (!best || loop->refresh_rate > best->refresh_rate)) in ast_get_vbios_mode_info()
|
| A D | ast_drv.h | 367 u32 refresh_rate; member
|
| /linux/include/video/ |
| A D | uvesafb.h | 18 u16 refresh_rate; member
|
| /linux/drivers/video/fbdev/sis/ |
| A D | sis_main.c | 1223 ivideo->refresh_rate = 60; in sisfb_do_set_var() 1259 ivideo->refresh_rate = 60; in sisfb_do_set_var() 1519 refresh_rate = 60; in sisfb_check_var() 1533 refresh_rate = in sisfb_check_var() 1539 refresh_rate = 60; in sisfb_check_var() 1550 refresh_rate = 60; in sisfb_check_var() 1572 myrateindex, refresh_rate)) { in sisfb_check_var() 5925 ivideo->refresh_rate = 0; in sisfb_probe() 6381 ivideo->refresh_rate = 60; in sisfb_probe() 6388 ivideo->refresh_rate)) { in sisfb_probe() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/optc/dcn20/ |
| A D | dcn20_optc.c | 498 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc, uint32_t *refresh_rate) in optc2_get_last_used_drr_vtotal() argument 502 REG_GET(OTG_DRR_CONTROL, OTG_V_TOTAL_LAST_USED_BY_DRR, refresh_rate); in optc2_get_last_used_drr_vtotal()
|
| A D | dcn20_optc.h | 85 uint32_t *refresh_rate);
|
| /linux/drivers/auxdisplay/ |
| A D | ht16k33.c | 84 uint32_t refresh_rate; member 213 schedule_delayed_work(&priv->work, HZ / fbdev->refresh_rate); in ht16k33_fb_queue() 611 &fbdev->refresh_rate); in ht16k33_fbdev_probe()
|
| /linux/drivers/video/fbdev/via/ |
| A D | share.h | 305 int refresh_rate; member
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/ |
| A D | dcn401_clk_mgr.c | 449 uint64_t refresh_rate; in dcn401_auto_dpm_test_log() local 454 refresh_rate = (curr_pipe_ctx->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn401_auto_dpm_test_log() 457 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn401_auto_dpm_test_log() 458 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn401_auto_dpm_test_log() 459 disp_src_refresh_list[i] = refresh_rate; in dcn401_auto_dpm_test_log()
|
| /linux/drivers/iio/temperature/ |
| A D | mlx90632.c | 86 #define MLX90632_REFRESH_RATE_STATUS(refresh_rate) (refresh_rate << 8) argument 928 int *refresh_rate) in mlx90632_get_refresh_rate() argument 937 *refresh_rate = MLX90632_REFRESH_RATE(meas1); in mlx90632_get_refresh_rate()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2/ |
| A D | dml2_mall_phantom.c | 240 unsigned int refresh_rate = 0; in assign_subvp_pipe() local 246 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in assign_subvp_pipe() 256 …nfig.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe) == SUBVP_NONE && refresh_rate < 120 && in assign_subvp_pipe()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| A D | dcn30_resource.c | 1886 int refresh_rate = 0; in get_refresh_rate() local 1902 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate() 1903 return refresh_rate; in get_refresh_rate() 1964 int refresh_rate = 0; in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() local 1987 refresh_rate = get_refresh_rate(context); in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() 1988 if (refresh_rate < minimum_refreshrate_supported) in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| A D | timing_generator.h | 245 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate);
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| A D | dc_stream.h | 530 uint32_t *refresh_rate);
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| A D | display_mode_structs.h | 535 unsigned int refresh_rate; member
|