Lines Matching refs:scrtc
50 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
51 struct sunxi_engine *engine = scrtc->engine;
63 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
65 struct sunxi_engine *engine = scrtc->engine;
72 scrtc->event = crtc->state->event;
84 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
89 sunxi_engine_commit(scrtc->engine);
107 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
113 sun4i_tcon_set_status(scrtc->tcon, encoder, false);
128 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
132 sun4i_tcon_set_status(scrtc->tcon, encoder, true);
141 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
143 sun4i_tcon_mode_set(scrtc->tcon, encoder, mode);
157 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
161 sun4i_tcon_enable_vblank(scrtc->tcon, true);
168 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
172 sun4i_tcon_enable_vblank(scrtc->tcon, false);
190 struct sun4i_crtc *scrtc;
195 scrtc = devm_kzalloc(drm->dev, sizeof(*scrtc), GFP_KERNEL);
196 if (!scrtc)
198 scrtc->engine = engine;
199 scrtc->tcon = tcon;
224 ret = drm_crtc_init_with_planes(drm, &scrtc->crtc,
234 drm_crtc_helper_add(&scrtc->crtc, &sun4i_crtc_helper_funcs);
237 scrtc->crtc.port = of_graph_get_port_by_id(scrtc->tcon->dev->of_node,
242 uint32_t possible_crtcs = drm_crtc_mask(&scrtc->crtc);
249 return scrtc;