Home
last modified time | relevance | path

Searched refs:hvs (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_hvs.c70 void vc4_hvs_dump_state(struct vc4_hvs *hvs) in vc4_hvs_dump_state() argument
72 struct drm_device *drm = &hvs->vc4->base; in vc4_hvs_dump_state()
73 struct drm_printer p = drm_info_printer(&hvs->pdev->dev); in vc4_hvs_dump_state()
79 drm_print_regset32(&p, &hvs->regset); in vc4_hvs_dump_state()
85 readl((u32 __iomem *)hvs->dlist + i + 0), in vc4_hvs_dump_state()
86 readl((u32 __iomem *)hvs->dlist + i + 1), in vc4_hvs_dump_state()
87 readl((u32 __iomem *)hvs->dlist + i + 2), in vc4_hvs_dump_state()
88 readl((u32 __iomem *)hvs->dlist + i + 3)); in vc4_hvs_dump_state()
111 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_debugfs_dlist() local
129 dlist_word = readl((u32 __iomem *)vc4->hvs->dlist + j); in vc4_hvs_debugfs_dlist()
[all …]
H A Dvc4_plane.c35 u32 hvs; /* HVS_FORMAT_* */ member
42 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
48 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
54 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
60 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
66 .hvs = HVS_PIXEL_FORMAT_RGB565,
72 .hvs = HVS_PIXEL_FORMAT_RGB565,
78 .hvs = HVS_PIXEL_FORMAT_RGBA5551,
84 .hvs = HVS_PIXEL_FORMAT_RGBA5551,
90 .hvs = HVS_PIXEL_FORMAT_RGB888,
[all …]
H A Dvc4_kms.c137 struct vc4_hvs *hvs = vc4->hvs; in vc4_ctm_commit() local
211 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_pv_muxing_commit() local
252 struct vc4_hvs *hvs = vc4->hvs; in vc5_hvs_pv_muxing_commit() local
327 struct vc4_hvs *hvs = vc4->hvs; in vc4_atomic_commit_tail() local
350 vc4_hvs_mask_underrun(hvs, vc4_crtc_state->assigned_channel); in vc4_atomic_commit_tail()
376 500000000, hvs->max_core_rate); in vc4_atomic_commit_tail()
384 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()
411 hvs->max_core_rate, in vc4_atomic_commit_tail()
420 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()
423 clk_get_rate(hvs->core_clk)); in vc4_atomic_commit_tail()
H A Dvc4_drv.h91 struct vc4_hvs *hvs; member
634 readl(hvs->regs + (offset)); \
640 writel(val, hvs->regs + (offset)); \
1006 void vc4_hvs_stop_channel(struct vc4_hvs *hvs, unsigned int output);
1007 int vc4_hvs_get_fifo_from_output(struct vc4_hvs *hvs, unsigned int output);
1008 u8 vc4_hvs_get_fifo_frame_count(struct vc4_hvs *hvs, unsigned int fifo);
1014 void vc4_hvs_dump_state(struct vc4_hvs *hvs);
1015 void vc4_hvs_unmask_underrun(struct vc4_hvs *hvs, int channel);
1016 void vc4_hvs_mask_underrun(struct vc4_hvs *hvs, int channel);
H A Dvc4_crtc.c85 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation() local
105 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position() local
140 if (vc4_hvs_get_fifo_frame_count(hvs, vc4_crtc_state->assigned_channel) % 2) in vc4_crtc_get_scanout_position()
459 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled() local
506 vc4_hvs_stop_channel(vc4->hvs, channel); in vc4_crtc_disable()
541 channel = vc4_hvs_get_fifo_from_output(vc4->hvs, vc4_crtc->data->hvs_output); in vc4_crtc_disable_at_boot()
783 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_handle_page_flip() local
802 vc4_hvs_unmask_underrun(hvs, chan); in vc4_crtc_handle_page_flip()
1080 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1082 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
H A Dvc4_hdmi.c495 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20) { in vc4_hdmi_connector_get_modes()
1679 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20 && clock > HDMI_14_MAX_TMDS_CLK) in vc4_hdmi_connector_clock_valid()
1683 if (!vc4->hvs->vc5_hdmi_enable_4096by2160 && in vc4_hdmi_connector_clock_valid()
/linux/net/vmw_vsock/
H A Dhyperv_transport.c251 struct hvsock *hvs = vsk->trans; in hvs_channel_cb() local
252 struct vmbus_channel *chan = hvs->chan; in hvs_channel_cb()
303 struct hvsock *hvs = NULL; in hvs_open_connection() local
353 hvs = vsock_sk(sk)->trans; in hvs_open_connection()
354 hvs->chan = chan; in hvs_open_connection()
393 hvs->chan = NULL; in hvs_open_connection()
444 struct hvsock *hvs; in hvs_sock_init() local
447 hvs = kzalloc(sizeof(*hvs), GFP_KERNEL); in hvs_sock_init()
448 if (!hvs) in hvs_sock_init()
451 vsk->trans = hvs; in hvs_sock_init()
[all …]
/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_mock.c178 vc4->hvs = __vc4_hvs_alloc(vc4, NULL); in __mock_device()
179 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4->hvs); in __mock_device()
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm2711-rpi.dtsi72 &hvs {
H A Dbcm283x.dtsi431 hvs@7e400000 {
432 compatible = "brcm,bcm2835-hvs";
H A Dbcm2711.dtsi292 hvs: hvs@7e400000 { label
293 compatible = "brcm,bcm2711-hvs";