Searched refs:dfixed_mul (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/radeon/ |
| H A D | rs690.c | 129 rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 134 rdev->pm.ht_bandwidth.full = dfixed_mul(rdev->pm.igp_ht_link_clk, in rs690_pm_info() 145 rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 313 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute() 335 b.full = dfixed_mul(b, crtc->hsc); in rs690_crtc_bandwidth_compute() 352 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute() 361 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute() 374 read_delay_latency.full = dfixed_mul(read_delay_latency, a); in rs690_crtc_bandwidth_compute() 387 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute() 396 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute() [all …]
|
| H A D | rv515.c | 961 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute() 983 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute() 1000 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute() 1009 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute() 1031 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rv515_crtc_bandwidth_compute() 1052 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); in rv515_crtc_bandwidth_compute() 1106 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1109 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1113 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1120 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority() [all …]
|
| H A D | evergreen.c | 1964 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth() 1965 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth() 1984 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display() 1985 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in evergreen_dram_bandwidth_for_display() 2004 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth() 2005 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in evergreen_data_return_bandwidth() 2024 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth() 2025 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); in evergreen_dmif_request_bandwidth() 2057 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth() 2058 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v6_0.c | 587 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 588 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 616 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display() 617 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display() 645 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth() 646 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth() 671 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth() 677 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth() 727 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth() 728 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() [all …]
|
| H A D | dce_v8_0.c | 687 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 688 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() 716 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display() 717 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display() 745 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth() 746 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth() 771 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth() 777 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth() 827 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 828 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
|
| H A D | dce_v10_0.c | 734 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth() 735 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth() 763 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display() 764 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v10_0_dram_bandwidth_for_display() 792 bandwidth.full = dfixed_mul(a, sclk); in dce_v10_0_data_return_bandwidth() 793 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v10_0_data_return_bandwidth() 818 b.full = dfixed_mul(a, disp_clk); in dce_v10_0_dmif_request_bandwidth() 824 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v10_0_dmif_request_bandwidth() 874 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v10_0_average_bandwidth() 875 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
|
| /linux/include/drm/ |
| H A D | drm_fixed.h | 41 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
|