Lines Matching defs:scrtc
53 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
54 struct sunxi_engine *engine = scrtc->engine;
68 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
70 struct sunxi_engine *engine = scrtc->engine;
77 scrtc->event = crtc->state->event;
89 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
94 sunxi_engine_commit(scrtc->engine);
112 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
118 sun4i_tcon_set_status(scrtc->tcon, encoder, false);
133 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
137 sun4i_tcon_set_status(scrtc->tcon, encoder, true);
146 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
148 sun4i_tcon_mode_set(scrtc->tcon, encoder, mode);
149 sunxi_engine_mode_set(scrtc->engine, mode);
163 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
167 sun4i_tcon_enable_vblank(scrtc->tcon, true);
174 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
178 sun4i_tcon_enable_vblank(scrtc->tcon, false);
196 struct sun4i_crtc *scrtc;
201 scrtc = devm_kzalloc(drm->dev, sizeof(*scrtc), GFP_KERNEL);
202 if (!scrtc)
204 scrtc->engine = engine;
205 scrtc->tcon = tcon;
230 ret = drm_crtc_init_with_planes(drm, &scrtc->crtc,
240 drm_crtc_helper_add(&scrtc->crtc, &sun4i_crtc_helper_funcs);
243 scrtc->crtc.port = of_graph_get_port_by_id(scrtc->tcon->dev->of_node,
248 uint32_t possible_crtcs = drm_crtc_mask(&scrtc->crtc);
255 return scrtc;