Lines Matching refs:temp

207 	u32 temp;  in gma_crtc_dpms()  local
226 temp = REG_READ(map->dpll); in gma_crtc_dpms()
227 if ((temp & DPLL_VCO_ENABLE) == 0) { in gma_crtc_dpms()
228 REG_WRITE(map->dpll, temp); in gma_crtc_dpms()
232 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
236 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
243 temp = REG_READ(map->cntr); in gma_crtc_dpms()
244 if ((temp & DISPLAY_PLANE_ENABLE) == 0) { in gma_crtc_dpms()
246 temp | DISPLAY_PLANE_ENABLE); in gma_crtc_dpms()
254 temp = REG_READ(map->conf); in gma_crtc_dpms()
255 if ((temp & PIPEACONF_ENABLE) == 0) in gma_crtc_dpms()
256 REG_WRITE(map->conf, temp | PIPEACONF_ENABLE); in gma_crtc_dpms()
258 temp = REG_READ(map->status); in gma_crtc_dpms()
259 temp &= ~(0xFFFF); in gma_crtc_dpms()
260 temp |= PIPE_FIFO_UNDERRUN; in gma_crtc_dpms()
261 REG_WRITE(map->status, temp); in gma_crtc_dpms()
290 temp = REG_READ(map->cntr); in gma_crtc_dpms()
291 if ((temp & DISPLAY_PLANE_ENABLE) != 0) { in gma_crtc_dpms()
293 temp & ~DISPLAY_PLANE_ENABLE); in gma_crtc_dpms()
300 temp = REG_READ(map->conf); in gma_crtc_dpms()
301 if ((temp & PIPEACONF_ENABLE) != 0) { in gma_crtc_dpms()
302 REG_WRITE(map->conf, temp & ~PIPEACONF_ENABLE); in gma_crtc_dpms()
312 temp = REG_READ(map->dpll); in gma_crtc_dpms()
313 if ((temp & DPLL_VCO_ENABLE) != 0) { in gma_crtc_dpms()
314 REG_WRITE(map->dpll, temp & ~DPLL_VCO_ENABLE); in gma_crtc_dpms()
341 uint32_t temp; in gma_crtc_cursor_set() local
351 temp = CURSOR_MODE_DISABLE; in gma_crtc_cursor_set()
355 REG_WRITE(control, temp); in gma_crtc_cursor_set()
429 temp = 0; in gma_crtc_cursor_set()
431 temp |= (pipe << 28); in gma_crtc_cursor_set()
432 temp |= CURSOR_MODE_64_ARGB_AX | MCURSOR_GAMMA_ENABLE; in gma_crtc_cursor_set()
435 REG_WRITE(control, temp); in gma_crtc_cursor_set()
463 uint32_t temp = 0; in gma_crtc_cursor_move() local
467 temp |= (CURSOR_POS_SIGN << CURSOR_X_SHIFT); in gma_crtc_cursor_move()
471 temp |= (CURSOR_POS_SIGN << CURSOR_Y_SHIFT); in gma_crtc_cursor_move()
475 temp |= ((x & CURSOR_POS_MASK) << CURSOR_X_SHIFT); in gma_crtc_cursor_move()
476 temp |= ((y & CURSOR_POS_MASK) << CURSOR_Y_SHIFT); in gma_crtc_cursor_move()
481 REG_WRITE((pipe == 0) ? CURAPOS : CURBPOS, temp); in gma_crtc_cursor_move()