Home
last modified time | relevance | path

Searched refs:dfixed_const (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Drs690.c128 tmp.full = dfixed_const(4); in rs690_pm_info()
133 tmp.full = dfixed_const(5); in rs690_pm_info()
302 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
332 b.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
336 c.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
342 a.full = dfixed_const(1); in rs690_crtc_bandwidth_compute()
386 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
397 a.full = dfixed_const(10); in rs690_crtc_bandwidth_compute()
409 a.full = dfixed_const(3); in rs690_crtc_bandwidth_compute()
413 a.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
[all …]
A Drv515.c949 a.full = dfixed_const(100); in rv515_crtc_bandwidth_compute()
959 c.full = dfixed_const(256); in rv515_crtc_bandwidth_compute()
976 b.full = dfixed_const(1000); in rv515_crtc_bandwidth_compute()
980 b.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
984 c.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
990 a.full = dfixed_const(1); in rv515_crtc_bandwidth_compute()
1030 a.full = dfixed_const(3); in rv515_crtc_bandwidth_compute()
1061 a.full = dfixed_const(16); in rv515_crtc_bandwidth_compute()
1072 a.full = dfixed_const(16); in rv515_crtc_bandwidth_compute()
1107 a.full = dfixed_const(16); in rv515_compute_mode_priority()
[all …]
A Devergreen.c1960 a.full = dfixed_const(10); in evergreen_dram_bandwidth()
1980 a.full = dfixed_const(10); in evergreen_dram_bandwidth_for_display()
1999 a.full = dfixed_const(10); in evergreen_data_return_bandwidth()
2002 a.full = dfixed_const(32); in evergreen_data_return_bandwidth()
2019 a.full = dfixed_const(10); in evergreen_dmif_request_bandwidth()
2022 a.full = dfixed_const(32); in evergreen_dmif_request_bandwidth()
2080 a.full = dfixed_const(2); in evergreen_latency_watermark()
2081 b.full = dfixed_const(1); in evergreen_latency_watermark()
2136 a.full = dfixed_const(1); in evergreen_check_latency_hiding()
2264 a.full = dfixed_const(16); in evergreen_program_watermarks()
[all …]
A Dsi.c2075 a.full = dfixed_const(1000); in dce6_dram_bandwidth()
2079 a.full = dfixed_const(10); in dce6_dram_bandwidth()
2099 a.full = dfixed_const(10); in dce6_dram_bandwidth_for_display()
2118 a.full = dfixed_const(10); in dce6_data_return_bandwidth()
2121 a.full = dfixed_const(32); in dce6_data_return_bandwidth()
2153 a.full = dfixed_const(10); in dce6_dmif_request_bandwidth()
2217 a.full = dfixed_const(2); in dce6_latency_watermark()
2218 b.full = dfixed_const(1); in dce6_latency_watermark()
2275 a.full = dfixed_const(1); in dce6_check_latency_hiding()
2408 a.full = dfixed_const(16); in dce6_program_watermarks()
[all …]
A Dr100.c3262 temp_ff.full = dfixed_const(temp); in r100_bandwidth_update()
3269 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update()
3276 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update()
3326 trp_ff.full = dfixed_const(mem_trp); in r100_bandwidth_update()
3409 k1.full = dfixed_const(40); in r100_bandwidth_update()
3412 k1.full = dfixed_const(20); in r100_bandwidth_update()
3416 k1.full = dfixed_const(40); in r100_bandwidth_update()
3420 temp_ff.full = dfixed_const(2); in r100_bandwidth_update()
3422 temp_ff.full = dfixed_const(c); in r100_bandwidth_update()
3424 temp_ff.full = dfixed_const(4); in r100_bandwidth_update()
[all …]
A Dcik.c8930 a.full = dfixed_const(1000); in dce8_dram_bandwidth()
8934 a.full = dfixed_const(10); in dce8_dram_bandwidth()
8959 a.full = dfixed_const(1000); in dce8_dram_bandwidth_for_display()
8963 a.full = dfixed_const(10); in dce8_dram_bandwidth_for_display()
8991 a.full = dfixed_const(10); in dce8_data_return_bandwidth()
8994 a.full = dfixed_const(32); in dce8_data_return_bandwidth()
9020 a.full = dfixed_const(32); in dce8_dmif_request_bandwidth()
9023 a.full = dfixed_const(10); in dce8_dmif_request_bandwidth()
9111 a.full = dfixed_const(2); in dce8_latency_watermark()
9112 b.full = dfixed_const(1); in dce8_latency_watermark()
[all …]
A Dradeon_display.c1762 a.full = dfixed_const(src_v); in radeon_crtc_scaling_mode_fixup()
1763 b.full = dfixed_const(dst_v); in radeon_crtc_scaling_mode_fixup()
1765 a.full = dfixed_const(src_h); in radeon_crtc_scaling_mode_fixup()
1766 b.full = dfixed_const(dst_h); in radeon_crtc_scaling_mode_fixup()
1769 radeon_crtc->vsc.full = dfixed_const(1); in radeon_crtc_scaling_mode_fixup()
1770 radeon_crtc->hsc.full = dfixed_const(1); in radeon_crtc_scaling_mode_fixup()
A Dradeon_device.c731 a.full = dfixed_const(100); in radeon_update_bandwidth_info()
732 rdev->pm.sclk.full = dfixed_const(sclk); in radeon_update_bandwidth_info()
734 rdev->pm.mclk.full = dfixed_const(mclk); in radeon_update_bandwidth_info()
738 a.full = dfixed_const(16); in radeon_update_bandwidth_info()
/linux-6.3-rc2/include/drm/
A Ddrm_fixed.h36 #define dfixed_const(A) (u32)(((A) << 12))/* + ((B + 0.000122)*4096)) */ macro
41 #define dfixed_init(A) { .full = dfixed_const((A)) }
50 return dfixed_const(non_frac); in dfixed_floor()
57 if (A.full > dfixed_const(non_frac)) in dfixed_ceil()
58 return dfixed_const(non_frac + 1); in dfixed_ceil()
60 return dfixed_const(non_frac); in dfixed_ceil()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Ddce_v6_0.c532 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth()
561 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth_for_display()
589 a.full = dfixed_const(10); in dce_v6_0_data_return_bandwidth()
592 a.full = dfixed_const(32); in dce_v6_0_data_return_bandwidth()
618 a.full = dfixed_const(32); in dce_v6_0_dmif_request_bandwidth()
621 a.full = dfixed_const(10); in dce_v6_0_dmif_request_bandwidth()
709 a.full = dfixed_const(2); in dce_v6_0_latency_watermark()
710 b.full = dfixed_const(1); in dce_v6_0_latency_watermark()
798 a.full = dfixed_const(1); in dce_v6_0_check_latency_hiding()
939 a.full = dfixed_const(16); in dce_v6_0_program_watermarks()
[all …]
A Ddce_v8_0.c665 a.full = dfixed_const(1000); in dce_v8_0_dram_bandwidth()
669 a.full = dfixed_const(10); in dce_v8_0_dram_bandwidth()
694 a.full = dfixed_const(1000); in dce_v8_0_dram_bandwidth_for_display()
698 a.full = dfixed_const(10); in dce_v8_0_dram_bandwidth_for_display()
726 a.full = dfixed_const(10); in dce_v8_0_data_return_bandwidth()
729 a.full = dfixed_const(32); in dce_v8_0_data_return_bandwidth()
755 a.full = dfixed_const(32); in dce_v8_0_dmif_request_bandwidth()
758 a.full = dfixed_const(10); in dce_v8_0_dmif_request_bandwidth()
846 a.full = dfixed_const(2); in dce_v8_0_latency_watermark()
847 b.full = dfixed_const(1); in dce_v8_0_latency_watermark()
[all …]
A Ddce_v10_0.c730 a.full = dfixed_const(1000); in dce_v10_0_dram_bandwidth()
734 a.full = dfixed_const(10); in dce_v10_0_dram_bandwidth()
759 a.full = dfixed_const(1000); in dce_v10_0_dram_bandwidth_for_display()
763 a.full = dfixed_const(10); in dce_v10_0_dram_bandwidth_for_display()
791 a.full = dfixed_const(10); in dce_v10_0_data_return_bandwidth()
794 a.full = dfixed_const(32); in dce_v10_0_data_return_bandwidth()
820 a.full = dfixed_const(32); in dce_v10_0_dmif_request_bandwidth()
823 a.full = dfixed_const(10); in dce_v10_0_dmif_request_bandwidth()
911 a.full = dfixed_const(2); in dce_v10_0_latency_watermark()
912 b.full = dfixed_const(1); in dce_v10_0_latency_watermark()
[all …]
A Ddce_v11_0.c756 a.full = dfixed_const(1000); in dce_v11_0_dram_bandwidth()
760 a.full = dfixed_const(10); in dce_v11_0_dram_bandwidth()
785 a.full = dfixed_const(1000); in dce_v11_0_dram_bandwidth_for_display()
789 a.full = dfixed_const(10); in dce_v11_0_dram_bandwidth_for_display()
817 a.full = dfixed_const(10); in dce_v11_0_data_return_bandwidth()
820 a.full = dfixed_const(32); in dce_v11_0_data_return_bandwidth()
846 a.full = dfixed_const(32); in dce_v11_0_dmif_request_bandwidth()
849 a.full = dfixed_const(10); in dce_v11_0_dmif_request_bandwidth()
937 a.full = dfixed_const(2); in dce_v11_0_latency_watermark()
938 b.full = dfixed_const(1); in dce_v11_0_latency_watermark()
[all …]
A Damdgpu_display.c1413 a.full = dfixed_const(src_v); in amdgpu_display_crtc_scaling_mode_fixup()
1414 b.full = dfixed_const(dst_v); in amdgpu_display_crtc_scaling_mode_fixup()
1416 a.full = dfixed_const(src_h); in amdgpu_display_crtc_scaling_mode_fixup()
1417 b.full = dfixed_const(dst_h); in amdgpu_display_crtc_scaling_mode_fixup()
1420 amdgpu_crtc->vsc.full = dfixed_const(1); in amdgpu_display_crtc_scaling_mode_fixup()
1421 amdgpu_crtc->hsc.full = dfixed_const(1); in amdgpu_display_crtc_scaling_mode_fixup()
/linux-6.3-rc2/drivers/gpu/drm/tegra/
A Ddc.c151 outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); in compute_dda_inc()
152 inf.full -= dfixed_const(1); in compute_dda_inc()
155 dda_inc = min_t(u32, dda_inc, dfixed_const(max)); in compute_dda_inc()

Completed in 83 milliseconds