Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/drm2/radeon/
H A Drs690.c130 tmp.full = dfixed_const(4); in rs690_pm_info()
135 tmp.full = dfixed_const(5); in rs690_pm_info()
252 c.full = dfixed_const(256); in rs690_crtc_bandwidth_compute()
273 b.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
277 c.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
283 a.full = dfixed_const(1); in rs690_crtc_bandwidth_compute()
327 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
338 a.full = dfixed_const(10); in rs690_crtc_bandwidth_compute()
350 a.full = dfixed_const(3); in rs690_crtc_bandwidth_compute()
354 a.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
[all …]
H A Drv515.c961 c.full = dfixed_const(256); in rv515_crtc_bandwidth_compute()
978 b.full = dfixed_const(1000); in rv515_crtc_bandwidth_compute()
982 b.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
986 c.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
992 a.full = dfixed_const(1); in rv515_crtc_bandwidth_compute()
1032 a.full = dfixed_const(3); in rv515_crtc_bandwidth_compute()
1063 a.full = dfixed_const(16); in rv515_crtc_bandwidth_compute()
1074 a.full = dfixed_const(16); in rv515_crtc_bandwidth_compute()
1120 a.full = dfixed_const(16); in rv515_bandwidth_avivo_update()
1134 a.full = dfixed_const(16); in rv515_bandwidth_avivo_update()
[all …]
H A Dsi.c555 a.full = dfixed_const(1000); in dce6_dram_bandwidth()
559 a.full = dfixed_const(10); in dce6_dram_bandwidth()
579 a.full = dfixed_const(10); in dce6_dram_bandwidth_for_display()
598 a.full = dfixed_const(10); in dce6_data_return_bandwidth()
601 a.full = dfixed_const(32); in dce6_data_return_bandwidth()
633 a.full = dfixed_const(10); in dce6_dmif_request_bandwidth()
697 a.full = dfixed_const(2); in dce6_latency_watermark()
698 b.full = dfixed_const(1); in dce6_latency_watermark()
768 a.full = dfixed_const(1); in dce6_check_latency_hiding()
852 a.full = dfixed_const(16); in dce6_program_watermarks()
[all …]
H A Devergreen.c849 a.full = dfixed_const(10); in evergreen_dram_bandwidth()
869 a.full = dfixed_const(10); in evergreen_dram_bandwidth_for_display()
888 a.full = dfixed_const(10); in evergreen_data_return_bandwidth()
891 a.full = dfixed_const(32); in evergreen_data_return_bandwidth()
908 a.full = dfixed_const(10); in evergreen_dmif_request_bandwidth()
911 a.full = dfixed_const(32); in evergreen_dmif_request_bandwidth()
969 a.full = dfixed_const(2); in evergreen_latency_watermark()
970 b.full = dfixed_const(1); in evergreen_latency_watermark()
1031 a.full = dfixed_const(1); in evergreen_check_latency_hiding()
1113 a.full = dfixed_const(16); in evergreen_program_watermarks()
[all …]
H A Dr100.c3358 temp_ff.full = dfixed_const(temp); in r100_bandwidth_update()
3365 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update()
3372 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update()
3422 trp_ff.full = dfixed_const(mem_trp); in r100_bandwidth_update()
3505 k1.full = dfixed_const(40); in r100_bandwidth_update()
3508 k1.full = dfixed_const(20); in r100_bandwidth_update()
3512 k1.full = dfixed_const(40); in r100_bandwidth_update()
3516 temp_ff.full = dfixed_const(2); in r100_bandwidth_update()
3518 temp_ff.full = dfixed_const(c); in r100_bandwidth_update()
3520 temp_ff.full = dfixed_const(4); in r100_bandwidth_update()
[all …]
H A Dradeon_display.c1521 a.full = dfixed_const(src_v); in radeon_crtc_scaling_mode_fixup()
1522 b.full = dfixed_const(dst_v); in radeon_crtc_scaling_mode_fixup()
1524 a.full = dfixed_const(src_h); in radeon_crtc_scaling_mode_fixup()
1525 b.full = dfixed_const(dst_h); in radeon_crtc_scaling_mode_fixup()
1528 radeon_crtc->vsc.full = dfixed_const(1); in radeon_crtc_scaling_mode_fixup()
1529 radeon_crtc->hsc.full = dfixed_const(1); in radeon_crtc_scaling_mode_fixup()
H A Dradeon_device.c496 a.full = dfixed_const(100); in radeon_update_bandwidth_info()
497 rdev->pm.sclk.full = dfixed_const(sclk); in radeon_update_bandwidth_info()
499 rdev->pm.mclk.full = dfixed_const(mclk); in radeon_update_bandwidth_info()
503 a.full = dfixed_const(16); in radeon_update_bandwidth_info()
/freebsd-12.1/sys/dev/drm2/
H 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()