drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
10019
if (!new_stream->timing.h_total || !new_stream->timing.v_total)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
614
unsigned int v_total, refresh_hz;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
617
v_total = stream->adjust.v_total_max ?
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
618
stream->adjust.v_total_max : stream->timing.v_total;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
620
100LL, (v_total * stream->timing.h_total));
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7055
timing_out->v_total = mode_in->vtotal;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7065
timing_out->v_total = mode_in->crtc_vtotal;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7213
(stream_set[j]->timing.h_total*stream_set[j]->timing.v_total);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
9687
timing->v_total *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
9930
if (!new_stream->timing.h_total || !new_stream->timing.v_total)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c
138
uint32_t v_total, h_total;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c
147
v_total = stream->timing.v_total;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c
150
one_frame_ns = div64_u64(v_total * h_total * 10000000ull,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c
171
uint32_t v_total, h_total;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c
188
v_total = stream->timing.v_total;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c
191
one_frame_ns = div64_u64(v_total * h_total * 10000000ull,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c
159
calculate_replay_link_off_frame_count(link, stream->timing.v_total,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c
162
nom_coasting_vtotal = stream->timing.v_total;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
280
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
299
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
321
stream->timing.v_total = 2250;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
352
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
366
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
381
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
402
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
436
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
471
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
508
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
555
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
597
stream->timing.v_total = 1125;
drivers/gpu/drm/amd/display/dc/basics/calcs_logger.h
421
DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] v_total[%d]:%d", i, bw_fixed_to_int(data->v_total[i]));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1436
data->v_blank_dram_speed_change_margin[k] = bw_sub(bw_sub(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[k], bw_sub(bw_div(data->src_height[k], data->v_scale_ratio[k]), bw_int_to_fixed(4)))), data->h_total[k]), data->pixel_rate[k]), vbios->nbp_state_change_latency), data->dmif_burst_time[low][s_low]), data->dram_speed_change_line_source_transfer_time[k][low][s_low]);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1440
data->v_blank_dram_speed_change_margin[k] = bw_sub(bw_sub(bw_sub(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[k], bw_sub(bw_div(data->src_height[k], data->v_scale_ratio[k]), bw_int_to_fixed(4)))), data->h_total[k]), data->pixel_rate[k]), vbios->nbp_state_change_latency), data->dmif_burst_time[low][s_low]), data->mcifwr_burst_time[low][s_low]), data->dram_speed_change_line_source_transfer_time[k][low][s_low]);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1998
data->v_blank_nbp_state_dram_speed_change_latency_supported = bw_min2(data->v_blank_nbp_state_dram_speed_change_latency_supported, bw_add(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[i], bw_sub(bw_div(data->src_height[i], data->v_scale_ratio[i]), bw_int_to_fixed(4)))), data->h_total[i]), data->pixel_rate[i]), data->nbp_state_change_watermark[i]), vbios->nbp_state_change_latency));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
259
data->v_total[0] = data->v_total[4];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
261
data->v_total[1] = data->v_total[4];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
264
data->v_total[2] = data->v_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
266
data->v_total[3] = data->v_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
2823
data->v_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
2922
data->v_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
397
data->v_total[maximum_number_of_surfaces - 2] = data->v_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
398
data->v_total[maximum_number_of_surfaces - 1] = data->v_total[5];
drivers/gpu/drm/amd/display/dc/bios/command_table.c
2101
params.usV_Total = cpu_to_le16((uint16_t)(bp_params->v_total));
drivers/gpu/drm/amd/display/dc/bios/command_table.c
2179
cpu_to_le16((uint16_t)(bp_params->v_total - bp_params->v_addressable));
drivers/gpu/drm/amd/display/dc/bios/command_table2.c
633
cpu_to_le16((uint16_t)(bp_params->v_total -
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
159
cfg->v_refresh = (cfg->v_refresh + stream->timing.v_total / 2)
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
160
/ stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
89
uint32_t vertical_total_min = stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
591
curr_pipe_ctx->stream->timing.v_total * (uint64_t)curr_pipe_ctx->stream->timing.h_total - (uint64_t)1);
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
592
refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
482
curr_pipe_ctx->stream->timing.v_total
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
484
refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/core/dc.c
1899
if (crtc_timing->v_total != hw_crtc_timing.v_total) {
drivers/gpu/drm/amd/display/dc/core/dc.c
2378
context->streams[i]->timing.v_total,
drivers/gpu/drm/amd/display/dc/core/dc.c
7797
state->optc[i].otg_v_total = timing->v_total;
drivers/gpu/drm/amd/display/dc/core/dc.c
7799
state->optc[i].otg_v_blank_end = timing->v_total - timing->v_front_porch;
drivers/gpu/drm/amd/display/dc/core/dc.c
7807
state->optc[i].otg_v_total_max = timing->v_total + 100; /* Typical DRR range */
drivers/gpu/drm/amd/display/dc/core/dc.c
7808
state->optc[i].otg_v_total_min = timing->v_total - 50;
drivers/gpu/drm/amd/display/dc/core/dc.c
7809
state->optc[i].otg_v_total_mid = timing->v_total;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5009
hdmi_info.bits.bar_bottom = (uint16_t)(stream->timing.v_total
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5118
asic_blank_start = tg->v_total - tg->v_front_porch;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5125
v_update = (tg->v_total - (vstartup_start - asic_blank_end));
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5127
sdp_line_num->adaptive_sync_line_num = (tg->v_total - v_update - 1);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
653
stream1->timing.v_total > 60)
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
656
stream2->timing.v_total > 60)
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
660
stream1->timing.v_total *
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
664
frame_time_diff = div_u64(frame_time_diff, stream2->timing.v_total);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
684
if (stream1->timing.v_total != stream2->timing.v_total)
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1195
return (int)div64_s64((long long)stream->timing.pix_clk_100hz*100, stream->timing.v_total*(long long)stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1241
if (stream->timing.v_total * stream->timing.h_total == 0)
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1244
int current_refresh_hz = (int)div64_s64((long long)stream->timing.pix_clk_100hz*100, stream->timing.v_total*(long long)stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1255
return (((int) stream->timing.v_total - safe_refresh_v_total) >= 0) ? (stream->timing.v_total - safe_refresh_v_total) : 0;
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
1257
return ((safe_refresh_v_total - (int) stream->timing.v_total) >= 0) ? (safe_refresh_v_total - stream->timing.v_total) : 0;
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
963
stream->timing.v_total,
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
1267
cntl->data.v_total_max = stream->adjust.v_total_max > stream->timing.v_total ?
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
1269
stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
616
drr_frame_us = div64_u64(((uint64_t)drr_timing->v_total * drr_timing->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
625
prefetch_us = div64_u64(((uint64_t)(phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
693
pipe_data->pipe_config.vblank_data.vblank_start = (uint16_t)(vblank_pipe->stream->timing.v_total -
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
695
pipe_data->pipe_config.vblank_data.vtotal = (uint16_t)vblank_pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
700
(uint16_t)(vblank_pipe->stream->timing.v_total -
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
747
subvp0_prefetch_us = (uint32_t)div64_u64(((uint64_t)(phantom_timing0->v_total - phantom_timing0->v_front_porch) *
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
750
subvp1_prefetch_us = (uint32_t)div64_u64(((uint64_t)(phantom_timing1->v_total - phantom_timing1->v_front_porch) *
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
809
pipe_data->pipe_config.subvp_data.vtotal = (uint16_t)subvp_pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
811
(uint16_t)(main_timing->v_total - main_timing->v_front_porch);
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
813
(uint16_t)(main_timing->v_total - main_timing->v_front_porch - main_timing->v_addressable);
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
835
(uint16_t)(phantom_timing->v_total - phantom_timing->v_front_porch);
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
952
uint32_t v_total;
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
696
uint32_t v_total,
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
708
if (!h_total || v_total || !pix_clk_khz)
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
713
pixels_per_frame = h_total * v_total;
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
743
uint32_t v_total,
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
751
v_total,
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
289
hw_crtc_timing.v_total /= 2;
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
466
DP_MSA_VTOTAL, hw_crtc_timing.v_total);
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
482
v_active_start = hw_crtc_timing.v_total - hw_crtc_timing.v_border_top -
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
974
uint32_t v_total,/* for current stream */
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
979
(void)v_total;
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
1147
timing->v_total > tg110->max_v_total)
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
313
bp_params.v_total = patched_crtc_timing.v_total;
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
632
timing->v_total - 1,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
644
timing->v_total - 1,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
653
timing->v_total - 1,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
684
tmp = timing->v_total - (v_sync_start + timing->v_border_top);
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c
271
timing->v_total - 1,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c
302
tmp = timing->v_total - (v_sync_start + timing->v_border_top);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
108
(timing->v_total - timing->v_addressable -
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
452
timing->v_total - 1);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
460
timing->v_total - 1);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
465
timing->v_total - 1);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
477
tmp1 = timing->v_total - (v_sync_start + timing->v_border_top);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
629
timing->v_total - timing->v_addressable -
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c
458
s.v_total,
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
268
hw_crtc_timing.v_total /= 2;
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
421
DP_MSA_VTOTAL, hw_crtc_timing.v_total);
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
437
v_active_start = hw_crtc_timing.v_total - hw_crtc_timing.v_border_top -
drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
465
hw_crtc_timing.v_total /= 2;
drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
663
DP_MSA_VTOTAL, hw_crtc_timing.v_total);
drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
679
v_active_start = hw_crtc_timing.v_total - hw_crtc_timing.v_border_top -
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
1218
pipe->pipe_dlg_param.vtotal = pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
1223
asic_blank_end = (pipe->stream->timing.v_total -
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
1259
hsplit_pipe->pipe_dlg_param.vtotal = pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
438
input->dest.vtotal = pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
909
v->vtotal[input_idx] = (float)pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
912
v->v_sync_plus_back_porch[input_idx] = (float)(pipe->stream->timing.v_total
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1128
asic_blank_start = patched_crtc_timing.v_total -
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1357
unsigned int v_total;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1365
v_total = timing->v_total;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1384
(v_total - timing->v_addressable
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1399
pipes[pipe_cnt].pipe.dest.vblank_start = v_total - front_porch;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1405
pipes[pipe_cnt].pipe.dest.vtotal = v_total;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1587
pipes[pipe_cnt].pipe.dest.vtotal_min = v_total;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1588
pipes[pipe_cnt].pipe.dest.vtotal_max = v_total;
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c
301
v_blank = timing->v_total - v_active;
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c
337
pipes[pipe_cnt].pipe.dest.vtotal = timing->v_total;
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c
341
pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive;
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
1006
pipe->stream->timing.v_total * (uint64_t)pipe->stream->timing.h_total - (uint64_t)1);
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
1007
refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3381
(uint64_t)pipe->stream->timing.v_total * pipe->stream->timing.h_total - (uint64_t)1);
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3382
refresh_rate = (uint32_t)div_u64(refresh_rate, pipe->stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3429
pipe_ctx->stream->timing.v_total * pipe_ctx->stream->timing.h_total - 1)
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3430
/ (double)(pipe_ctx->stream->timing.v_total * pipe_ctx->stream->timing.h_total));
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3439
pipe->stream->timing.v_total * pipe->stream->timing.h_total - 1)
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3440
/ (double)(pipe->stream->timing.v_total * pipe->stream->timing.h_total));
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
3560
blank_us = (unsigned int)(((pipe->stream->timing.v_total - pipe->stream->timing.v_addressable) * pipe->stream->timing.h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
544
phantom_stream->timing.v_total = phantom_stream->timing.v_addressable +
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
622
pipe->stream->timing.v_total * pipe->stream->timing.h_total - 1)
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
623
/ (double)(pipe->stream->timing.v_total * pipe->stream->timing.h_total));
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
650
unsigned int frame_us = (unsigned int)((stream->timing.v_total * stream->timing.h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
749
microschedule_lines = (phantom->timing.v_total - phantom->timing.v_front_porch) +
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
772
vblank1_us = (int32_t)((((subvp_pipes[0]->stream->timing.v_total - subvp_pipes[0]->stream->timing.v_addressable) *
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
775
vblank2_us = (int32_t)((((subvp_pipes[1]->stream->timing.v_total - subvp_pipes[1]->stream->timing.v_addressable) *
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
858
prefetch_us = (uint16_t)((phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
863
drr_frame_us = (uint16_t)(drr_timing->v_total * drr_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
869
drr_stretched_vblank_us = (uint16_t)((drr_timing->v_total - drr_timing->v_addressable) * drr_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
953
prefetch_us = (uint16_t)((phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
959
vblank_frame_us = (uint16_t)(vblank_timing->v_total * vblank_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
961
vblank_blank_us = (uint16_t)((vblank_timing->v_total - vblank_timing->v_addressable) * vblank_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c
432
v_blank = timing->v_total - v_active;
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c
471
pipe->stream->adjust.v_total_min > timing->v_total) {
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c
474
pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total -
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c
478
pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive;
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
464
v_blank = timing->v_total - v_active;
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
503
pipe->stream->adjust.v_total_min > timing->v_total) {
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
506
pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total -
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
510
pipes[pipe_cnt].pipe.dest.vblank_nom = timing->v_total - pipes[pipe_cnt].pipe.dest.vactive;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
113
timing->v_total = stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
125
vblank_start = timing->v_total - timing->v_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
196
timing->vblank_nom = timing->v_total - timing->v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c
263
phantom_stream->timing.v_total = phantom_stream_descriptor->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_display_cfg_types.h
263
unsigned long v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c
274
phantom->timing.v_total = meta->v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c
277
phantom->timing.v_blank_end = phantom->timing.v_total - phantom->timing.v_front_porch - phantom->timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c
278
phantom->timing.vblank_nom = phantom->timing.v_total - phantom->timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10291
l->FrameTimeCriticalSurface = (isInterlaceTiming ? math_floor2((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total / 2.0, 1.0) : p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total) * (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10365
SingleVTotal = p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10368
SingleVTotal != p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_total) {
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11309
myPipe->VBlank = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11972
s->dlg_vblank_start = ((isInterlaceTiming ? math_floor2((display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch) / 2.0, 1.0) :
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11973
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total) - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11975
s->blank_lines_remaining = (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active) - mode_lib->mp.VStartup[k];
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11987
math_floor2((display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch - mode_lib->mp.VStartup[k]) / 2.0, 1.0) :
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11988
(int)(display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_front_porch - mode_lib->mp.VStartup[k]))) {
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
12000
DML_LOG_VERBOSE("DML::%s: k=%u, VTotal = %lu\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
12902
base_programming->vtotal = (uint16_t)stream_descriptor->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
13083
main_v_blank_lines = display_cfg->stream_descriptors[display_cfg->plane_descriptors[plane_index].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[plane_index].stream_index].timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
3725
unsigned int vblank_actual = timing->v_total - timing->v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7362
if (pstate_keepout_dst_lines[i] > stream_descriptor->timing.v_total - 1) {
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7363
pstate_keepout_dst_lines[i] = stream_descriptor->timing.v_total - 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7516
myPipe->VBlank = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total - display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9320
(double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.v_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_utils.c
580
phantom->timing.v_total = meta->v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_utils.c
583
phantom->timing.v_blank_end = phantom->timing.v_total - phantom->timing.v_front_porch - phantom->timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_utils.c
584
phantom->timing.vblank_nom = phantom->timing.v_total - phantom->timing.v_active;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
1862
stream_svp_meta->v_total = stream_pstate_meta->method_subvp.phantom_vtotal;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/inc/dml2_internal_shared_types.h
256
unsigned long v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
248
pipe->stream->timing.v_total * pipe->stream->timing.h_total - 1)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
249
/ (double)(pipe->stream->timing.v_total * pipe->stream->timing.h_total));
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
267
unsigned int frame_us = (unsigned int)((stream->timing.v_total * stream->timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
381
microschedule_lines = (phantom->timing.v_total - phantom->timing.v_front_porch) +
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
409
vblank1_us = (int32_t)(((subvp_pipes[0]->stream->timing.v_total - subvp_pipes[0]->stream->timing.v_addressable) *
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
412
vblank2_us = (int32_t)(((subvp_pipes[1]->stream->timing.v_total - subvp_pipes[1]->stream->timing.v_addressable) *
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
478
prefetch_us = (int32_t)((phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
483
drr_frame_us = (int32_t)(drr_timing->v_total * drr_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
489
drr_stretched_vblank_us = (int32_t)((drr_timing->v_total - drr_timing->v_addressable) * drr_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
584
prefetch_us = (uint32_t)((phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
590
vblank_frame_us = (uint32_t)(vblank_timing->v_total * vblank_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
592
vblank_blank_us = (uint32_t)((vblank_timing->v_total - vblank_timing->v_addressable) * vblank_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
731
phantom_stream->timing.v_total = phantom_stream->timing.v_addressable +
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
764
out->RefreshRate[location] = ((in->timing.pix_clk_100hz * 100) / in->timing.h_total) / in->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
770
out->VTotal[location] = in->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
777
vblank_start = in->timing.v_total - in->timing.v_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.c
250
vblank_start = pipe_ctx->stream->timing.v_total - pipe_ctx->stream->timing.v_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.c
266
pipe_ctx->pipe_dlg_param.vtotal = pipe_ctx->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.c
273
pipe_ctx->pipe_dlg_param.refresh_rate = ((timing->pix_clk_100hz * 100) / timing->h_total) / timing->v_total;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
2049
refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total);
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
2053
max_dsc_overhead = dc_fixpt_mul_int(max_dsc_overhead, timing->v_total);
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_stream_encoder.c
356
v_active_start = hw_crtc_timing.v_total - hw_crtc_timing.v_border_top -
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_stream_encoder.c
410
MSA_DATA_LANE_0, hw_crtc_timing.v_total >> 8,
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_stream_encoder.c
416
MSA_DATA_LANE_0, hw_crtc_timing.v_total & 0xff,
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
207
vblank_start = timing->v_total - timing->v_front_porch;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
1511
(stream->timing.h_total*stream->timing.v_total));
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
3258
pipe_ctx->stream->timing.v_total,
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
405
pipe_ctx->stream->timing.v_total,
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
143
lines_to_vupdate = stream->timing.v_total - vpos + vupdate_start;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
152
vupdate_end += stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
154
if (lines_to_vupdate > stream->timing.v_total - vupdate_end + vupdate_start)
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2262
lines_to_vupdate = stream->timing.v_total - vpos + vupdate_start;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2272
vupdate_end += stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2275
if (lines_to_vupdate > stream->timing.v_total - vupdate_end + vupdate_start)
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2404
pipe->stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2478
hw_crtc_timing[i].v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3996
asic_blank_end = (patched_crtc_timing.v_total -
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4015
*start_line = vupdate_pos - ((vupdate_pos / timing->v_total) * timing->v_total);
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4017
*start_line = vupdate_pos + ((-vupdate_pos / timing->v_total) + 1) * timing->v_total - 1;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4018
*end_line = (*start_line + 2) % timing->v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4038
*start_line = vline_pos - ((vline_pos / timing->v_total) * timing->v_total);
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4040
*start_line = vline_pos + ((-vline_pos / timing->v_total) + 1) * timing->v_total - 1;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4041
*end_line = (*start_line + 2) % timing->v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
4045
*end_line = (*start_line + 2) % timing->v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
677
s.v_total,
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
2479
&& pipe_ctx->stream->adjust.v_total_max > pipe_ctx->stream->timing.v_total)
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
959
udelay(stream->timing.v_total * (stream->timing.h_total * 10000u / stream->timing.pix_clk_100hz));
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1032
unsigned int v_total = stream->adjust.v_total_max ?
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1033
stream->adjust.v_total_max : stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1035
100LL, (v_total * stream->timing.h_total));
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
1478
unsigned int frame_rate = timing->pix_clk_100hz / (timing->h_total * timing->v_total);
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
1529
params.vertical_blank_start = timing->v_total - timing->v_front_porch;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1552
&& pipe_ctx->stream->adjust.v_total_max > pipe_ctx->stream->timing.v_total)
drivers/gpu/drm/amd/display/dc/inc/dce_calcs.h
389
struct bw_fixed v_total[maximum_number_of_surfaces];
drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h
137
uint32_t v_total,/* for current target */
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
161
uint32_t v_total;
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c
65
stream->timing.v_total),
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
816
psr_context->crtcTimingVerticalTotal = stream->timing.v_total;
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
819
stream->timing.v_total),
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
842
psr_context->hyst_lines = stream->timing.v_total / 2 / 100;
drivers/gpu/drm/amd/display/dc/opp/dcn10/dcn10_opp.c
333
uint32_t space1_size = timing->v_total - timing->v_addressable;
drivers/gpu/drm/amd/display/dc/opp/dcn10/dcn10_opp.c
335
uint32_t space2_size = timing->v_total - timing->v_addressable;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1326
hw_crtc_timing->v_total = s.v_total + 1;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1327
hw_crtc_timing->v_addressable = s.v_total - ((s.v_total - s.v_blank_start) + s.v_blank_end);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1328
hw_crtc_timing->v_front_porch = s.v_total + 1 - s.v_blank_start;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1351
OTG_V_TOTAL, &s->v_total);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
171
uint32_t v_total;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
222
v_total = patched_crtc_timing.v_total - 1;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
225
OTG_V_TOTAL, v_total);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
230
optc->funcs->set_vtotal_min_max(optc, v_total, v_total);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
240
asic_blank_start = patched_crtc_timing.v_total -
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
361
v_init = patched_crtc_timing.v_total - patched_crtc_timing.v_front_porch;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
602
v_blank = (timing->v_total - timing->v_addressable -
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
627
timing->v_total > optc1->max_v_total)
drivers/gpu/drm/amd/display/dc/optc/dcn201/dcn201_optc.c
100
timing->v_total > optc1->max_v_total)
drivers/gpu/drm/amd/display/dc/optc/dcn201/dcn201_optc.c
79
v_blank = (timing->v_total - timing->v_addressable -
drivers/gpu/drm/amd/display/dc/optc/dcn31/dcn31_optc.c
265
OTG_V_TOTAL, &s->v_total);
drivers/gpu/drm/amd/display/dc/resource/dce110/dce110_resource.c
1188
stream->timing.v_total,
drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c
2057
h_v_total = timing->h_total * timing->v_total;
drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c
2095
curr_v_blank = timing->v_total - timing->v_addressable;
drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c
2097
stretched_frame_pix_cnt = (v_stretch_max + timing->v_total) * timing->h_total;
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
454
curr_v_blank = timing->v_total - timing->v_addressable;
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
456
stretched_frame_pix_cnt = (v_stretch_max + timing->v_total) * timing->h_total;
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
500
h_v_total = timing->h_total * timing->v_total;
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
668
pipe->stream->timing.v_total * (unsigned long long)pipe->stream->timing.h_total - (uint64_t)1);
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
669
refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total);
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
729
pipe->stream->timing.v_total * (unsigned long long)pipe->stream->timing.h_total - (uint64_t)1);
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource_helpers.c
730
refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total);
drivers/gpu/drm/amd/display/include/bios_parser_types.h
183
uint32_t v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1046
in_out_vrr->adjust.v_total_min = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1047
in_out_vrr->adjust.v_total_max = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1102
in_out_vrr->adjust.v_total_min = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1103
in_out_vrr->adjust.v_total_max = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1105
in_out_vrr->adjust.v_total_min = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1106
in_out_vrr->adjust.v_total_max = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1108
in_out_vrr->adjust.v_total_min = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1109
in_out_vrr->adjust.v_total_max = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1138
in_out_vrr->adjust.v_total_min = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1139
in_out_vrr->adjust.v_total_max = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
115
unsigned int v_total)
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
119
(unsigned int)(div64_u64(((unsigned long long)(v_total)
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1296
unsigned int total = stream->timing.h_total * stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
141
unsigned int v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
145
return stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
156
v_total = (unsigned int)div64_u64(div64_u64(((unsigned long long)(
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
164
v_total = (unsigned int)div64_u64(div64_u64(((unsigned long long)(
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
168
v_total = (unsigned int)div64_u64(div64_u64(((unsigned long long)(
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
174
if (v_total < stream->timing.v_total) {
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
175
ASSERT(v_total < stream->timing.v_total);
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
176
v_total = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
179
return v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
187
unsigned int v_total = 0;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
199
v_total = (unsigned int)div_u64((unsigned long long)duration_in_us
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
203
v_total = (unsigned int)div64_u64(div64_u64(((unsigned long long)(
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
209
if (v_total < stream->timing.v_total) {
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
210
ASSERT(v_total < stream->timing.v_total);
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
211
v_total = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
214
return v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
223
unsigned int v_total = 0;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
286
v_total = (unsigned int)div64_u64(div64_u64(((unsigned long long)(
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
291
if (v_total < stream->timing.v_total)
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
292
v_total = stream->timing.v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
294
in_out_vrr->adjust.v_total_min = v_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
295
in_out_vrr->adjust.v_total_max = v_total;
drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
527
&& stream->timing.v_total >= 2160
drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
700
info_packet->sb[1] = (stream->timing.v_total & 0x00FF);
drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
701
info_packet->sb[2] = (stream->timing.v_total & 0xFF00) >> 8;
drivers/gpu/drm/amd/display/modules/power/power_abm.c
778
unsigned int v_total =
drivers/gpu/drm/amd/display/modules/power/power_abm.c
779
(stream->adjust.v_total_max == 0) ? stream->timing.v_total : stream->adjust.v_total_max;
drivers/gpu/drm/amd/display/modules/power/power_abm.c
783
v_total),
drivers/gpu/drm/amd/display/modules/power/power_psr.c
175
stream->timing.v_total),
drivers/gpu/drm/amd/display/modules/power/power_psr.c
187
stream->timing.v_total,
drivers/gpu/drm/amd/display/modules/power/power_psr.c
588
num_vblank_lines = stream->timing.v_total -
drivers/gpu/drm/bridge/lontium-lt8912b.c
286
u32 vactive, v_total, vpw, vfp, vbp;
drivers/gpu/drm/bridge/lontium-lt8912b.c
304
v_total = vactive + vfp + vpw + vbp;
drivers/gpu/drm/bridge/lontium-lt8912b.c
324
ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x36, v_total & 0xff);
drivers/gpu/drm/bridge/lontium-lt8912b.c
325
ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x37, v_total >> 8);
drivers/gpu/drm/bridge/lontium-lt9611.c
145
u32 v_total, vactive, vsync_len, vfront_porch, vsync_porch;
drivers/gpu/drm/bridge/lontium-lt9611.c
148
v_total = mode->vtotal;
drivers/gpu/drm/bridge/lontium-lt9611.c
160
regmap_write(lt9611->regmap, 0x830d, (u8)(v_total / 256));
drivers/gpu/drm/bridge/lontium-lt9611.c
161
regmap_write(lt9611->regmap, 0x830e, (u8)(v_total % 256));
drivers/gpu/drm/bridge/lontium-lt9611.c
305
u32 v_total, vactive, hactive_a, hactive_b, h_total_sysclk;
drivers/gpu/drm/bridge/lontium-lt9611.c
320
v_total = temp;
drivers/gpu/drm/bridge/lontium-lt9611.c
342
hactive_a, hactive_b, vactive, v_total, h_total_sysclk);
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
306
u32 v_total, vactive, vsync_len, vfront_porch;
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
309
v_total = mode->vtotal;
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
319
regmap_write(lt9611uxc->regmap, 0xd00d, (u8)(v_total / 256));
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
320
regmap_write(lt9611uxc->regmap, 0xd00e, (u8)(v_total % 256));
drivers/gpu/drm/msm/dsi/dsi_host.c
1088
DSI_TOTAL_V_TOTAL(v_total - 1));
drivers/gpu/drm/msm/dsi/dsi_host.c
993
u32 v_total = mode->vtotal;
drivers/gpu/drm/msm/dsi/dsi_host.c
998
u32 va_start = v_total - mode->vsync_start;
drivers/gpu/drm/radeon/radeon_legacy_tv.c
428
unsigned int h_total, v_total, f_total;
drivers/gpu/drm/radeon/radeon_legacy_tv.c
439
v_total = const_ptr->ver_total;
drivers/gpu/drm/radeon/radeon_legacy_tv.c
485
v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME);
drivers/gpu/drm/radeon/radeon_legacy_tv.c
487
v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME);
drivers/gpu/drm/radeon/radeon_legacy_tv.c
496
tv_dac->tv.vrestart = restart % v_total;
drivers/gpu/drm/radeon/radeon_legacy_tv.c
497
restart /= v_total;
drivers/gpu/ipu-v3/ipu-di.c
207
u32 v_total = sig->mode.vactive + sig->mode.vsync_len +
drivers/gpu/ipu-v3/ipu-di.c
212
.run_count = v_total * 2 - 1,
drivers/gpu/ipu-v3/ipu-di.c
223
.run_count = v_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
231
.run_count = v_total / 2,
drivers/gpu/ipu-v3/ipu-di.c
262
ipu_di_write(di, v_total / 2 - 1, DI_SCR_CONF);
drivers/gpu/ipu-v3/ipu-di.c
270
u32 v_total = sig->mode.vactive + sig->mode.vsync_len +
drivers/gpu/ipu-v3/ipu-di.c
288
.run_count = v_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
323
.run_count = v_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
352
.run_count = v_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
370
.run_count = v_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
382
ipu_di_write(di, v_total - 1, DI_SCR_CONF);
drivers/video/fbdev/aty/aty128fb.c
1052
v_total = (yres + upper + vslen + lower - 1) & 0xFFFFL;
drivers/video/fbdev/aty/aty128fb.c
1055
if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) {
drivers/video/fbdev/aty/aty128fb.c
1084
crtc->v_total = v_total | (v_disp << 16);
drivers/video/fbdev/aty/aty128fb.c
1179
u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync;
drivers/video/fbdev/aty/aty128fb.c
1189
v_total = crtc->v_total & 0x7ff;
drivers/video/fbdev/aty/aty128fb.c
1190
v_disp = (crtc->v_total >> 16) & 0x7ff;
drivers/video/fbdev/aty/aty128fb.c
1203
upper = v_total - v_sync_strt - v_sync_wid;
drivers/video/fbdev/aty/aty128fb.c
1493
((par->crtc.v_total>>16) & 0x7ff)+1,
drivers/video/fbdev/aty/aty128fb.c
1579
yres = ((par->crtc.v_total >> 16) & 0x7ff) + 1;
drivers/video/fbdev/aty/aty128fb.c
368
u32 v_total, v_sync_strt_wid;
drivers/video/fbdev/aty/aty128fb.c
973
aty_st_le32(CRTC_V_TOTAL_DISP, crtc->v_total);
drivers/video/fbdev/aty/aty128fb.c
990
u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync;
drivers/video/fbdev/aty/atyfb_base.c
1002
v_total <<= 1;
drivers/video/fbdev/aty/atyfb_base.c
1008
v_total--;
drivers/video/fbdev/aty/atyfb_base.c
1016
FAIL_MAX("v_total too large", v_total, 0x7ff);
drivers/video/fbdev/aty/atyfb_base.c
1035
crtc->v_tot_disp = v_total | (v_disp << 16);
drivers/video/fbdev/aty/atyfb_base.c
1174
u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync;
drivers/video/fbdev/aty/atyfb_base.c
1185
v_total = crtc->v_tot_disp & 0x7ff;
drivers/video/fbdev/aty/atyfb_base.c
1201
upper = v_total - v_sync_strt - v_sync_wid;
drivers/video/fbdev/aty/atyfb_base.c
1367
u32 v_disp, v_sync_strt, v_sync_end, v_total;
drivers/video/fbdev/aty/atyfb_base.c
1376
v_total = v_sync_end + debug.upper_margin;
drivers/video/fbdev/aty/atyfb_base.c
1379
vRefresh = (hSync * 1000) / v_total;
drivers/video/fbdev/aty/atyfb_base.c
1399
v_disp, v_sync_strt, v_sync_end, v_total);
drivers/video/fbdev/aty/atyfb_base.c
825
u32 v_total, v_disp, v_sync_strt, v_sync_end, v_sync_wid, v_sync_pol, c_sync;
drivers/video/fbdev/aty/atyfb_base.c
903
v_total = v_sync_end + var->upper_margin;
drivers/video/fbdev/aty/atyfb_base.c
981
v_total = v_disp + par->lcd_vblank_len / VScan;
drivers/video/fbdev/matrox/matroxfb_g450.c
236
unsigned int v_total;
drivers/video/fbdev/matrox/matroxfb_g450.c
341
if (vtotal < outd->v_total) {
drivers/video/fbdev/matrox/matroxfb_g450.c
342
unsigned int yovr = outd->v_total - vtotal;
drivers/video/fbdev/matrox/matroxfb_g450.c
345
} else if (vtotal > outd->v_total) {
drivers/video/fbdev/matrox/matroxfb_g450.c
346
vdisplay = outd->v_total - 4;
drivers/video/fbdev/matrox/matroxfb_g450.c
347
vsyncend = outd->v_total;
drivers/video/fbdev/matrox/matroxfb_g450.c
349
upper = (outd->v_total - vsyncend) >> 1; /* in field lines */
drivers/video/fbdev/matrox/matroxfb_g450.c
350
r->regs[0x17] = outd->v_total / 4;
drivers/video/fbdev/matrox/matroxfb_g450.c
351
r->regs[0x18] = outd->v_total & 3;
drivers/video/fbdev/matrox/matroxfb_g450.c
357
mt->VSyncStart = outd->v_total - 2;
drivers/video/fbdev/matrox/matroxfb_g450.c
358
mt->VSyncEnd = outd->v_total;
drivers/video/fbdev/matrox/matroxfb_g450.c
359
mt->VTotal = outd->v_total;
drivers/video/fbdev/matrox/matroxfb_g450.c
371
.v_total = 625,
drivers/video/fbdev/matrox/matroxfb_g450.c
380
.v_total = 525, // lines
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c
118
if (h_total(var) > 4096 || v_total(var) > 4096)
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c
254
outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0));
drivers/video/fbdev/nvidia/nvidia.c
314
int v_total = (info->var.yres + info->var.lower_margin +
drivers/video/fbdev/nvidia/nvidia.c
317
int v_blank_e = v_total + 1;
drivers/video/fbdev/nvidia/nvidia.c
324
v_total |= 1;
drivers/video/fbdev/nvidia/nvidia.c
327
v_start = v_total - 3;
drivers/video/fbdev/nvidia/nvidia.c
328
v_end = v_total - 2;
drivers/video/fbdev/nvidia/nvidia.c
343
state->crtc[0x6] = SetBitField(v_total, 7: 0, 7:0);
drivers/video/fbdev/nvidia/nvidia.c
344
state->crtc[0x7] = SetBitField(v_total, 8: 8, 0:0)
drivers/video/fbdev/nvidia/nvidia.c
349
| SetBitField(v_total, 9: 9, 5:5)
drivers/video/fbdev/nvidia/nvidia.c
372
| SetBitField(v_total, 10: 10, 0:0);
drivers/video/fbdev/nvidia/nvidia.c
379
state->extra = SetBitField(v_total, 11: 11, 0:0)
drivers/video/fbdev/sm501fb.c
317
if (h_total(var) > 4096 || v_total(var) > 2048)
drivers/video/fbdev/sm501fb.c
569
reg = (v_total(var) - 1) << 16;
drivers/video/fbdev/smscufx.c
663
u16 v_total, v_active, v_blank_start, v_blank_end, v_sync_start, v_sync_end;
drivers/video/fbdev/smscufx.c
705
v_total = var->upper_margin + var->yres + var->lower_margin + var->vsync_len;
drivers/video/fbdev/smscufx.c
712
temp = ((v_total - 1) << 16) | (v_active - 1);