Lines Matching refs:tmp
29 u32 tmp = 0; in InitialiseRamdac() local
35 tmp = STG_READ_REG(SoftwareReset); in InitialiseRamdac()
37 if (tmp & 0x1) { in InitialiseRamdac()
39 STG_WRITE_REG(SoftwareReset, tmp); in InitialiseRamdac()
43 tmp = STG_READ_REG(DACPixelFormat); in InitialiseRamdac()
53 tmp |= _16BPP; in InitialiseRamdac()
60 tmp |= _32BPP; in InitialiseRamdac()
67 STG_WRITE_REG(DACPixelFormat, tmp); in InitialiseRamdac()
76 tmp = STG_READ_REG(DACPrimSize); in InitialiseRamdac()
79 tmp |= in InitialiseRamdac()
83 STG_WRITE_REG(DACPrimSize, tmp); in InitialiseRamdac()
90 tmp = STG_READ_REG(DACPLLMode); in InitialiseRamdac()
93 tmp |= ((P) | ((F - 2) << 2) | ((R - 2) << 11)); in InitialiseRamdac()
94 STG_WRITE_REG(DACPLLMode, tmp); in InitialiseRamdac()
97 tmp = STG_READ_REG(DACPrimAddress); in InitialiseRamdac()
100 STG_WRITE_REG(DACPrimAddress, tmp); in InitialiseRamdac()
103 tmp = STG_READ_REG(DACCursorCtrl); in InitialiseRamdac()
104 tmp &= ~SET_BIT(31); in InitialiseRamdac()
105 STG_WRITE_REG(DACCursorCtrl, tmp); in InitialiseRamdac()
107 tmp = STG_READ_REG(DACCursorAddr); in InitialiseRamdac()
109 STG_WRITE_REG(DACCursorAddr, tmp); in InitialiseRamdac()
112 tmp = STG_READ_REG(DACVidWinStart); in InitialiseRamdac()
115 STG_WRITE_REG(DACVidWinStart, tmp); in InitialiseRamdac()
117 tmp = STG_READ_REG(DACVidWinEnd); in InitialiseRamdac()
120 STG_WRITE_REG(DACVidWinEnd, tmp); in InitialiseRamdac()
123 tmp = STG_READ_REG(DACBorderColor); in InitialiseRamdac()
125 STG_WRITE_REG(DACBorderColor, tmp); in InitialiseRamdac()
131 tmp = STG_READ_REG(DACCrcTrigger); in InitialiseRamdac()
133 STG_WRITE_REG(DACCrcTrigger, tmp); in InitialiseRamdac()
136 tmp = STG_READ_REG(DigVidPortCtrl); in InitialiseRamdac()
141 STG_WRITE_REG(DigVidPortCtrl, tmp); in InitialiseRamdac()
149 u32 tmp; in DisableRamdacOutput() local
152 tmp = (STG_READ_REG(DACStreamCtrl)) & ~SET_BIT(0); in DisableRamdacOutput()
153 STG_WRITE_REG(DACStreamCtrl, tmp); in DisableRamdacOutput()
158 u32 tmp; in EnableRamdacOutput() local
161 tmp = (STG_READ_REG(DACStreamCtrl)) | SET_BIT(0); in EnableRamdacOutput()
162 STG_WRITE_REG(DACStreamCtrl, tmp); in EnableRamdacOutput()