Searched refs:dfixed_mul (Results 1 – 4 of 4) 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 | r100.c | 3285 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3295 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update() 3302 peak_disp_bw.full += dfixed_mul(pix_clk2, temp_ff); in r100_bandwidth_update() 3305 mem_bw.full = dfixed_mul(mem_bw, min_mem_eff); in r100_bandwidth_update() 3406 sclk_eff_ff.full -= dfixed_mul(agpmode_ff, temp_ff); in r100_bandwidth_update() 3443 mc_latency_mclk.full = dfixed_mul(trcd_ff, temp_ff); in r100_bandwidth_update() 3445 mc_latency_mclk.full += dfixed_mul(tcas_ff, temp_ff); in r100_bandwidth_update() 3447 mc_latency_mclk.full += dfixed_mul(tras_ff, temp_ff); in r100_bandwidth_update() 3448 mc_latency_mclk.full += dfixed_mul(trp_ff, temp_ff); in r100_bandwidth_update() 3503 crit_point_ff.full = dfixed_mul(disp_drain_rate, disp_latency); in r100_bandwidth_update() [all …]
|
| /linux/include/drm/ |
| H A D | drm_fixed.h | 41 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) macro
|