Lines Matching refs:crtc
23 struct drm_crtc *crtc; in vblank_get() local
25 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_get()
26 if (!crtc->state->active) in vblank_get()
28 drm_crtc_vblank_get(crtc); in vblank_get()
34 struct drm_crtc *crtc; in vblank_put() local
36 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_put()
37 if (!crtc->state->active) in vblank_put()
39 drm_crtc_vblank_put(crtc); in vblank_put()
46 struct drm_crtc *crtc; in lock_crtcs() local
48 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in lock_crtcs()
49 crtc_index = drm_crtc_index(crtc); in lock_crtcs()
56 struct drm_crtc *crtc; in unlock_crtcs() local
58 for_each_crtc_mask_reverse(kms->dev, crtc, crtc_mask) in unlock_crtcs()
59 mutex_unlock(&kms->commit_lock[drm_crtc_index(crtc)]); in unlock_crtcs()
145 struct drm_crtc *crtc; in can_do_async() local
155 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in can_do_async()
162 *async_crtc = crtc; in can_do_async()
175 struct drm_crtc *crtc; in get_crtc_mask() local
178 for_each_new_crtc_in_state(state, crtc, crtc_state, i) in get_crtc_mask()
179 mask |= drm_crtc_mask(crtc); in get_crtc_mask()
187 struct drm_crtc *crtc; in msm_atomic_check() local
190 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, in msm_atomic_check()