Home
last modified time | relevance | path

Searched refs:dfixed_mul (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Drs690.c129 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 …]
Drv515.c961 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 …]
Devergreen.c1963 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth()
1964 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth()
1983 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display()
1984 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in evergreen_dram_bandwidth_for_display()
2003 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth()
2004 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in evergreen_data_return_bandwidth()
2023 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth()
2024 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); in evergreen_dmif_request_bandwidth()
2056 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth()
2057 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth()
[all …]
Dr100.c3263 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update()
3273 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update()
3280 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update()
3283 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update()
3384 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update()
3421 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update()
3423 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update()
3425 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update()
3426 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update()
3481 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update()
[all …]
Dsi.c2082 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth()
2083 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce6_dram_bandwidth()
2102 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display()
2103 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce6_dram_bandwidth_for_display()
2122 bandwidth.full = dfixed_mul(a, sclk); in dce6_data_return_bandwidth()
2123 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce6_data_return_bandwidth()
2145 b1.full = dfixed_mul(a, disp_clk); in dce6_dmif_request_bandwidth()
2151 b2.full = dfixed_mul(a, sclk); in dce6_dmif_request_bandwidth()
2160 bandwidth.full = dfixed_mul(a, disp_clk_request_efficiency); in dce6_dmif_request_bandwidth()
2192 bandwidth.full = dfixed_mul(src_width, bpp); in dce6_average_bandwidth()
[all …]
Dcik.c8937 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth()
8938 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce8_dram_bandwidth()
8966 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth_for_display()
8967 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce8_dram_bandwidth_for_display()
8995 bandwidth.full = dfixed_mul(a, sclk); in dce8_data_return_bandwidth()
8996 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce8_data_return_bandwidth()
9021 b.full = dfixed_mul(a, disp_clk); in dce8_dmif_request_bandwidth()
9027 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce8_dmif_request_bandwidth()
9077 bandwidth.full = dfixed_mul(src_width, bpp); in dce8_average_bandwidth()
9078 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce8_average_bandwidth()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c533 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth()
534 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth()
562 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth_for_display()
563 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v6_0_dram_bandwidth_for_display()
591 bandwidth.full = dfixed_mul(a, sclk); in dce_v6_0_data_return_bandwidth()
592 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v6_0_data_return_bandwidth()
617 b.full = dfixed_mul(a, disp_clk); in dce_v6_0_dmif_request_bandwidth()
623 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v6_0_dmif_request_bandwidth()
673 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth()
674 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth()
[all …]
Ddce_v8_0.c670 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth()
671 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth()
699 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display()
700 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display()
728 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth()
729 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth()
754 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth()
760 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth()
810 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth()
811 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
Ddce_v10_0.c735 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth()
736 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth()
764 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display()
765 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v10_0_dram_bandwidth_for_display()
793 bandwidth.full = dfixed_mul(a, sclk); in dce_v10_0_data_return_bandwidth()
794 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v10_0_data_return_bandwidth()
819 b.full = dfixed_mul(a, disp_clk); in dce_v10_0_dmif_request_bandwidth()
825 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v10_0_dmif_request_bandwidth()
875 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v10_0_average_bandwidth()
876 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
Ddce_v11_0.c761 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth()
762 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth()
790 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display()
791 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v11_0_dram_bandwidth_for_display()
819 bandwidth.full = dfixed_mul(a, sclk); in dce_v11_0_data_return_bandwidth()
820 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v11_0_data_return_bandwidth()
845 b.full = dfixed_mul(a, disp_clk); in dce_v11_0_dmif_request_bandwidth()
851 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v11_0_dmif_request_bandwidth()
901 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v11_0_average_bandwidth()
902 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
/linux-6.1.9/include/drm/
Ddrm_fixed.h39 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro