• Home
  • Raw
  • Download

Lines Matching refs:tmp

81 	u32 tmp;  in ResetOverlayRegisters()  local
84 tmp = STG_READ_REG(DACOverlayAddr); in ResetOverlayRegisters()
87 STG_WRITE_REG(DACOverlayAddr, tmp); in ResetOverlayRegisters()
90 tmp = STG_READ_REG(DACOverlayUAddr); in ResetOverlayRegisters()
92 STG_WRITE_REG(DACOverlayUAddr, tmp); in ResetOverlayRegisters()
95 tmp = STG_READ_REG(DACOverlayVAddr); in ResetOverlayRegisters()
97 STG_WRITE_REG(DACOverlayVAddr, tmp); in ResetOverlayRegisters()
100 tmp = STG_READ_REG(DACOverlaySize); in ResetOverlayRegisters()
103 STG_WRITE_REG(DACOverlaySize, tmp); in ResetOverlayRegisters()
106 tmp = STG4000_NO_DECIMATION; in ResetOverlayRegisters()
107 STG_WRITE_REG(DACOverlayVtDec, tmp); in ResetOverlayRegisters()
110 tmp = STG_READ_REG(DACPixelFormat); in ResetOverlayRegisters()
113 STG_WRITE_REG(DACPixelFormat, tmp); in ResetOverlayRegisters()
116 tmp = STG_READ_REG(DACVerticalScal); in ResetOverlayRegisters()
119 tmp |= STG4000_NO_SCALING; /* Set to no scaling */ in ResetOverlayRegisters()
120 STG_WRITE_REG(DACVerticalScal, tmp); in ResetOverlayRegisters()
123 tmp = STG_READ_REG(DACHorizontalScal); in ResetOverlayRegisters()
126 tmp |= STG4000_NO_SCALING; /* Set to no scaling */ in ResetOverlayRegisters()
127 STG_WRITE_REG(DACHorizontalScal, tmp); in ResetOverlayRegisters()
133 tmp = STG_READ_REG(DACBlendCtrl); in ResetOverlayRegisters()
135 tmp = (GRAPHICS_MODE << 28); in ResetOverlayRegisters()
136 STG_WRITE_REG(DACBlendCtrl, tmp); in ResetOverlayRegisters()
147 u32 tmp; in CreateOverlaySurface() local
176 tmp = STG_READ_REG(DACOverlayAddr); in CreateOverlaySurface()
181 tmp |= SET_BIT(31); /* Overlay format to Planer */ in CreateOverlaySurface()
185 tmp |= (ulOverlayOffset >> 4); in CreateOverlaySurface()
186 STG_WRITE_REG(DACOverlayAddr, tmp); in CreateOverlaySurface()
206 tmp = STG_READ_REG(DACOverlayUAddr); in CreateOverlaySurface()
208 tmp |= (ulOffset >> 4); in CreateOverlaySurface()
209 STG_WRITE_REG(DACOverlayUAddr, tmp); in CreateOverlaySurface()
216 tmp = STG_READ_REG(DACOverlayVAddr); in CreateOverlaySurface()
218 tmp |= (ulOffset >> 4); in CreateOverlaySurface()
219 STG_WRITE_REG(DACOverlayVAddr, tmp); in CreateOverlaySurface()
228 tmp = STG_READ_REG(DACPixelFormat); in CreateOverlaySurface()
231 STG_WRITE_REG(DACPixelFormat, tmp); in CreateOverlaySurface()
246 u32 tmp; in SetOverlayBlendMode() local
248 tmp = STG_READ_REG(DACBlendCtrl); in SetOverlayBlendMode()
250 tmp |= (mode << 28); in SetOverlayBlendMode()
255 tmp |= (ulColorKey & 0x00FFFFFF); in SetOverlayBlendMode()
260 tmp |= ((ulAlpha & 0xF) << 24); in SetOverlayBlendMode()
265 tmp |= (ulColorKey & 0x00FFFFFF); in SetOverlayBlendMode()
270 tmp |= (ulColorKey & 0x00FFFFFF); in SetOverlayBlendMode()
272 tmp |= ((ulAlpha & 0xF) << 24); in SetOverlayBlendMode()
283 STG_WRITE_REG(DACBlendCtrl, tmp); in SetOverlayBlendMode()
290 u32 tmp; in EnableOverlayPlane() local
292 tmp = STG_READ_REG(DACPixelFormat); in EnableOverlayPlane()
293 tmp |= SET_BIT(7); in EnableOverlayPlane()
294 STG_WRITE_REG(DACPixelFormat, tmp); in EnableOverlayPlane()
297 tmp = STG_READ_REG(DACStreamCtrl); in EnableOverlayPlane()
298 tmp |= SET_BIT(1); /* video stream */ in EnableOverlayPlane()
299 STG_WRITE_REG(DACStreamCtrl, tmp); in EnableOverlayPlane()
342 u32 tmp, ulStride; in SetOverlayViewPort() local
412 tmp = STG_READ_REG(DACOverlayVtDec); /* Decimation */ in SetOverlayViewPort()
414 tmp = ulPattern; in SetOverlayViewPort()
415 STG_WRITE_REG(DACOverlayVtDec, tmp); in SetOverlayViewPort()
547 tmp = STG_READ_REG(DACVerticalScal); in SetOverlayViewPort()
556 tmp |= ((ulStride << 16) | (ulDacYScale)); /* DAC_LS_CTRL = stride */ in SetOverlayViewPort()
557 STG_WRITE_REG(DACVerticalScal, tmp); in SetOverlayViewPort()
562 tmp = STG_READ_REG(DACOverlaySize); in SetOverlayViewPort()
567 tmp |= in SetOverlayViewPort()
571 tmp |= in SetOverlayViewPort()
576 STG_WRITE_REG(DACOverlaySize, tmp); in SetOverlayViewPort()
579 tmp = ((ulLeft << 16)) | (srcDest.ulDstY1); in SetOverlayViewPort()
580 STG_WRITE_REG(DACVidWinStart, tmp); in SetOverlayViewPort()
583 tmp = ((ulRight) << 16) | (srcDest.ulDstY2); in SetOverlayViewPort()
584 STG_WRITE_REG(DACVidWinEnd, tmp); in SetOverlayViewPort()
589 tmp = STG_READ_REG(DACPixelFormat); in SetOverlayViewPort()
590 tmp = ((ulExcessPixels << 16) | tmp) & 0x7fffffff; in SetOverlayViewPort()
591 STG_WRITE_REG(DACPixelFormat, tmp); in SetOverlayViewPort()
593 tmp = STG_READ_REG(DACHorizontalScal); in SetOverlayViewPort()
596 tmp |= ((ulhDecim << 16) | (ulDacXScale)); in SetOverlayViewPort()
597 STG_WRITE_REG(DACHorizontalScal, tmp); in SetOverlayViewPort()