Searched refs:dsp_on (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/video/fbdev/aty/
H A Dmach64_ct.c121 u32 dsp_off, dsp_on, dsp_xclks; aty_dsp_gt() local
176 dsp_on = ((multiplier * 20 << vshift) + divider) / divider; aty_dsp_gt()
179 dsp_on = ((multiplier << vshift) + divider) / divider; aty_dsp_gt()
181 if (dsp_on < tmp) aty_dsp_gt()
182 dsp_on = tmp; aty_dsp_gt()
183 dsp_on = dsp_on + (tmp * 2) + (pll->xclkpagefaultdelay << xshift); aty_dsp_gt()
186 /* Calculate rounding factor and apply it to dsp_on */ aty_dsp_gt()
188 dsp_on = ((dsp_on + tmp) / (tmp + 1)) * (tmp + 1); aty_dsp_gt()
190 if (dsp_on >= ((dsp_off / (tmp + 1)) * (tmp + 1))) { aty_dsp_gt()
191 dsp_on = dsp_off - (multiplier << vshift) / divider; aty_dsp_gt()
192 dsp_on = (dsp_on / (tmp + 1)) * (tmp + 1); aty_dsp_gt()
199 pll->dsp_on_off = (dsp_on << 16) + dsp_off; aty_dsp_gt()
H A Datyfb_base.c1821 u32 dsp_on; /* 0-2047 */ member in struct:atyclk
1880 clk.dsp_on = (dsp_on_off >> 16) & 0x7ff; atyfb_ioctl()
1906 ((clk.dsp_on & 0x7ff) << 16); atyfb_ioctl()

Completed in 86 milliseconds