Home
last modified time | relevance | path

Searched refs:gma_crtc (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/gma500/
Dpsb_intel_display.c109 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_crtc_mode_set() local
111 int pipe = gma_crtc->pipe; in psb_intel_crtc_mode_set()
150 limit = gma_crtc->clock_funcs->limit(crtc, refclk); in psb_intel_crtc_mode_set()
310 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_crtc_clock_get() local
312 int pipe = gma_crtc->pipe; in psb_intel_crtc_clock_get()
386 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_crtc_mode_get() local
387 int pipe = gma_crtc->pipe; in psb_intel_crtc_mode_get()
461 struct gma_crtc *gma_crtc) in psb_intel_cursor_init() argument
475 gma_crtc->cursor_gt = NULL; in psb_intel_cursor_init()
478 gma_crtc->cursor_gt = cursor_gt; in psb_intel_cursor_init()
[all …]
Dgma_display.c61 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()
[all …]
Dcdv_intel_display.c225 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_dpll_set_clock_cdv() local
226 int pipe = gma_crtc->pipe; in cdv_dpll_set_clock_cdv()
415 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_find_dp_pll() local
455 gma_crtc->clock_funcs->clock(refclk, &clock); in cdv_intel_find_dp_pll()
467 struct gma_crtc *gma_crtc = NULL; in cdv_intel_pipe_enabled() local
470 gma_crtc = to_gma_crtc(crtc); in cdv_intel_pipe_enabled()
472 if (crtc->primary->fb == NULL || !gma_crtc->active) in cdv_intel_pipe_enabled()
501 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_update_wm() local
526 if (gma_crtc->pipe == 1 && in cdv_update_wm()
586 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_crtc_mode_set() local
[all …]
Doaktrail_crtc.c226 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in oaktrail_crtc_dpms() local
227 int pipe = gma_crtc->pipe; in oaktrail_crtc_dpms()
371 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in oaktrail_crtc_mode_set() local
373 int pipe = gma_crtc->pipe; in oaktrail_crtc_mode_set()
395 memcpy(&gma_crtc->saved_mode, in oaktrail_crtc_mode_set()
398 memcpy(&gma_crtc->saved_adjusted_mode, in oaktrail_crtc_mode_set()
601 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in oaktrail_pipe_set_base() local
603 int pipe = gma_crtc->pipe; in oaktrail_pipe_set_base()
Dmdfld_dsi_output.c252 struct gma_crtc *gma_crtc = to_gma_crtc(encoder->crtc); in mdfld_dsi_connector_set_property() local
256 if (!gma_crtc) in mdfld_dsi_connector_set_property()
283 if (gma_crtc->saved_mode.hdisplay != 0 && in mdfld_dsi_connector_set_property()
284 gma_crtc->saved_mode.vdisplay != 0) { in mdfld_dsi_connector_set_property()
287 &gma_crtc->saved_mode, in mdfld_dsi_connector_set_property()
296 &gma_crtc->saved_mode, in mdfld_dsi_connector_set_property()
297 &gma_crtc->saved_adjusted_mode); in mdfld_dsi_connector_set_property()
Dframebuffer.c523 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psbfb_gamma_set() local
525 gma_crtc->lut_r[regno] = red >> 8; in psbfb_gamma_set()
526 gma_crtc->lut_g[regno] = green >> 8; in psbfb_gamma_set()
527 gma_crtc->lut_b[regno] = blue >> 8; in psbfb_gamma_set()
533 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psbfb_gamma_get() local
535 *red = gma_crtc->lut_r[regno] << 8; in psbfb_gamma_get()
536 *green = gma_crtc->lut_g[regno] << 8; in psbfb_gamma_get()
537 *blue = gma_crtc->lut_b[regno] << 8; in psbfb_gamma_get()
Dmdfld_intel_display.c168 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in mdfld__intel_pipe_set_base() local
170 int pipe = gma_crtc->pipe; in mdfld__intel_pipe_set_base()
308 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in mdfld_crtc_dpms() local
309 int pipe = gma_crtc->pipe; in mdfld_crtc_dpms()
672 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in mdfld_crtc_mode_set() local
674 int pipe = gma_crtc->pipe; in mdfld_crtc_mode_set()
733 memcpy(&gma_crtc->saved_mode, mode, in mdfld_crtc_mode_set()
735 memcpy(&gma_crtc->saved_adjusted_mode, adjusted_mode, in mdfld_crtc_mode_set()
Dcdv_intel_crt.c91 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_crt_mode_set() local
96 if (gma_crtc->pipe == 0) in cdv_intel_crt_mode_set()
119 if (gma_crtc->pipe == 0) in cdv_intel_crt_mode_set()
Dcdv_intel_hdmi.c71 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_hdmi_mode_set() local
80 if (gma_crtc->pipe == 1) in cdv_hdmi_mode_set()
159 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in cdv_hdmi_set_property()
Dpsb_intel_lvds.c381 struct gma_crtc *gma_crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_mode_fixup() local
390 if (!IS_MRST(dev) && gma_crtc->pipe == 0) { in psb_intel_lvds_mode_fixup()
394 if (IS_MRST(dev) && gma_crtc->pipe != 0) { in psb_intel_lvds_mode_fixup()
581 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_set_property()
Dcdv_intel_lvds.c359 struct gma_crtc *gma_crtc = to_gma_crtc(encoder->crtc); in cdv_intel_lvds_mode_set() local
381 pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; in cdv_intel_lvds_mode_set()
461 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in cdv_intel_lvds_set_property()
Dpsb_intel_drv.h165 struct gma_crtc { struct
197 container_of(x, struct gma_crtc, base) argument
Dcdv_intel_dp.c798 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_dp_set_m_n() local
801 int pipe = gma_crtc->pipe; in cdv_intel_dp_set_m_n()
849 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_dp_mode_set() local
891 if (gma_crtc->pipe == 1) in cdv_intel_dp_mode_set()
906 pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; in cdv_intel_dp_mode_set()
Dpsb_intel_sdvo.c993 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_sdvo_mode_set() local
1081 if (gma_crtc->pipe == 1) in psb_intel_sdvo_mode_set()