• Home
  • Raw
  • Download

Lines Matching refs:gma_crtc

55 	struct gma_crtc *gma_crtc = to_gma_crtc(crtc);  in gma_pipe_set_base()  local
58 int pipe = gma_crtc->pipe; in gma_pipe_set_base()
140 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_load_lut() local
141 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_load_lut()
157 (((*r++ >> 8) + gma_crtc->lut_adj[i]) << 16) | in gma_crtc_load_lut()
158 (((*g++ >> 8) + gma_crtc->lut_adj[i]) << 8) | in gma_crtc_load_lut()
159 ((*b++ >> 8) + gma_crtc->lut_adj[i])); in gma_crtc_load_lut()
166 (((*r++ >> 8) + gma_crtc->lut_adj[i]) << 16) | in gma_crtc_load_lut()
167 (((*g++ >> 8) + gma_crtc->lut_adj[i]) << 8) | in gma_crtc_load_lut()
168 ((*b++ >> 8) + gma_crtc->lut_adj[i]); in gma_crtc_load_lut()
193 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_dpms() local
194 int pipe = gma_crtc->pipe; in gma_crtc_dpms()
209 if (gma_crtc->active) in gma_crtc_dpms()
212 gma_crtc->active = true; in gma_crtc_dpms()
262 if (!gma_crtc->active) in gma_crtc_dpms()
265 gma_crtc->active = false; in gma_crtc_dpms()
328 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_cursor_set() local
329 int pipe = gma_crtc->pipe; in gma_crtc_cursor_set()
335 struct gtt_range *cursor_gt = gma_crtc->cursor_gt; in gma_crtc_cursor_set()
350 if (gma_crtc->cursor_obj) { in gma_crtc_cursor_set()
351 gt = container_of(gma_crtc->cursor_obj, in gma_crtc_cursor_set()
354 drm_gem_object_put(gma_crtc->cursor_obj); in gma_crtc_cursor_set()
355 gma_crtc->cursor_obj = NULL; in gma_crtc_cursor_set()
409 addr = gma_crtc->cursor_addr; in gma_crtc_cursor_set()
412 gma_crtc->cursor_addr = addr; in gma_crtc_cursor_set()
427 if (gma_crtc->cursor_obj) { in gma_crtc_cursor_set()
428 gt = container_of(gma_crtc->cursor_obj, struct gtt_range, gem); in gma_crtc_cursor_set()
430 drm_gem_object_put(gma_crtc->cursor_obj); in gma_crtc_cursor_set()
433 gma_crtc->cursor_obj = obj; in gma_crtc_cursor_set()
445 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_cursor_move() local
446 int pipe = gma_crtc->pipe; in gma_crtc_cursor_move()
462 addr = gma_crtc->cursor_addr; in gma_crtc_cursor_move()
499 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_destroy() local
501 kfree(gma_crtc->crtc_state); in gma_crtc_destroy()
503 kfree(gma_crtc); in gma_crtc_destroy()
512 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_page_flip() local
531 gma_crtc->page_flip_event = event; in gma_crtc_page_flip()
538 if (gma_crtc->page_flip_event) { in gma_crtc_page_flip()
539 gma_crtc->page_flip_event = NULL; in gma_crtc_page_flip()
579 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_save() local
580 struct psb_intel_crtc_state *crtc_state = gma_crtc->crtc_state; in gma_crtc_save()
581 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_save()
622 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_restore() local
623 struct psb_intel_crtc_state *crtc_state = gma_crtc->crtc_state; in gma_crtc_restore()
624 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_restore()