• Home
  • Raw
  • Download

Lines Matching refs:gma_crtc

61 	struct gma_crtc *gma_crtc = to_gma_crtc(crtc);  in gma_pipe_set_base()  local
63 int pipe = gma_crtc->pipe; in gma_pipe_set_base()
143 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_load_lut() local
144 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_load_lut()
155 ((gma_crtc->lut_r[i] + in gma_crtc_load_lut()
156 gma_crtc->lut_adj[i]) << 16) | in gma_crtc_load_lut()
157 ((gma_crtc->lut_g[i] + in gma_crtc_load_lut()
158 gma_crtc->lut_adj[i]) << 8) | in gma_crtc_load_lut()
159 (gma_crtc->lut_b[i] + in gma_crtc_load_lut()
160 gma_crtc->lut_adj[i])); in gma_crtc_load_lut()
167 ((gma_crtc->lut_r[i] + in gma_crtc_load_lut()
168 gma_crtc->lut_adj[i]) << 16) | in gma_crtc_load_lut()
169 ((gma_crtc->lut_g[i] + in gma_crtc_load_lut()
170 gma_crtc->lut_adj[i]) << 8) | in gma_crtc_load_lut()
171 (gma_crtc->lut_b[i] + in gma_crtc_load_lut()
172 gma_crtc->lut_adj[i]); in gma_crtc_load_lut()
181 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_gamma_set() local
186 gma_crtc->lut_r[i] = red[i] >> 8; in gma_crtc_gamma_set()
187 gma_crtc->lut_g[i] = green[i] >> 8; in gma_crtc_gamma_set()
188 gma_crtc->lut_b[i] = blue[i] >> 8; in gma_crtc_gamma_set()
204 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_dpms() local
205 int pipe = gma_crtc->pipe; in gma_crtc_dpms()
220 if (gma_crtc->active) in gma_crtc_dpms()
223 gma_crtc->active = true; in gma_crtc_dpms()
271 if (!gma_crtc->active) in gma_crtc_dpms()
274 gma_crtc->active = false; in gma_crtc_dpms()
337 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_cursor_set() local
338 int pipe = gma_crtc->pipe; in gma_crtc_cursor_set()
344 struct gtt_range *cursor_gt = gma_crtc->cursor_gt; in gma_crtc_cursor_set()
361 if (gma_crtc->cursor_obj) { in gma_crtc_cursor_set()
362 gt = container_of(gma_crtc->cursor_obj, in gma_crtc_cursor_set()
365 drm_gem_object_unreference(gma_crtc->cursor_obj); in gma_crtc_cursor_set()
366 gma_crtc->cursor_obj = NULL; in gma_crtc_cursor_set()
423 addr = gma_crtc->cursor_addr; in gma_crtc_cursor_set()
426 gma_crtc->cursor_addr = addr; in gma_crtc_cursor_set()
441 if (gma_crtc->cursor_obj) { in gma_crtc_cursor_set()
442 gt = container_of(gma_crtc->cursor_obj, struct gtt_range, gem); in gma_crtc_cursor_set()
444 drm_gem_object_unreference(gma_crtc->cursor_obj); in gma_crtc_cursor_set()
447 gma_crtc->cursor_obj = obj; in gma_crtc_cursor_set()
461 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_cursor_move() local
462 int pipe = gma_crtc->pipe; in gma_crtc_cursor_move()
478 addr = gma_crtc->cursor_addr; in gma_crtc_cursor_move()
529 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_destroy() local
531 kfree(gma_crtc->crtc_state); in gma_crtc_destroy()
533 kfree(gma_crtc); in gma_crtc_destroy()
559 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_save() local
560 struct psb_intel_crtc_state *crtc_state = gma_crtc->crtc_state; in gma_crtc_save()
561 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_save()
602 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in gma_crtc_restore() local
603 struct psb_intel_crtc_state *crtc_state = gma_crtc->crtc_state; in gma_crtc_restore()
604 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_restore()