/openbsd-current/sys/dev/pci/drm/amd/display/include/ |
H A D | audio_types.h | 37 uint32_t h_total; member in struct:audio_crtc_info
|
H A D | bios_parser_types.h | 172 uint32_t h_total; member in struct:bp_hw_crtc_timing_parameters
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 470 drr_frame_us = div64_u64(((uint64_t)drr_timing->v_total * drr_timing->h_total * 1000000), 473 mall_region_us = div64_u64(((uint64_t)phantom_timing->v_addressable * phantom_timing->h_total * 1000000), 477 (((uint64_t)drr_timing->h_total * 1000000))); 479 prefetch_us = div64_u64(((uint64_t)(phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total * 1000000), 481 subvp_active_us = div64_u64(((uint64_t)main_timing->v_addressable * main_timing->h_total * 1000000), 483 drr_active_us = div64_u64(((uint64_t)drr_timing->v_addressable * drr_timing->h_total * 1000000), 490 (((uint64_t)drr_timing->h_total * 1000000))); 549 pipe_data->pipe_config.vblank_data.htotal = vblank_pipe->stream->timing.h_total; 586 (uint64_t)phantom_timing0->h_total * 1000000), 589 (uint64_t)phantom_timing1->h_total * 100000 [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn201/ |
H A D | dcn201_optc.c | 88 h_blank = (timing->h_total - timing->h_addressable - 105 if (timing->h_total > optc1->max_h_total ||
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/clk_mgr/dce110/ |
H A D | dce110_clk_mgr.c | 106 vertical_blank_in_pixels = stream->timing.h_total * 164 cfg->v_refresh /= stream->timing.h_total; 242 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz;
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 485 sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1; 489 stretched_frame_pix_cnt = (v_stretch_max + timing->v_total) * timing->h_total; 529 h_v_total = timing->h_total * timing->v_total; 655 pipe->stream->timing.v_total * pipe->stream->timing.h_total - (uint64_t)1); 657 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); 713 pipe->stream->timing.v_total * pipe->stream->timing.h_total - (uint64_t)1); 715 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total);
|
H A D | dcn32_dio_stream_encoder.c | 255 h_blank_start = timing->h_total - timing->h_front_porch; 262 divisible = (timing->h_total % 2 == 0) &&
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn10/ |
H A D | dcn10_optc.c | 186 /* CRTC_H_TOTAL = vesa.h_total - 1 */ 188 OTG_H_TOTAL, patched_crtc_timing.h_total - 1); 196 asic_blank_start = patched_crtc_timing.h_total - 599 h_blank = (timing->h_total - timing->h_addressable - 620 if (timing->h_total > optc1->max_h_total || 1312 hw_crtc_timing->h_total = s.h_total + 1; 1313 hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end); 1314 hw_crtc_timing->h_front_porch = s.h_total [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
H A D | mem_input.h | 127 uint32_t h_total,/* for current target */
|
/openbsd-current/sys/dev/pci/drm/amd/display/modules/freesync/ |
H A D | freesync.c | 117 * 10000) * stream->timing.h_total, 136 stream->timing.h_total), 1000000); 163 h_total_up_scaled = stream->timing.h_total * 10000; 170 stream->timing.h_total), 1000); 246 stream->timing.h_total), 1000); 1006 if (stream->ctx->dc->caps.max_v_total != 0 && stream->timing.h_total != 0) { 1008 (stream->timing.h_total * stream->ctx->dc->caps.max_v_total)); 1296 unsigned int total = stream->timing.h_total * stream->timing.v_total;
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 314 stream->timing.v_total * stream->timing.h_total - (uint64_t)1); 316 refresh_rate = div_u64(refresh_rate, stream->timing.h_total); 370 ((stream->timing.pix_clk_100hz * 100) / stream->timing.v_total / stream->timing.h_total) < 120) 373 ((stream->timing.pix_clk_100hz * 100) / stream->timing.v_total / stream->timing.h_total) < 120) 761 "\tpix_clk_khz: %d, h_total: %d, v_total: %d, pixelencoder:%d, displaycolorDepth:%d\n", 763 stream->timing.h_total,
|
H A D | dc_debug.c | 338 pipe_ctx->stream->timing.h_total,
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 574 (double)ref_pipe->stream->timing.h_total; 690 pipe->stream->timing.v_total * pipe->stream->timing.h_total - 1) 691 / (double)(pipe->stream->timing.v_total * pipe->stream->timing.h_total); 716 unsigned int frame_us = (stream->timing.v_total * stream->timing.h_total / 819 time_us = (microschedule_lines * phantom->timing.h_total) / 834 vactive1_us = ((subvp_pipes[0]->stream->timing.v_addressable * subvp_pipes[0]->stream->timing.h_total) / 836 vactive2_us = ((subvp_pipes[1]->stream->timing.v_addressable * subvp_pipes[1]->stream->timing.h_total) / 839 subvp_pipes[0]->stream->timing.h_total) / 842 subvp_pipes[1]->stream->timing.h_total) / 915 prefetch_us = (phantom_timing->v_total - phantom_timing->v_front_porch) * phantom_timing->h_total / [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_psr.c | 161 stream->timing.h_total);
|
/openbsd-current/sys/dev/pci/drm/radeon/ |
H A D | radeon_legacy_tv.c | 428 unsigned int h_total, v_total, f_total; local 438 h_total = const_ptr->hor_total; 485 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME); 487 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME); 494 tv_dac->tv.hrestart = restart % h_total; 495 restart /= h_total;
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_audio.c | 426 unsigned int h_active, h_total, hblank_delta, pixel_clk; local 432 h_total = crtc_state->hw.adjusted_mode.crtc_htotal; 448 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; 449 link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2); 470 unsigned int h_active, h_total, pixel_clk; local 474 h_total = crtc_state->hw.adjusted_mode.htotal; 479 return ((h_total - h_active) * link_clk - 12 * pixel_clk) /
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dce/ |
H A D | dce_mem_input.c | 673 uint32_t h_total, 686 if (!h_total || v_total || !pix_clk_khz) 691 pixels_per_frame = h_total * v_total; 720 uint32_t h_total, 728 h_total, 672 get_dmif_switch_time_us( uint32_t h_total, uint32_t v_total, uint32_t pix_clk_khz) argument 718 dce_mi_allocate_dmif( struct mem_input *mi, uint32_t h_total, uint32_t v_total, uint32_t pix_clk_khz, uint32_t total_stream_num) argument
|
H A D | dce_stream_encoder.c | 455 DP_MSA_HTOTAL, hw_crtc_timing.h_total, 462 h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left - 1156 crtc_info->h_total - crtc_info->h_active;
|
H A D | dce_clk_mgr.c | 540 cfg->v_refresh /= stream->timing.h_total; 558 vertical_blank_in_pixels = stream->timing.h_total * 665 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz;
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/calcs/ |
H A D | dce_calcs.c | 260 data->h_total[0] = data->h_total[4]; 262 data->h_total[1] = data->h_total[4]; 265 data->h_total[2] = data->h_total[5]; 267 data->h_total[3] = data->h_total[5]; 397 data->h_total[maximum_number_of_surfaces - 2] = data->h_total[ [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hpo_dp_stream_encoder.c | 346 h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left - 397 MSA_DATA_LANE_0, hw_crtc_timing.h_total >> 8, 403 MSA_DATA_LANE_0, hw_crtc_timing.h_total & 0xff,
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dce110/ |
H A D | dce110_timing_generator_v.c | 262 timing->h_total - 1, 279 tmp = timing->h_total -
|
H A D | dce110_timing_generator.c | 309 bp_params.h_total = patched_crtc_timing.h_total; 622 timing->h_total - 1, 660 tmp = timing->h_total - 1144 if (timing->h_total > tg110->max_h_total || 1148 h_blank = (timing->h_total - timing->h_addressable -
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_hpo_dp.c | 59 timing->h_total - timing->h_addressable),
|
/openbsd-current/sys/dev/pci/drm/amd/display/modules/info_packet/ |
H A D | info_packet.c | 466 && stream->timing.h_total >= 3840
|