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

/xsrc/external/mit/xf86-video-trident/dist/src/
H A Dtrident_dac.c188 CARD8 i_slopes[4]; local in function:tridentSetBrightnessAndGamma
205 i_slopes[i] = (3 << 4) | (RND(slope) & 0xf);
207 i_slopes[i] = (2 << 4) | (RND(slope * 2) & 0xf);
209 i_slopes[i] = (1 << 4) | (RND(slope * 4) & 0xf);
211 i_slopes[i] = (RND(slope * 8) & 0xf);
219 tridentReg->tridentRegs3C4[0xB4] = 0x80 | i_slopes[0];
220 tridentReg->tridentRegs3C4[0xB5] = i_slopes[1];
221 tridentReg->tridentRegs3C4[0xB6] = i_slopes[2];
222 tridentReg->tridentRegs3C4[0xB7] = i_slopes[3];

Completed in 3 milliseconds