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

/freebsd-11.0-release/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);
57 if (A.full > dfixed_const(non_frac))
58 return dfixed_const(non_frac + 1);
60 return dfixed_const(non_frac);
/freebsd-11.0-release/sys/dev/drm2/radeon/
H A Drs690.c83 tmp.full = dfixed_const(100);
84 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info.ulBootUpMemoryClock));
87 rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock));
89 rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk);
92 rdev->pm.igp_system_mclk.full = dfixed_const(400);
93 rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock));
94 rdev->pm.igp_ht_link_width.full = dfixed_const(info->info.ucHTLinkWidth);
97 tmp.full = dfixed_const(100);
98 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info_v2.ulBootUpSidePortClock));
101 rdev->pm.igp_system_mclk.full = dfixed_const(le32_to_cp
[all...]
H A Drv515.c955 if (crtc->vsc.full > dfixed_const(2))
956 wm->num_line_pair.full = dfixed_const(2);
958 wm->num_line_pair.full = dfixed_const(1);
960 b.full = dfixed_const(mode->crtc_hdisplay);
961 c.full = dfixed_const(256);
965 if (a.full < dfixed_const(4)) {
977 a.full = dfixed_const(mode->clock);
978 b.full = dfixed_const(1000);
982 b.full = dfixed_const(2);
986 c.full = dfixed_const(
[all...]
H A Dsi.c555 a.full = dfixed_const(1000);
556 yclk.full = dfixed_const(wm->yclk);
558 dram_channels.full = dfixed_const(wm->dram_channels * 4);
559 a.full = dfixed_const(10);
560 dram_efficiency.full = dfixed_const(7);
575 a.full = dfixed_const(1000);
576 yclk.full = dfixed_const(wm->yclk);
578 dram_channels.full = dfixed_const(wm->dram_channels * 4);
579 a.full = dfixed_const(10);
580 disp_dram_allocation.full = dfixed_const(
[all...]
H A Devergreen.c845 a.full = dfixed_const(1000);
846 yclk.full = dfixed_const(wm->yclk);
848 dram_channels.full = dfixed_const(wm->dram_channels * 4);
849 a.full = dfixed_const(10);
850 dram_efficiency.full = dfixed_const(7);
865 a.full = dfixed_const(1000);
866 yclk.full = dfixed_const(wm->yclk);
868 dram_channels.full = dfixed_const(wm->dram_channels * 4);
869 a.full = dfixed_const(10);
870 disp_dram_allocation.full = dfixed_const(
[all...]
H A Dr100.c3358 temp_ff.full = dfixed_const(temp);
3365 temp_ff.full = dfixed_const(1000);
3366 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */
3368 temp_ff.full = dfixed_const(pixel_bytes1);
3372 temp_ff.full = dfixed_const(1000);
3373 pix_clk2.full = dfixed_const(mode2->clock); /* convert to fixed point */
3375 temp_ff.full = dfixed_const(pixel_bytes2);
3421 trcd_ff.full = dfixed_const(mem_trcd);
3422 trp_ff.full = dfixed_const(mem_trp);
3423 tras_ff.full = dfixed_const(mem_tra
[all...]
H A Dradeon_device.c496 a.full = dfixed_const(100);
497 rdev->pm.sclk.full = dfixed_const(sclk);
499 rdev->pm.mclk.full = dfixed_const(mclk);
503 a.full = dfixed_const(16);
H A Dradeon_display.c1521 a.full = dfixed_const(src_v);
1522 b.full = dfixed_const(dst_v);
1524 a.full = dfixed_const(src_h);
1525 b.full = dfixed_const(dst_h);
1528 radeon_crtc->vsc.full = dfixed_const(1);
1529 radeon_crtc->hsc.full = dfixed_const(1);

Completed in 267 milliseconds