Lines Matching refs:temp
196 u32 temp;
215 temp = REG_READ(map->dpll);
216 if ((temp & DPLL_VCO_ENABLE) == 0) {
217 REG_WRITE(map->dpll, temp);
221 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE);
225 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE);
232 temp = REG_READ(map->cntr);
233 if ((temp & DISPLAY_PLANE_ENABLE) == 0) {
235 temp | DISPLAY_PLANE_ENABLE);
243 temp = REG_READ(map->conf);
244 if ((temp & PIPEACONF_ENABLE) == 0)
245 REG_WRITE(map->conf, temp | PIPEACONF_ENABLE);
247 temp = REG_READ(map->status);
248 temp &= ~(0xFFFF);
249 temp |= PIPE_FIFO_UNDERRUN;
250 REG_WRITE(map->status, temp);
281 temp = REG_READ(map->cntr);
282 if ((temp & DISPLAY_PLANE_ENABLE) != 0) {
284 temp & ~DISPLAY_PLANE_ENABLE);
291 temp = REG_READ(map->conf);
292 if ((temp & PIPEACONF_ENABLE) != 0) {
293 REG_WRITE(map->conf, temp & ~PIPEACONF_ENABLE);
303 temp = REG_READ(map->dpll);
304 if ((temp & DPLL_VCO_ENABLE) != 0) {
305 REG_WRITE(map->dpll, temp & ~DPLL_VCO_ENABLE);
332 uint32_t temp;
342 temp = CURSOR_MODE_DISABLE;
344 REG_WRITE(control, temp);
415 temp = 0;
417 temp |= (pipe << 28);
418 temp |= CURSOR_MODE_64_ARGB_AX | MCURSOR_GAMMA_ENABLE;
421 REG_WRITE(control, temp);
447 uint32_t temp = 0;
451 temp |= (CURSOR_POS_SIGN << CURSOR_X_SHIFT);
455 temp |= (CURSOR_POS_SIGN << CURSOR_Y_SHIFT);
459 temp |= ((x & CURSOR_POS_MASK) << CURSOR_X_SHIFT);
460 temp |= ((y & CURSOR_POS_MASK) << CURSOR_Y_SHIFT);
465 REG_WRITE((pipe == 0) ? CURAPOS : CURBPOS, temp);