• Home
  • Raw
  • Download

Lines Matching refs:temp

46 	int count, temp;  in mdfldWaitForPipeDisable()  local
64 temp = REG_READ(map->conf); in mdfldWaitForPipeDisable()
65 if ((temp & PIPEACONF_PIPE_STATE) == 0) in mdfldWaitForPipeDisable()
74 int count, temp; in mdfldWaitForPipeEnable() local
92 temp = REG_READ(map->conf); in mdfldWaitForPipeEnable()
93 if (temp & PIPEACONF_PIPE_STATE) in mdfldWaitForPipeEnable()
210 u32 temp; in mdfld_disable_crtc() local
220 temp = REG_READ(map->cntr); in mdfld_disable_crtc()
221 if ((temp & DISPLAY_PLANE_ENABLE) != 0) { in mdfld_disable_crtc()
223 temp & ~DISPLAY_PLANE_ENABLE); in mdfld_disable_crtc()
232 temp = REG_READ(map->conf); in mdfld_disable_crtc()
233 if ((temp & PIPEACONF_ENABLE) != 0) { in mdfld_disable_crtc()
234 temp &= ~PIPEACONF_ENABLE; in mdfld_disable_crtc()
235 temp |= PIPECONF_PLANE_OFF | PIPECONF_CURSOR_OFF; in mdfld_disable_crtc()
236 REG_WRITE(map->conf, temp); in mdfld_disable_crtc()
243 temp = REG_READ(map->dpll); in mdfld_disable_crtc()
244 if (temp & DPLL_VCO_ENABLE) { in mdfld_disable_crtc()
248 temp &= ~(DPLL_VCO_ENABLE); in mdfld_disable_crtc()
249 REG_WRITE(map->dpll, temp); in mdfld_disable_crtc()
255 if (!(temp & MDFLD_PWR_GATE_EN)) { in mdfld_disable_crtc()
257 REG_WRITE(map->dpll, temp | MDFLD_PWR_GATE_EN); in mdfld_disable_crtc()
280 u32 temp; in mdfld_crtc_dpms() local
299 temp = REG_READ(map->dpll); in mdfld_crtc_dpms()
301 if ((temp & DPLL_VCO_ENABLE) == 0) { in mdfld_crtc_dpms()
304 if (temp & MDFLD_PWR_GATE_EN) { in mdfld_crtc_dpms()
305 temp &= ~MDFLD_PWR_GATE_EN; in mdfld_crtc_dpms()
306 REG_WRITE(map->dpll, temp); in mdfld_crtc_dpms()
311 REG_WRITE(map->dpll, temp); in mdfld_crtc_dpms()
316 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in mdfld_crtc_dpms()
332 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
333 if ((temp & DISPLAY_PLANE_ENABLE) == 0) { in mdfld_crtc_dpms()
335 temp | DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
341 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
342 if ((temp & PIPEACONF_ENABLE) == 0) { in mdfld_crtc_dpms()
359 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
361 temp & ~DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
366 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
367 temp &= ~PIPEACONF_ENABLE; in mdfld_crtc_dpms()
368 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
375 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
377 temp | DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
382 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
383 temp |= PIPEACONF_ENABLE; in mdfld_crtc_dpms()
384 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
408 temp = REG_READ(map->cntr); in mdfld_crtc_dpms()
409 if ((temp & DISPLAY_PLANE_ENABLE) != 0) { in mdfld_crtc_dpms()
411 temp & ~DISPLAY_PLANE_ENABLE); in mdfld_crtc_dpms()
418 temp = REG_READ(map->conf); in mdfld_crtc_dpms()
419 if ((temp & PIPEACONF_ENABLE) != 0) { in mdfld_crtc_dpms()
420 temp &= ~PIPEACONF_ENABLE; in mdfld_crtc_dpms()
421 temp |= PIPECONF_PLANE_OFF | PIPECONF_CURSOR_OFF; in mdfld_crtc_dpms()
422 REG_WRITE(map->conf, temp); in mdfld_crtc_dpms()
429 temp = REG_READ(map->dpll); in mdfld_crtc_dpms()
430 if (temp & DPLL_VCO_ENABLE) { in mdfld_crtc_dpms()
434 temp &= ~(DPLL_VCO_ENABLE); in mdfld_crtc_dpms()
435 REG_WRITE(map->dpll, temp); in mdfld_crtc_dpms()