Lines Matching refs:vc4
158 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanoutpos() local
159 struct vc4_crtc *vc4_crtc = vc4->crtc[crtc_id]; in vc4_crtc_get_scanoutpos()
275 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_vblank_timestamp() local
276 struct vc4_crtc *vc4_crtc = vc4->crtc[crtc_id]; in vc4_crtc_get_vblank_timestamp()
295 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_lut_load() local
375 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_mode_set_nofb() local
480 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local
489 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_disable() local
530 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_enable() local
572 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_atomic_check() local
590 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_atomic_check()
591 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_crtc_atomic_check()
593 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_atomic_check()
604 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_atomic_flush() local
609 u32 __iomem *dlist_start = vc4->hvs->dlist + vc4_state->mm.start; in vc4_crtc_atomic_flush()
655 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_enable_vblank() local
656 struct vc4_crtc *vc4_crtc = vc4->crtc[crtc_id]; in vc4_enable_vblank()
665 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_disable_vblank() local
666 struct vc4_crtc *vc4_crtc = vc4->crtc[crtc_id]; in vc4_disable_vblank()
683 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_handle_page_flip() local
733 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_page_flip_complete() local
749 up(&vc4->async_modeset); in vc4_async_page_flip_complete()
764 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_page_flip() local
781 ret = down_interruptible(&vc4->async_modeset); in vc4_async_page_flip()
830 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); in vc4_crtc_destroy_state() local
836 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
838 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
935 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_get_cob_allocation() local
951 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_bind() local
989 vc4->crtc[drm_crtc_index(crtc)] = vc4_crtc; in vc4_crtc_bind()