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

/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dsis_dac.c96 int *indicies, LOCO *colors, int myshift);
1692 int myshift = 8 - pScrn->rgbBits; local in function:SISLoadPalette
1730 outSISREG(SISCOLDATA, colors[index].red << myshift);
1731 outSISREG(SISCOLDATA, colors[index].green << myshift);
1732 outSISREG(SISCOLDATA, colors[index].blue << myshift);
1749 (colors[index].green << (myshift + 8)) |
1750 (colors[index >> 1].blue << (myshift + 16)) |
1751 (colors[index >> 1].red << myshift) |
1762 outSISREG(SISCOLDATA, colors[index >> 1].red << myshift);
1763 outSISREG(SISCOLDATA, colors[index].green << myshift);
1876 SiS301LoadPalette(ScrnInfoPtr pScrn,int numColors,int * indices,LOCO * colors,int myshift) argument
[all...]
H A Dsis_driver.c746 int myshift = 16 - pScrn->rgbBits; local in function:SISCalculateGammaRampCRT2
761 pSiS->NewGammaBriR2, pSiS->NewGammaConR2) >> myshift;
763 pSiS->NewGammaBriG2, pSiS->NewGammaConG2) >> myshift;
765 pSiS->NewGammaBriB2, pSiS->NewGammaConB2) >> myshift;
781 pSiS->crt2gcolortable[i].red = ((UShort)v) >> myshift;
786 pSiS->crt2gcolortable[i].green = ((UShort)v) >> myshift;
791 pSiS->crt2gcolortable[i].blue = ((UShort)v) >> myshift;

Completed in 17 milliseconds