Symbol: h_total
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
620
100LL, (v_total * stream->timing.h_total));
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7052
timing_out->h_total = mode_in->htotal;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7062
timing_out->h_total = mode_in->crtc_htotal;
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
9688
timing->h_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
148
h_total = stream->timing.h_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
189
h_total = stream->timing.h_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
160
stream->timing.h_total);
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
281
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
300
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
322
stream->timing.h_total = 4400;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
353
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
367
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
382
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
403
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
437
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
472
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
509
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
556
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
598
stream->timing.h_total = 2200;
drivers/gpu/drm/amd/display/dc/basics/calcs_logger.h
420
DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] h_total[%d]:%d", i, bw_fixed_to_int(data->h_total[i]));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1253
data->scaler_limits_factor = bw_max2(bw_div(data->v_taps[i], data->v_scaler_efficiency), bw_div(data->source_width_rounded_up_to_chunks[i], data->h_total[i]));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1298
data->cursor_latency_hiding[i] = bw_div(bw_div(bw_mul((bw_sub(dceip->cursor_dcp_buffer_lines, bw_int_to_fixed(1))), data->h_total[i]), data->vsr[i]), data->pixel_rate[i]);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1301
data->cursor_latency_hiding[i] = bw_div(bw_div(bw_mul((bw_sub(dceip->cursor_dcp_buffer_lines, bw_int_to_fixed(3))), data->h_total[i]), data->vsr[i]), data->pixel_rate[i]);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1313
data->minimum_latency_hiding[i] = bw_sub(bw_div(bw_mul((bw_div((bw_add(bw_sub(data->lb_partitions[i], bw_int_to_fixed(2)), bw_div(bw_div(data->data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_pixels[i]))), data->vsr[i])), data->h_total[i]), data->pixel_rate[i]), data->total_dmifmc_urgent_latency);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1315
data->minimum_latency_hiding[i] = bw_sub(bw_div(bw_mul((bw_div((bw_add(bw_sub(data->lb_partitions[i], bw_int_to_fixed(1)), bw_div(bw_div(data->data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_pixels[i]))), data->vsr[i])), data->h_total[i]), data->pixel_rate[i]), data->total_dmifmc_urgent_latency);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1318
data->minimum_latency_hiding[i] = bw_sub(bw_div(bw_mul((bw_div((bw_add(bw_int_to_fixed(1 + data->line_buffer_prefetch[i]), bw_div(bw_div(data->data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_pixels[i]))), data->vsr[i])), data->h_total[i]), data->pixel_rate[i]), data->total_dmifmc_urgent_latency);
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
1483
data->average_bandwidth_no_compression[i] = bw_div(bw_mul(bw_mul(bw_div(bw_mul(data->source_width_rounded_up_to_chunks[i], bw_int_to_fixed(data->bytes_per_pixel[i])), (bw_div(data->h_total[i], data->pixel_rate[i]))), data->vsr[i]), data->bytes_per_request[i]), data->useful_bytes_per_request[i]);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1513
data->min_cursor_memory_interface_buffer_size_in_time = bw_min2(data->min_cursor_memory_interface_buffer_size_in_time, bw_div(bw_mul(bw_div(bw_int_to_fixed(num_cursor_lines), data->vsr[i]), data->h_total[i]), data->pixel_rate[i]));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1701
data->scaler_limits_factor = bw_max2(bw_div(data->v_taps[i], data->v_scaler_efficiency), bw_div(data->source_width_rounded_up_to_chunks[i], data->h_total[i]));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1706
data->display_pipe_pixel_throughput = bw_div(bw_div(bw_mul(bw_max2(data->lb_lines_in_per_line_out_in_beginning_of_frame[i], bw_mul(data->lb_lines_in_per_line_out_in_middle_of_frame[i], data->horizontal_blank_and_chunk_granularity_factor[i])), data->source_width_rounded_up_to_chunks[i]), (bw_div(data->h_total[i], data->pixel_rate[i]))), dceip->lb_write_pixels_per_dispclk);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1935
data->stutter_refresh_duration[i] = bw_sub(bw_mul(bw_div(bw_div(bw_mul(bw_div(bw_div(data->adjusted_data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_rounded_up_to_chunks[i]), data->h_total[i]), data->vsr[i]), data->pixel_rate[i]), data->compression_rate[i]), bw_max2(bw_int_to_fixed(0), bw_sub(data->stutter_exit_watermark[i], bw_div(bw_mul((bw_sub(data->lb_partitions[i], bw_int_to_fixed(1))), data->h_total[i]), data->pixel_rate[i]))));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
1936
data->stutter_dmif_buffer_size[i] = bw_div(bw_mul(bw_mul(bw_div(bw_mul(bw_mul(data->stutter_refresh_duration[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_rounded_up_to_chunks[i]), data->h_total[i]), data->vsr[i]), data->pixel_rate[i]), data->compression_rate[i]);
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
258
data->h_total[0] = data->h_total[4];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
260
data->h_total[1] = data->h_total[4];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
263
data->h_total[2] = data->h_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
265
data->h_total[3] = data->h_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
2822
data->h_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
2921
data->h_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
395
data->h_total[maximum_number_of_surfaces - 2] = data->h_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
396
data->h_total[maximum_number_of_surfaces - 1] = data->h_total[5];
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
851
data->horizontal_blank_and_chunk_granularity_factor[i] = bw_div(data->h_total[i], (bw_div((bw_add(data->h_total[i], bw_div((bw_sub(data->source_width_pixels[i], bw_int_to_fixed(dceip->chunk_width))), data->hsr[i]))), bw_int_to_fixed(2))));
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
853
data->request_bandwidth[i] = bw_div(bw_mul(bw_div(bw_mul(bw_div(bw_mul(bw_max2(data->lb_lines_in_per_line_out_in_beginning_of_frame[i], data->lb_lines_in_per_line_out_in_middle_of_frame[i]), data->source_width_rounded_up_to_chunks[i]), (bw_div(data->h_total[i], data->pixel_rate[i]))), bw_int_to_fixed(data->bytes_per_pixel[i])), data->useful_bytes_per_request[i]), data->lines_interleaved_in_mem_access[i]), data->latency_hiding_lines[i]);
drivers/gpu/drm/amd/display/dc/bios/command_table.c
2097
params.usH_Total = cpu_to_le16((uint16_t)(bp_params->h_total));
drivers/gpu/drm/amd/display/dc/bios/command_table.c
2174
cpu_to_le16((uint16_t)(bp_params->h_total - bp_params->h_addressable));
drivers/gpu/drm/amd/display/dc/bios/command_table2.c
627
cpu_to_le16((uint16_t)(bp_params->h_total -
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
158
cfg->v_refresh /= stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
171
timing->h_total * 10000 / timing->pix_clk_100hz;
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c
94
vertical_blank_in_pixels = stream->timing.h_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
593
refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
483
* (uint64_t) curr_pipe_ctx->stream->timing.h_total - (uint64_t)1);
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
485
refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/core/dc.c
1869
if (crtc_timing->h_total != hw_crtc_timing.h_total) {
drivers/gpu/drm/amd/display/dc/core/dc.c
2377
context->streams[i]->timing.h_total,
drivers/gpu/drm/amd/display/dc/core/dc.c
7788
state->optc[i].otg_h_total = timing->h_total;
drivers/gpu/drm/amd/display/dc/core/dc.c
7790
state->optc[i].otg_h_blank_end = timing->h_total - timing->h_front_porch;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
5154
refresh_rate = (pipe_ctx->stream->timing.pix_clk_100hz * 100) / (pipe_ctx->stream->adjust.v_total_max * pipe_ctx->stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
4627
timing->h_total,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
4633
dsc_padding_params->dsc_htotal_padding = dsc_padding_params->dsc_htotal_padding - timing->h_total;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
4678
if (stream->timing.h_total - hactive - pipe_ctx->dsc_padding_params.dsc_hactive_padding < 32)
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5012
hdmi_info.bits.bar_right = (uint16_t)(stream->timing.h_total
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5814
h_blank_start = stream->timing.h_total - stream->timing.h_front_porch;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
5821
divisible = (stream->timing.h_total % 2 == 0) &&
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
652
if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
655
if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
659
stream1->timing.h_total *
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
663
frame_time_diff = div_u64(frame_time_diff, stream2->timing.h_total);
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
681
if (stream1->timing.h_total != stream2->timing.h_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
1252
int safe_refresh_v_total = (int)div64_s64((long long)stream->timing.pix_clk_100hz*100, safe_refresh_hz*(long long)stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
962
stream->timing.h_total,
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
1264
cntl->data.line_time_in_ns = 1u + (uint32_t)(div64_u64(stream->timing.h_total * 1000000ull,
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
619
mall_region_us = div64_u64(((uint64_t)phantom_timing->v_addressable * phantom_timing->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
623
(((uint64_t)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
627
subvp_active_us = div64_u64(((uint64_t)main_timing->v_addressable * main_timing->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
629
drr_active_us = div64_u64(((uint64_t)drr_timing->v_addressable * drr_timing->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
636
(((uint64_t)drr_timing->h_total * 1000000)));
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
696
pipe_data->pipe_config.vblank_data.htotal = (uint16_t)vblank_pipe->stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
748
(uint64_t)phantom_timing0->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
751
(uint64_t)phantom_timing1->h_total * 1000000),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
761
((uint64_t)phantom_timing1->pix_clk_100hz * 100) + ((uint64_t)phantom_timing1->h_total * 1000000 - 1)),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
762
((uint64_t)phantom_timing1->h_total * 1000000));
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
769
((uint64_t)phantom_timing0->pix_clk_100hz * 100) + ((uint64_t)phantom_timing0->h_total * 1000000 - 1)),
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
770
((uint64_t)phantom_timing0->h_total * 1000000));
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
808
pipe_data->pipe_config.subvp_data.htotal = (uint16_t)subvp_pipe->stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
840
((uint64_t)phantom_timing->h_total * 1000000 - 1)), ((uint64_t)phantom_timing->h_total * 1000000));
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
843
((uint64_t)phantom_timing->h_total * 1000000 - 1)), ((uint64_t)phantom_timing->h_total * 1000000));
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
913
uint32_t h_total;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
165
h_blank = crtc_info->h_total - crtc_info->h_active;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
357
crtc_info->requested_pixel_clock_100Hz, (long long)crtc_info->h_total * 10);
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
399
uint64_t hblank = crtc_info->h_total - crtc_info->h_active;
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
695
uint32_t h_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
742
uint32_t h_total,
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
750
h_total,
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
1173
crtc_info->h_total - crtc_info->h_active;
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
465
DP_MSA_HTOTAL, hw_crtc_timing.h_total,
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
472
h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left -
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
973
uint32_t h_total,/* for current stream */
drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c
978
(void)h_total;
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
1146
if (timing->h_total > tg110->max_h_total ||
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
1150
h_blank = (timing->h_total - timing->h_addressable -
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
310
bp_params.h_total = patched_crtc_timing.h_total;
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
623
timing->h_total - 1,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
661
tmp = timing->h_total -
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c
262
timing->h_total - 1,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c
279
tmp = timing->h_total -
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
447
timing->h_total - 1);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
467
tmp1 = timing->h_total -
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c
457
s.h_total,
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
420
DP_MSA_HTOTAL, hw_crtc_timing.h_total,
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
427
h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left -
drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
662
DP_MSA_HTOTAL, hw_crtc_timing.h_total,
drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
669
h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left -
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
1217
pipe->pipe_dlg_param.htotal = pipe->stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
1258
hsplit_pipe->pipe_dlg_param.htotal = pipe->stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
431
input->dest.htotal = pipe->stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c
908
v->htotal[input_idx] = (float)pipe->stream->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1394
pipes[pipe_cnt].pipe.dest.hblank_start = timing->h_total - timing->h_front_porch;
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
1404
pipes[pipe_cnt].pipe.dest.htotal = timing->h_total;
drivers/gpu/drm/amd/display/dc/dml/dcn30/dcn30_fpu.c
819
frl_params->h_blank = timing->h_total - frl_params->h_active;
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c
288
(((double)timing->h_total * 1000.0) /
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
1008
refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_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
3383
refresh_rate = (uint32_t)div_u64(refresh_rate, pipe->stream->timing.h_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
506
(double)ref_pipe->stream->timing.h_total);
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
753
time_us = (uint32_t)((microschedule_lines * phantom->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
768
vactive1_us = (int32_t)(((subvp_pipes[0]->stream->timing.v_addressable * subvp_pipes[0]->stream->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
770
vactive2_us = (int32_t)(((subvp_pipes[1]->stream->timing.v_addressable * subvp_pipes[1]->stream->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
773
subvp_pipes[0]->stream->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
776
subvp_pipes[1]->stream->timing.h_total) /
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
861
subvp_active_us = (uint16_t)(main_timing->v_addressable * main_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
866
mall_region_us = (uint16_t)(phantom_timing->v_addressable * phantom_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
957
mall_region_us = (uint16_t)(phantom_timing->v_addressable * 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/dcn32/dcn32_fpu.c
963
subvp_active_us = (uint16_t)(main_timing->v_addressable * main_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c
419
(((double)timing->h_total * 1000.0) /
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
451
(((double)timing->h_total * 1000.0) /
drivers/gpu/drm/amd/display/dc/dml/dml1_frl_cap_chk.c
724
const uint32_t h_total,
drivers/gpu/drm/amd/display/dc/dml/dml1_frl_cap_chk.c
739
h_blank = h_total - h_active;
drivers/gpu/drm/amd/display/dc/dml/dml1_frl_cap_chk.c
743
h_total_otg_temp = ((double)h_addressable_otg * (double)h_total) / ((double)pix_clk_100hz * 100.0 * t_active_target);
drivers/gpu/drm/amd/display/dc/dml/dml1_frl_cap_chk.c
747
hw_pix_clk = (double)(pix_clk_100hz * 100.0 * (double)*h_total_otg) / (double)h_total;
drivers/gpu/drm/amd/display/dc/dml/dml1_frl_cap_chk.h
160
const uint32_t h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.c
6271
static dml_uint_t MicroSecToVertLines(dml_uint_t num_us, dml_uint_t h_total, dml_float_t pixel_clock)
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.c
6273
dml_uint_t lines_time_in_ns = (dml_uint_t)(1000.0 * (h_total * 1000.0) / (pixel_clock * 1000.0));
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
112
timing->h_total = stream->timing.h_total + pipe_ctx->dsc_padding_params.dsc_htotal_padding;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
117
hblank_start = stream->timing.h_total - stream->timing.h_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
144
(timing->h_total * (long long)calc_max_hardware_v_total(stream)));
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_display_cfg_types.h
262
unsigned long h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10106
line_time = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10273
l->DETBufferingTimeY = l->LinesInDETYRoundedDownToSwath * ((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)) / p->display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio;
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
10292
l->VActiveTimeCriticalSurface = (isInterlaceTiming ? math_floor2((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_active / 2.0, 1.0) : p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.v_active) * (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
10364
SingleHTotal = p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10367
SingleHTotal != p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total ||
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10672
((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
10673
mode_lib->mp.vactive_sw_bw_l[k] = mode_lib->mp.SwathWidthSingleDPPY[k] * mode_lib->mp.BytePerPixelY[k] / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10674
mode_lib->mp.vactive_sw_bw_c[k] = mode_lib->mp.SwathWidthSingleDPPC[k] * mode_lib->mp.BytePerPixelC[k] / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_ratio;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10743
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
10791
s->SurfaceParameters[k].HTotal = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11072
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total) / mode_lib->mp.Dispclk;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11157
s->line_times[k] = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11310
myPipe->HTotal = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11458
double line_time_us = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11615
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
11826
mode_lib->mp.WritebackAllowDRAMClockChangeEndPosition[k] = math_max2(0, mode_lib->mp.VStartupMin[k] * display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11828
mode_lib->mp.WritebackAllowFCLKChangeEndPosition[k] = math_max2(0, mode_lib->mp.VStartupMin[k] * display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11953
s->Tvstartup_margin = (s->MaxVStartupLines[k] - mode_lib->mp.VStartupMin[k]) * display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
11974
s->LSetup = math_floor2(4.0 * mode_lib->mp.TSetup[k] / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)), 1.0) / 4.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11985
if (((mode_lib->mp.VUpdateOffsetPix[k] + mode_lib->mp.VUpdateWidthPix[k] + mode_lib->mp.VReadyOffsetPix[k]) / (double) display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total) <=
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
11999
DML_LOG_VERBOSE("DML::%s: k=%u, HTotal = %lu\n", __func__, k, display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
12016
(display_cfg->stream_descriptors[k].timing.h_total * display_cfg->stream_descriptors[k].writeback.writeback_stream[0].input_height
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
12518
l->htotal = l->timing->h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
12901
base_programming->htotal = (uint16_t)stream_descriptor->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
13045
(int)(display_cfg->stream_descriptors[display_cfg->plane_descriptors[plane_idx].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
13069
phantom_processing_delay_lines = (unsigned int)(phantom_processing_delay_pix / (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[plane_index].stream_index].timing.h_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
13071
display_cfg->stream_descriptors[display_cfg->plane_descriptors[plane_index].stream_index].timing.h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
3724
double line_time_us = (double)timing->h_total / ((double)timing->pixel_clock_khz / 1000);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6835
double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6840
* (p->SwathWidthY[k] * p->BytePerPixelDETY[k] * v_ratio + p->SwathWidthC[k] * p->BytePerPixelDETC[k] * v_ratio_c) / (h_total / pixel_clock_mhz);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6847
double h_total = (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6868
s->EffectiveLBLatencyHidingY = s->LBLatencyHidingSourceLinesY[k] / v_ratio * (h_total / pixel_clock_mhz);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6869
s->EffectiveLBLatencyHidingC = s->LBLatencyHidingSourceLinesC[k] / v_ratio_c * (h_total / pixel_clock_mhz);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6873
s->EffectiveDETBufferSizeY = s->EffectiveDETBufferSizeY + p->CompressedBufferSizeInkByte * 1024 * (p->SwathWidthY[k] * p->BytePerPixelDETY[k] * v_ratio) / (h_total / pixel_clock_mhz) / s->TotalPixelBW;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6878
s->FullDETBufferingTimeY = s->LinesInDETYRoundedDownToSwath[k] * (h_total / pixel_clock_mhz) / v_ratio;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6880
s->ActiveClockChangeLatencyHidingY = s->EffectiveLBLatencyHidingY + s->FullDETBufferingTimeY - ((double)p->DSTXAfterScaler[k] / h_total + (double)p->DSTYAfterScaler[k]) * h_total / pixel_clock_mhz;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6883
s->ActiveClockChangeLatencyHidingY = s->ActiveClockChangeLatencyHidingY - (1.0 - 1.0 / (double)p->NumberOfActiveSurfaces) * (double)p->SwathHeightY[k] * (double)h_total / pixel_clock_mhz / v_ratio;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6889
s->FullDETBufferingTimeC = s->LinesInDETCRoundedDownToSwath[k] * (h_total / pixel_clock_mhz) / v_ratio_c;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6890
s->ActiveClockChangeLatencyHidingC = s->EffectiveLBLatencyHidingC + s->FullDETBufferingTimeC - ((double)p->DSTXAfterScaler[k] / (double)h_total + (double)p->DSTYAfterScaler[k]) * (double)h_total / pixel_clock_mhz;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6892
s->ActiveClockChangeLatencyHidingC = s->ActiveClockChangeLatencyHidingC - (1.0 - 1.0 / (double)p->NumberOfActiveSurfaces) * (double)p->SwathHeightC[k] * (double)h_total / pixel_clock_mhz / v_ratio_c;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6914
/ ((double)p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].writeback.writeback_stream[0].input_height * (double)h_total / pixel_clock_mhz) * 4.0);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
6962
s->dst_y_pstate = (unsigned int)(math_ceil2((p->mmSOCParameters.DRAMClockChangeLatency + p->mmSOCParameters.UrgentLatency) / (h_total / pixel_clock_mhz), 1));
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7040
((double)p->display_cfg->stream_descriptors[stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7360
(unsigned int)math_ceil(watermarks->DRAMClockChangeWatermark / ((double)stream_descriptor->timing.h_total * 1000.0 / (double)stream_descriptor->timing.pixel_clock_khz));
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7472
s->line_times[k] = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
7517
myPipe->HTotal = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
7859
(display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
8162
mode_lib->ms.vactive_sw_bw_l[k] = mode_lib->ms.SwathWidthYSingleDPP[k] * math_ceil2(mode_lib->ms.BytePerPixelY[k], 1.0) / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8163
mode_lib->ms.vactive_sw_bw_c[k] = mode_lib->ms.SwathWidthCSingleDPP[k] * math_ceil2(mode_lib->ms.BytePerPixelC[k], 2.0) / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_ratio;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8166
display_cfg->plane_descriptors[k].cursor.cursor_bpp / 8.0 / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
8169
DML_LOG_VERBOSE("DML::%s: k=%u, old_ReadBandwidthLuma = %f\n", __func__, k, mode_lib->ms.SwathWidthYSingleDPP[k] * math_ceil2(mode_lib->ms.BytePerPixelInDETY[k], 1.0) / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8170
DML_LOG_VERBOSE("DML::%s: k=%u, old_ReadBandwidthChroma = %f\n", __func__, k, mode_lib->ms.SwathWidthYSingleDPP[k] / 2 * math_ceil2(mode_lib->ms.BytePerPixelInDETC[k], 2.0) / (display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000)) * display_cfg->plane_descriptors[k].composition.scaler_info.plane0.v_ratio / 2.0);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8182
* display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8188
* display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8522
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8673
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8811
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8911
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total,
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
8995
s->SurfParameters[k].HTotal = display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9179
double line_time_us = (double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total / ((double)display_cfg->stream_descriptors[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
9265
display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total) / mode_lib->ms.RequiredDISPCLK;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9319
(double)display_cfg->stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9868
p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9870
p->TimePerMetaChunkVBlank[k] = p->dst_y_per_row_vblank[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9872
p->TimePerMetaChunkFlip[k] = p->dst_y_per_row_flip[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9893
p->TimePerChromaMetaChunkNominal[k] = p->meta_row_height_chroma[k] / p->display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_ratio * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / (p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000) / meta_chunks_per_row_ub_chroma;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9894
p->TimePerChromaMetaChunkVBlank[k] = p->dst_y_per_row_vblank[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / (p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000) / meta_chunks_per_row_ub_chroma;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9895
p->TimePerChromaMetaChunkFlip[k] = p->dst_y_per_row_flip[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / (p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.pixel_clock_khz / 1000) / meta_chunks_per_row_ub_chroma;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9931
p->time_per_tdlut_group[k] = 2 * p->dst_y_per_row_vblank[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / p->tdlut_groups_per_2row_ub[k];
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9960
p->time_per_pte_group_nom_luma[k] = p->DST_Y_PER_PTE_ROW_NOM_L[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / dpte_groups_per_row_luma_ub;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9961
p->time_per_pte_group_vblank_luma[k] = p->dst_y_per_row_vblank[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / dpte_groups_per_row_luma_ub;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9962
p->time_per_pte_group_flip_luma[k] = p->dst_y_per_row_flip[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / dpte_groups_per_row_luma_ub;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9986
p->time_per_pte_group_nom_chroma[k] = p->DST_Y_PER_PTE_ROW_NOM_C[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / dpte_groups_per_row_chroma_ub;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9987
p->time_per_pte_group_vblank_chroma[k] = p->dst_y_per_row_vblank[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / dpte_groups_per_row_chroma_ub;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
9988
p->time_per_pte_group_flip_chroma[k] = p->dst_y_per_row_flip[k] * p->display_cfg->stream_descriptors[p->display_cfg->plane_descriptors[k].stream_index].timing.h_total / pixel_clock_mhz / dpte_groups_per_row_chroma_ub;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_utils.c
792
double otg_vline_time_us = (double)stream->timing.h_total / (double)stream->timing.pixel_clock_khz * 1000.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn3.c
257
unsigned long h_blank_start = timing->h_total - timing->h_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn3.c
259
return (timing->h_total % denominator == 0) &&
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
1712
stream_pstate_meta->otg_vline_time_us = (double)timing->h_total / timing->pixel_clock_khz * 1000.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
1715
(stream_pstate_meta->nom_vtotal * timing->h_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
1723
((double)stream_descriptor->timing.drr_config.min_refresh_uhz * stream_descriptor->timing.h_total) * 1e9);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
1727
(48000000.0 * stream_descriptor->timing.h_total) * 1e9);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
1733
(stream_pstate_meta->max_vtotal * timing->h_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
2319
line_time_us = (double)in_out->base_display_config->display_config.stream_descriptors[i].timing.h_total / (in_out->base_display_config->display_config.stream_descriptors[i].timing.pixel_clock_khz * 1000) * 1000000;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
747
unsigned long h_blank_start = timing->h_total - timing->h_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
749
return (timing->h_total % denominator == 0) &&
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
994
s->pmo_dcn4.group_line_time_us[timing_group_idx] = (double)master_timing->h_total / master_timing->pixel_clock_khz * 1000.0;
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
385
time_us = (uint32_t)((microschedule_lines * phantom->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
405
vactive1_us = (int32_t)(((subvp_pipes[0]->stream->timing.v_addressable * subvp_pipes[0]->stream->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
407
vactive2_us = (int32_t)(((subvp_pipes[1]->stream->timing.v_addressable * subvp_pipes[1]->stream->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
410
subvp_pipes[0]->stream->timing.h_total) /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
413
subvp_pipes[1]->stream->timing.h_total) /
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
481
subvp_active_us = (int32_t)(main_timing->v_addressable * main_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
486
mall_region_us = (int32_t)(phantom_timing->v_addressable * phantom_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
588
mall_region_us = (uint32_t)(phantom_timing->v_addressable * 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
594
subvp_active_us = (uint32_t)(main_timing->v_addressable * main_timing->h_total /
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
703
(double)ref_pipe->stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c
714
line_time = phantom_stream->timing.h_total / ((double)phantom_stream->timing.pix_clk_100hz * 100);
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
769
out->HTotal[location] = in->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
772
hblank_start = in->timing.h_total - in->timing.h_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.c
249
hblank_start = pipe_ctx->stream->timing.h_total - pipe_ctx->stream->timing.h_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.c
265
pipe_ctx->pipe_dlg_param.htotal = pipe_ctx->stream->timing.h_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
1308
uint32_t h_blank = timing->h_total - timing->h_addressable;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
2048
refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total);
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
578
h_ratio_adj_pix_clk_mhz = adj_pix_clk_mhz * timing->h_addressable / timing->h_total;
drivers/gpu/drm/amd/display/dc/hpo/dcn30/dcn30_hpo_frl_stream_encoder.c
257
h_blank = crtc_timing->h_total - h_active;
drivers/gpu/drm/amd/display/dc/hpo/dcn30/dcn30_hpo_frl_stream_encoder.c
499
uint32_t h_back = timing->h_total - dsc_pic_width - timing->h_sync_width - timing->h_front_porch;
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_stream_encoder.c
347
h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left -
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_stream_encoder.c
398
MSA_DATA_LANE_0, hw_crtc_timing.h_total >> 8,
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_stream_encoder.c
404
MSA_DATA_LANE_0, hw_crtc_timing.h_total & 0xff,
drivers/gpu/drm/amd/display/dc/hpo/dcn401/dcn401_hpo_frl_stream_encoder.c
269
h_blank = crtc_timing->h_total - h_active;
drivers/gpu/drm/amd/display/dc/hpo/dcn401/dcn401_hpo_frl_stream_encoder.c
535
uint32_t h_back = timing->h_total - dsc_pic_width - timing->h_sync_width - timing->h_front_porch + h_active_padding;
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
192
unsigned int htotal = timing->h_total;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
1423
uint32_t h_blank = crtc_timing->h_total - h_active;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
1487
audio_output->crtc_info.h_total =
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
1488
stream->timing.h_total;
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
2195
(stream->timing.h_total * 10) /
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
3257
pipe_ctx->stream->timing.h_total,
drivers/gpu/drm/amd/display/dc/hwss/dce60/dce60_hwseq.c
404
pipe_ctx->stream->timing.h_total,
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
148
stream->timing.h_total * 10000u / stream->timing.pix_clk_100hz;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2267
stream->timing.h_total * 10000u / stream->timing.pix_clk_100hz;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2403
pipe->stream->timing.h_total /
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
2477
hw_crtc_timing[i].h_total*
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
676
s.h_total,
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
774
flow_ctrl_cnt = stream->timing.h_total - stream->timing.h_addressable -
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
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/dcn401/dcn401_hwseq.c
875
patched_crtc_timing.h_total = patched_crtc_timing.h_total + pipe_ctx->dsc_padding_params.dsc_htotal_padding;
drivers/gpu/drm/amd/display/dc/inc/dce_calcs.h
388
struct bw_fixed h_total[maximum_number_of_surfaces];
drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h
136
uint32_t h_total,/* for current target */
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
173
uint32_t h_total;
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c
61
timing->h_total - timing->h_addressable),
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_frl.c
43
temp_stream->timing.h_total = stream->timing.h_total + pipe_ctx->dsc_padding_params.dsc_htotal_padding;
drivers/gpu/drm/amd/display/dc/link/link_validation.c
882
timing->pix_clk_100hz, (long long)timing->h_total * 10);
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c
139
((stream->timing.h_total * 1000000) /
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c
66
stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
1044
((stream->timing.h_total * 1000000) /
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
820
stream->timing.h_total);
drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c
1061
uint32_t h_blank = timing->h_total - h_active;
drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c
943
temp_stream->timing.h_total = link_stream->timing.h_total + link_pipe->dsc_padding_params.dsc_htotal_padding;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1321
hw_crtc_timing->h_total = s.h_total + 1;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1322
hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1323
hw_crtc_timing->h_front_porch = s.h_total + 1 - s.h_blank_start;
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
1381
OTG_H_TOTAL, &s->h_total);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
194
OTG_H_TOTAL, patched_crtc_timing.h_total - 1);
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
202
asic_blank_start = patched_crtc_timing.h_total -
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
605
h_blank = (timing->h_total - timing->h_addressable -
drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c
626
if (timing->h_total > optc1->max_h_total ||
drivers/gpu/drm/amd/display/dc/optc/dcn201/dcn201_optc.c
82
h_blank = (timing->h_total - timing->h_addressable -
drivers/gpu/drm/amd/display/dc/optc/dcn201/dcn201_optc.c
99
if (timing->h_total > optc1->max_h_total ||
drivers/gpu/drm/amd/display/dc/optc/dcn31/dcn31_optc.c
295
OTG_H_TOTAL, &s->h_total);
drivers/gpu/drm/amd/display/dc/resource/dce110/dce110_resource.c
1187
stream->timing.h_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
2093
sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1;
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
452
sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1;
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
670
refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_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
731
refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total);
drivers/gpu/drm/amd/display/include/audio_types.h
47
uint32_t h_total;
drivers/gpu/drm/amd/display/include/bios_parser_types.h
175
uint32_t h_total;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1011
if (stream->ctx->dc->caps.max_v_total != 0 && stream->timing.h_total != 0) {
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
1013
(stream->timing.h_total * (long long)calc_max_hardware_v_total(stream)));
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
120
* 10000) * stream->timing.h_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
158
stream->timing.h_total), 1000000);
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
166
stream->timing.h_total) + (1000000 - 1), 1000000);
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
170
stream->timing.h_total) + 500000, 1000000);
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
198
h_total_up_scaled = stream->timing.h_total * 10000;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
205
stream->timing.h_total), 1000);
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
288
stream->timing.h_total), 1000);
drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
526
&& stream->timing.h_total >= 3840
drivers/gpu/drm/amd/display/modules/power/power_abm.c
784
stream->timing.h_total);
drivers/gpu/drm/amd/display/modules/power/power_psr.c
176
stream->timing.h_total);
drivers/gpu/drm/amd/display/modules/power/power_psr.c
188
stream->timing.h_total,
drivers/gpu/drm/amd/display/modules/power/power_psr.c
593
vblank_time_in_us = (stream->timing.h_total * num_vblank_lines * 1000) / (stream->timing.pix_clk_100hz / 10);
drivers/gpu/drm/amd/display/modules/power/power_psr.c
595
line_time_in_us = ((stream->timing.h_total * 1000) / (stream->timing.pix_clk_100hz / 10)) + 1;
drivers/gpu/drm/amd/display/modules/power/power_replay.c
691
* 10000) * stream->timing.h_total,
drivers/gpu/drm/bridge/lontium-lt8912b.c
285
u32 hactive, h_total, hpw, hfp, hbp;
drivers/gpu/drm/bridge/lontium-lt8912b.c
297
h_total = hactive + hfp + hpw + hbp;
drivers/gpu/drm/bridge/lontium-lt8912b.c
321
ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x34, h_total & 0xff);
drivers/gpu/drm/bridge/lontium-lt8912b.c
322
ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x35, h_total >> 8);
drivers/gpu/drm/bridge/lontium-lt9611.c
144
u32 h_total, hactive, hsync_len, hfront_porch, hsync_porch;
drivers/gpu/drm/bridge/lontium-lt9611.c
147
h_total = mode->htotal;
drivers/gpu/drm/bridge/lontium-lt9611.c
166
regmap_write(lt9611->regmap, 0x8311, (u8)(h_total / 256));
drivers/gpu/drm/bridge/lontium-lt9611.c
167
regmap_write(lt9611->regmap, 0x8312, (u8)(h_total % 256));
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
305
u32 h_total, hactive, hsync_len, hfront_porch;
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
308
h_total = mode->htotal;
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
325
regmap_write(lt9611uxc->regmap, 0xd011, (u8)(h_total / 256));
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
326
regmap_write(lt9611uxc->regmap, 0xd012, (u8)(h_total % 256));
drivers/gpu/drm/i915/display/intel_audio.c
451
unsigned int h_active, h_total, hblank_delta, pixel_clk;
drivers/gpu/drm/i915/display/intel_audio.c
457
h_total = crtc_state->hw.adjusted_mode.crtc_htotal;
drivers/gpu/drm/i915/display/intel_audio.c
473
link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28;
drivers/gpu/drm/i915/display/intel_audio.c
474
link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2);
drivers/gpu/drm/i915/display/intel_audio.c
495
unsigned int h_active, h_total, pixel_clk;
drivers/gpu/drm/i915/display/intel_audio.c
499
h_total = crtc_state->hw.adjusted_mode.htotal;
drivers/gpu/drm/i915/display/intel_audio.c
504
return ((h_total - h_active) * link_clk - 12 * pixel_clk) /
drivers/gpu/drm/msm/dsi/dsi_host.c
1015
h_total /= 2;
drivers/gpu/drm/msm/dsi/dsi_host.c
1060
h_total -= hdisplay;
drivers/gpu/drm/msm/dsi/dsi_host.c
1072
h_total += hdisplay;
drivers/gpu/drm/msm/dsi/dsi_host.c
1087
DSI_TOTAL_H_TOTAL(h_total - 1) |
drivers/gpu/drm/msm/dsi/dsi_host.c
992
u32 h_total = mode->htotal;
drivers/gpu/drm/msm/dsi/dsi_host.c
996
u32 ha_start = h_total - mode->hsync_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
438
h_total = const_ptr->hor_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
494
tv_dac->tv.hrestart = restart % h_total;
drivers/gpu/drm/radeon/radeon_legacy_tv.c
495
restart /= h_total;
drivers/gpu/ipu-v3/ipu-di.c
205
u32 h_total = sig->mode.hactive + sig->mode.hsync_len +
drivers/gpu/ipu-v3/ipu-di.c
216
.run_count = h_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
233
.offset_count = h_total / 2,
drivers/gpu/ipu-v3/ipu-di.c
255
.run_count = h_total / 2 - 1,
drivers/gpu/ipu-v3/ipu-di.c
268
u32 h_total = sig->mode.hactive + sig->mode.hsync_len +
drivers/gpu/ipu-v3/ipu-di.c
275
.run_count = h_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
279
.run_count = h_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
319
.run_count = h_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
335
.run_count = h_total - 1,
drivers/gpu/ipu-v3/ipu-di.c
361
.run_count = h_total - 1,
drivers/video/fbdev/aty/aty128fb.c
1049
h_total = (((xres + right + hslen + left) >> 3) - 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
1083
crtc->h_total = h_total | (h_disp << 16);
drivers/video/fbdev/aty/aty128fb.c
1178
u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol;
drivers/video/fbdev/aty/aty128fb.c
1183
h_total = crtc->h_total & 0x1ff;
drivers/video/fbdev/aty/aty128fb.c
1184
h_disp = (crtc->h_total >> 16) & 0xff;
drivers/video/fbdev/aty/aty128fb.c
1200
left = ((h_total - h_sync_strt - h_sync_wid) << 3) - h_sync_dly;
drivers/video/fbdev/aty/aty128fb.c
1492
(((par->crtc.h_total>>16) & 0xff)+1)*8,
drivers/video/fbdev/aty/aty128fb.c
1578
xres = (((par->crtc.h_total >> 16) & 0xff) + 1) << 3;
drivers/video/fbdev/aty/aty128fb.c
367
u32 h_total, h_sync_strt_wid;
drivers/video/fbdev/aty/aty128fb.c
971
aty_st_le32(CRTC_H_TOTAL_DISP, crtc->h_total);
drivers/video/fbdev/aty/aty128fb.c
989
u32 h_total, h_disp, h_sync_strt, h_sync_wid, h_sync_pol;
drivers/video/fbdev/aty/atyfb_base.c
1031
crtc->h_tot_disp = h_total | (h_disp << 16);
drivers/video/fbdev/aty/atyfb_base.c
1173
u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol;
drivers/video/fbdev/aty/atyfb_base.c
1179
h_total = crtc->h_tot_disp & 0x1ff;
drivers/video/fbdev/aty/atyfb_base.c
1198
left = (h_total - h_sync_strt - h_sync_wid) * 8 - h_sync_dly;
drivers/video/fbdev/aty/atyfb_base.c
1366
u32 h_disp, h_sync_strt, h_sync_end, h_total;
drivers/video/fbdev/aty/atyfb_base.c
1372
h_total = h_sync_end + debug.left_margin;
drivers/video/fbdev/aty/atyfb_base.c
1378
hSync = 1000000000 / (pixclock_in_ps * h_total);
drivers/video/fbdev/aty/atyfb_base.c
1398
h_disp, h_sync_strt, h_sync_end, h_total,
drivers/video/fbdev/aty/atyfb_base.c
824
u32 h_total, h_disp, h_sync_strt, h_sync_end, h_sync_dly, h_sync_wid, h_sync_pol;
drivers/video/fbdev/aty/atyfb_base.c
899
h_total = h_sync_end + h_sync_dly + var->left_margin;
drivers/video/fbdev/aty/atyfb_base.c
977
h_total = h_disp + par->lcd_hblank_len;
drivers/video/fbdev/aty/atyfb_base.c
988
h_total = (h_total >> 3) - 1;
drivers/video/fbdev/aty/atyfb_base.c
996
FAIL_MAX("h_total too large", h_total, 0x1ff);
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c
118
if (h_total(var) > 4096 || v_total(var) > 4096)
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c
253
outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0));
drivers/video/fbdev/nvidia/nvidia.c
306
int h_total = (info->var.xres + info->var.right_margin +
drivers/video/fbdev/nvidia/nvidia.c
309
int h_blank_e = h_total + 4;
drivers/video/fbdev/nvidia/nvidia.c
330
h_start = h_total - 5;
drivers/video/fbdev/nvidia/nvidia.c
331
h_end = h_total - 2;
drivers/video/fbdev/nvidia/nvidia.c
332
h_blank_e = h_total + 4;
drivers/video/fbdev/nvidia/nvidia.c
335
state->crtc[0x0] = Set8Bits(h_total);
drivers/video/fbdev/nvidia/nvidia.c
374
state->horiz = SetBitField(h_total, 8: 8, 0:0)
drivers/video/fbdev/nvidia/nvidia.c
385
h_total = (h_total >> 1) & ~1;
drivers/video/fbdev/nvidia/nvidia.c
386
state->interlace = Set8Bits(h_total);
drivers/video/fbdev/nvidia/nvidia.c
387
state->horiz |= SetBitField(h_total, 8: 8, 4:4);
drivers/video/fbdev/sh_mobile_lcdcfb.c
724
unsigned long h_total, hsync_pos, display_h_total;
drivers/video/fbdev/sh_mobile_lcdcfb.c
742
h_total = mode->xres + mode->hsync_len + mode->left_margin
drivers/video/fbdev/sh_mobile_lcdcfb.c
744
tmp = h_total / 8; /* HTCN */
drivers/video/fbdev/sm501fb.c
317
if (h_total(var) > 4096 || v_total(var) > 2048)
drivers/video/fbdev/sm501fb.c
555
reg = (h_total(var) - 1) << 16;
drivers/video/fbdev/smscufx.c
662
u16 h_total, h_active, h_blank_start, h_blank_end, h_sync_start, h_sync_end;
drivers/video/fbdev/smscufx.c
685
h_total = var->xres + var->right_margin + var->hsync_len + var->left_margin;
drivers/video/fbdev/smscufx.c
692
temp = ((h_total - 1) << 16) | (h_active - 1);