Lines Matching refs:vc4

82 vc4_crtc_get_cob_allocation(struct vc4_dev *vc4, unsigned int channel)  in vc4_crtc_get_cob_allocation()  argument
84 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation()
103 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanout_position() local
104 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position()
143 cob_size = vc4_crtc_get_cob_allocation(vc4, vc4_crtc_state->assigned_channel); in vc4_crtc_get_scanout_position()
223 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() local
265 if (!vc4->is_vc5) in vc4_get_fifo_full_level()
325 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_config_pv() local
430 if (vc4->is_vc5) in vc4_crtc_config_pv()
457 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local
458 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled()
472 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_disable() local
505 vc4_hvs_stop_channel(vc4->hvs, channel); in vc4_crtc_disable()
518 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_crtc_disable_at_boot() local
540 channel = vc4_hvs_get_fifo_from_output(vc4->hvs, vc4_crtc->data->hvs_output); in vc4_crtc_disable_at_boot()
781 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_handle_page_flip() local
782 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_handle_page_flip()
911 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_set_fence_cb() local
915 if (!vc4->is_vc5) { in vc4_async_set_fence_cb()
997 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_async_page_flip() local
1002 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_async_page_flip()
1043 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_page_flip() local
1045 if (vc4->is_vc5) in vc4_page_flip()
1073 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); in vc4_crtc_destroy_state() local
1079 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1081 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1324 struct vc4_dev *vc4 = to_vc4_dev(drm); in __vc4_crtc_init() local
1340 if (!vc4->is_vc5) { in __vc4_crtc_init()