Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/radeon/
Drs690.c128 rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info()
133 rdev->pm.ht_bandwidth.full = dfixed_mul(rdev->pm.igp_ht_link_clk, in rs690_pm_info()
144 rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info()
312 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute()
334 b.full = dfixed_mul(b, crtc->hsc); in rs690_crtc_bandwidth_compute()
351 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute()
360 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute()
373 read_delay_latency.full = dfixed_mul(read_delay_latency, a); in rs690_crtc_bandwidth_compute()
386 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute()
395 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute()
[all …]
Drv515.c991 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute()
1013 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute()
1030 line_time.full = dfixed_mul(a, pclk); in rv515_crtc_bandwidth_compute()
1039 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
1061 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rv515_crtc_bandwidth_compute()
1082 tolerable_latency.full = dfixed_mul(tolerable_latency, chunk_time); in rv515_crtc_bandwidth_compute()
1136 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1139 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority()
1143 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority()
1150 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
[all …]
Dr100.c3261 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update()
3271 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update()
3278 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update()
3281 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update()
3382 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update()
3419 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update()
3421 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update()
3423 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update()
3424 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update()
3479 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update()
[all …]
Devergreen.c2055 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth()
2056 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth()
2075 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth_for_display()
2076 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in evergreen_dram_bandwidth_for_display()
2095 bandwidth.full = dfixed_mul(a, sclk); in evergreen_data_return_bandwidth()
2096 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in evergreen_data_return_bandwidth()
2115 bandwidth.full = dfixed_mul(a, disp_clk); in evergreen_dmif_request_bandwidth()
2116 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); in evergreen_dmif_request_bandwidth()
2148 bandwidth.full = dfixed_mul(src_width, bpp); in evergreen_average_bandwidth()
2149 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth()
[all …]
Dsi.c2027 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth()
2028 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce6_dram_bandwidth()
2047 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth_for_display()
2048 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce6_dram_bandwidth_for_display()
2067 bandwidth.full = dfixed_mul(a, sclk); in dce6_data_return_bandwidth()
2068 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce6_data_return_bandwidth()
2090 b1.full = dfixed_mul(a, disp_clk); in dce6_dmif_request_bandwidth()
2096 b2.full = dfixed_mul(a, sclk); in dce6_dmif_request_bandwidth()
2105 bandwidth.full = dfixed_mul(a, disp_clk_request_efficiency); in dce6_dmif_request_bandwidth()
2137 bandwidth.full = dfixed_mul(src_width, bpp); in dce6_average_bandwidth()
[all …]
Dcik.c9230 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth()
9231 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce8_dram_bandwidth()
9259 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth_for_display()
9260 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce8_dram_bandwidth_for_display()
9288 bandwidth.full = dfixed_mul(a, sclk); in dce8_data_return_bandwidth()
9289 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce8_data_return_bandwidth()
9314 b.full = dfixed_mul(a, disp_clk); in dce8_dmif_request_bandwidth()
9320 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce8_dmif_request_bandwidth()
9370 bandwidth.full = dfixed_mul(src_width, bpp); in dce8_average_bandwidth()
9371 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce8_average_bandwidth()
[all …]
/linux-4.4.14/include/drm/
Ddrm_fixed.h39 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c882 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth()
883 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth()
911 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth_for_display()
912 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v8_0_dram_bandwidth_for_display()
940 bandwidth.full = dfixed_mul(a, sclk); in dce_v8_0_data_return_bandwidth()
941 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v8_0_data_return_bandwidth()
966 b.full = dfixed_mul(a, disp_clk); in dce_v8_0_dmif_request_bandwidth()
972 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v8_0_dmif_request_bandwidth()
1022 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth()
1023 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
[all …]
Ddce_v11_0.c927 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth()
928 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth()
956 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth_for_display()
957 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v11_0_dram_bandwidth_for_display()
985 bandwidth.full = dfixed_mul(a, sclk); in dce_v11_0_data_return_bandwidth()
986 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v11_0_data_return_bandwidth()
1011 b.full = dfixed_mul(a, disp_clk); in dce_v11_0_dmif_request_bandwidth()
1017 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v11_0_dmif_request_bandwidth()
1067 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v11_0_average_bandwidth()
1068 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
[all …]
Ddce_v10_0.c939 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth()
940 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth()
968 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth_for_display()
969 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce_v10_0_dram_bandwidth_for_display()
997 bandwidth.full = dfixed_mul(a, sclk); in dce_v10_0_data_return_bandwidth()
998 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce_v10_0_data_return_bandwidth()
1023 b.full = dfixed_mul(a, disp_clk); in dce_v10_0_dmif_request_bandwidth()
1029 bandwidth.full = dfixed_mul(b, disp_clk_request_efficiency); in dce_v10_0_dmif_request_bandwidth()
1079 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v10_0_average_bandwidth()
1080 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
[all …]