Lines Matching refs:temp

55 	int count, temp;  in mdfldWaitForPipeDisable()  local
73 temp = REG_READ(map->conf); in mdfldWaitForPipeDisable()
74 if ((temp & PIPEACONF_PIPE_STATE) == 0) in mdfldWaitForPipeDisable()
83 int count, temp; in mdfldWaitForPipeEnable() local
101 temp = REG_READ(map->conf); in mdfldWaitForPipeEnable()
102 if ((temp & PIPEACONF_PIPE_STATE) == 1) in mdfldWaitForPipeEnable()
242 u32 temp; in mdfld_disable_crtc() local
252 temp = REG_READ(map->cntr); in mdfld_disable_crtc()
253 if ((temp & DISPLAY_PLANE_ENABLE) != 0) { in mdfld_disable_crtc()
255 temp & ~DISPLAY_PLANE_ENABLE); in mdfld_disable_crtc()
264 temp = REG_READ(map->conf); in mdfld_disable_crtc()
265 if ((temp & PIPEACONF_ENABLE) != 0) { in mdfld_disable_crtc()
266 temp &= ~PIPEACONF_ENABLE; in mdfld_disable_crtc()
267 temp |= PIPECONF_PLANE_OFF | PIPECONF_CURSOR_OFF; in mdfld_disable_crtc()
268 REG_WRITE(map->conf, temp); in mdfld_disable_crtc()
275 temp = REG_READ(map->dpll); in mdfld_disable_crtc()
276 if (temp & DPLL_VCO_ENABLE) { in mdfld_disable_crtc()
280 temp &= ~(DPLL_VCO_ENABLE); in mdfld_disable_crtc()
281 REG_WRITE(map->dpll, temp); in mdfld_disable_crtc()
287 if (!(temp & MDFLD_PWR_GATE_EN)) { in mdfld_disable_crtc()
289 REG_WRITE(map->dpll, temp | MDFLD_PWR_GATE_EN); in mdfld_disable_crtc()
312 u32 temp; in mdfld_crtc_dpms() local
331 temp = REG_READ(map->dpll); in mdfld_crtc_dpms()
333 if ((temp & DPLL_VCO_ENABLE) == 0) { in mdfld_crtc_dpms()
336 if (temp & MDFLD_PWR_GATE_EN) { in mdfld_crtc_dpms()
337 temp &= ~MDFLD_PWR_GATE_EN; in mdfld_crtc_dpms()
338 REG_WRITE(map->dpll, temp); in mdfld_crtc_dpms()
343 REG_WRITE(map->dpll, temp); in mdfld_crtc_dpms()
348 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in mdfld_crtc_dpms()
364 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
365 if ((temp & DISPLAY_PLANE_ENABLE) == 0) { in mdfld_crtc_dpms()
367 temp | DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
373 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
374 if ((temp & PIPEACONF_ENABLE) == 0) { in mdfld_crtc_dpms()
391 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
393 temp & ~DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
398 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
399 temp &= ~PIPEACONF_ENABLE; in mdfld_crtc_dpms()
400 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
407 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
409 temp | DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
414 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
415 temp |= PIPEACONF_ENABLE; in mdfld_crtc_dpms()
416 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
440 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
441 if ((temp & DISPLAY_PLANE_ENABLE) != 0) { in mdfld_crtc_dpms()
443 temp & ~DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
450 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
451 if ((temp & PIPEACONF_ENABLE) != 0) { in mdfld_crtc_dpms()
452 temp &= ~PIPEACONF_ENABLE; in mdfld_crtc_dpms()
453 temp |= PIPECONF_PLANE_OFF | PIPECONF_CURSOR_OFF; in mdfld_crtc_dpms()
454 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
461 temp = REG_READ(map->dpll); in mdfld_crtc_dpms()
462 if (temp & DPLL_VCO_ENABLE) { in mdfld_crtc_dpms()
466 temp &= ~(DPLL_VCO_ENABLE); in mdfld_crtc_dpms()
467 REG_WRITE(map->dpll, temp); in mdfld_crtc_dpms()