Home
last modified time | relevance | path

Searched refs:hvs (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/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
180 vc4_hvs_upload_linear_kernel(struct vc4_hvs *hvs, struct drm_mm_node *space, const u32 *kernel) vc4_hvs_upload_linear_kernel() argument
213 vc4_hvs_lut_load(struct vc4_hvs *hvs, struct vc4_crtc *vc4_crtc) vc4_hvs_lut_load() argument
243 vc4_hvs_update_gamma_lut(struct vc4_hvs *hvs, struct vc4_crtc *vc4_crtc) vc4_hvs_update_gamma_lut() argument
260 vc4_hvs_get_fifo_frame_count(struct vc4_hvs *hvs, unsigned int fifo) vc4_hvs_get_fifo_frame_count() argument
288 vc4_hvs_get_fifo_from_output(struct vc4_hvs *hvs, unsigned int output) vc4_hvs_get_fifo_from_output() argument
347 vc4_hvs_init_channel(struct vc4_hvs *hvs, struct drm_crtc *crtc, struct drm_display_mode *mode, bool oneshot) vc4_hvs_init_channel() argument
410 vc4_hvs_stop_channel(struct vc4_hvs *hvs, unsigned int chan) vc4_hvs_stop_channel() argument
478 struct vc4_hvs *hvs = vc4->hvs; vc4_hvs_install_dlist() local
563 struct vc4_hvs *hvs = vc4->hvs; vc4_hvs_atomic_flush() local
669 vc4_hvs_mask_underrun(struct vc4_hvs *hvs, int channel) vc4_hvs_mask_underrun() argument
687 vc4_hvs_unmask_underrun(struct vc4_hvs *hvs, int channel) vc4_hvs_unmask_underrun() argument
719 struct vc4_hvs *hvs = vc4->hvs; vc4_hvs_irq_handler() local
765 struct vc4_hvs *hvs = vc4->hvs; vc4_hvs_debugfs_init() local
787 struct vc4_hvs *hvs; __vc4_hvs_alloc() local
829 struct vc4_hvs *hvs = NULL; vc4_hvs_bind() local
1034 struct vc4_hvs *hvs = vc4->hvs; vc4_hvs_unbind() local
[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
[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 in vc4_atomic_commit_tail()
[all...]
H A Dvc4_drv.h90 struct vc4_hvs *hvs; member
633 readl(hvs->regs + (offset)); \
639 writel(val, hvs->regs + (offset)); \
1005 void vc4_hvs_stop_channel(struct vc4_hvs *hvs, unsigned int output);
1006 int vc4_hvs_get_fifo_from_output(struct vc4_hvs *hvs, unsigned int output);
1007 u8 vc4_hvs_get_fifo_frame_count(struct vc4_hvs *hvs, unsigned int fifo);
1013 void vc4_hvs_dump_state(struct vc4_hvs *hvs);
1014 void vc4_hvs_unmask_underrun(struct vc4_hvs *hvs, int channel);
1015 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
132 /* Vertical position of hvs composed scanline. */ in vc4_crtc_get_scanout_position()
140 if (vc4_hvs_get_fifo_frame_count(hvs, vc4_crtc_state->assigned_channel) % 2) in vc4_crtc_get_scanout_position()
145 /* This is the offset we need for translating hvs -> pv scanout pos. */ in vc4_crtc_get_scanout_position()
200 * we are at the very beginning of vblank, as the hvs just in vc4_crtc_get_scanout_position()
459 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled() local
783 struct vc4_hvs *hvs = vc4->hvs; vc4_crtc_handle_page_flip() local
[all...]
H A Dvc4_hdmi.c517 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20) { in vc4_hdmi_connector_get_modes()
2019 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20 && clock > HDMI_14_MAX_TMDS_CLK) in vc4_hdmi_encoder_clock_valid()
2023 if (!vc4->hvs->vc5_hdmi_enable_4096by2160 && in vc4_hdmi_encoder_clock_valid()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_hvs.c70 struct drm_printer p = drm_info_printer(&vc4->hvs->pdev->dev); in vc4_hvs_dump_state()
73 drm_print_regset32(&p, &vc4->hvs->regset); in vc4_hvs_dump_state()
79 readl((u32 __iomem *)vc4->hvs->dlist + i + 0), in vc4_hvs_dump_state()
80 readl((u32 __iomem *)vc4->hvs->dlist + i + 1), in vc4_hvs_dump_state()
81 readl((u32 __iomem *)vc4->hvs->dlist + i + 2), in vc4_hvs_dump_state()
82 readl((u32 __iomem *)vc4->hvs->dlist + i + 3)); in vc4_hvs_dump_state()
132 static int vc4_hvs_upload_linear_kernel(struct vc4_hvs *hvs, in vc4_hvs_upload_linear_kernel() argument
139 ret = drm_mm_insert_node(&hvs->dlist_mm, space, VC4_KERNEL_DWORDS); in vc4_hvs_upload_linear_kernel()
146 dst_kernel = hvs->dlist + space->start; in vc4_hvs_upload_linear_kernel()
206 if (!vc4->hvs in vc4_hvs_get_fifo_from_output()
564 struct vc4_hvs *hvs = NULL; vc4_hvs_bind() local
710 struct vc4_hvs *hvs = vc4->hvs; vc4_hvs_unbind() local
[all...]
H A Dvc4_plane.c33 u32 hvs; /* HVS_FORMAT_* */ member
39 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
45 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
51 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
57 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
63 .hvs = HVS_PIXEL_FORMAT_RGB565,
68 .hvs = HVS_PIXEL_FORMAT_RGB565,
73 .hvs = HVS_PIXEL_FORMAT_RGBA5551,
79 .hvs = HVS_PIXEL_FORMAT_RGBA5551,
85 .hvs
[all...]
H A Dvc4_kms.c310 struct vc4_hvs *hvs = vc4->hvs; in vc4_atomic_complete_commit() local
325 if (vc4->hvs->hvs5) in vc4_atomic_complete_commit()
326 clk_set_min_rate(hvs->core_clk, 500000000); in vc4_atomic_complete_commit()
336 if (vc4->hvs->hvs5) in vc4_atomic_complete_commit()
355 if (vc4->hvs->hvs5) in vc4_atomic_complete_commit()
356 clk_set_min_rate(hvs->core_clk, 0); in vc4_atomic_complete_commit()
H A Dvc4_crtc.c116 /* Vertical position of hvs composed scanline. */ in vc4_crtc_get_scanout_position()
129 /* This is the offset we need for translating hvs -> pv scanout pos. */ in vc4_crtc_get_scanout_position()
184 * we are at the very beginning of vblank, as the hvs just in vc4_crtc_get_scanout_position()
255 if (!vc4->hvs->hvs5) in vc4_get_fifo_full_level()
394 if (vc4->hvs->hvs5) in vc4_crtc_config_pv()
863 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
865 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1086 if (!vc4->hvs->hvs5) { in vc4_crtc_init()
H A Dvc4_drv.h77 struct vc4_hvs *hvs; member
549 #define HVS_READ(offset) readl(vc4->hvs->regs + offset)
550 #define HVS_WRITE(offset, val) writel(val, vc4->hvs->regs + offset)
/kernel/linux/linux-6.6/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()
474 hvs_shutdown_lock_held(struct hvsock *hvs, int mode) hvs_shutdown_lock_held() argument
545 struct hvsock *hvs = vsk->trans; hvs_destruct() local
577 hvs_update_recv_data(struct hvsock *hvs) hvs_update_recv_data() argument
606 struct hvsock *hvs = vsk->trans; hvs_stream_dequeue() local
648 struct hvsock *hvs = vsk->trans; hvs_stream_enqueue() local
695 struct hvsock *hvs = vsk->trans; hvs_stream_has_data() local
719 struct hvsock *hvs = vsk->trans; hvs_stream_has_space() local
731 struct hvsock *hvs = vsk->trans; hvs_stream_is_active() local
747 struct hvsock *hvs = vsk->trans; hvs_notify_poll_in() local
[all...]
/kernel/linux/linux-5.10/net/vmw_vsock/
H A Dhyperv_transport.c242 struct hvsock *hvs = vsk->trans; in hvs_channel_cb() local
243 struct vmbus_channel *chan = hvs->chan; in hvs_channel_cb()
294 struct hvsock *hvs = NULL; in hvs_open_connection() local
344 hvs = vsock_sk(sk)->trans; in hvs_open_connection()
345 hvs->chan = chan; in hvs_open_connection()
382 hvs->chan = NULL; in hvs_open_connection()
433 struct hvsock *hvs; in hvs_sock_init() local
436 hvs = kzalloc(sizeof(*hvs), GFP_KERNEL); in hvs_sock_init()
437 if (!hvs) in hvs_sock_init()
463 hvs_shutdown_lock_held(struct hvsock *hvs, int mode) hvs_shutdown_lock_held() argument
534 struct hvsock *hvs = vsk->trans; hvs_destruct() local
566 hvs_update_recv_data(struct hvsock *hvs) hvs_update_recv_data() argument
589 struct hvsock *hvs = vsk->trans; hvs_stream_dequeue() local
629 struct hvsock *hvs = vsk->trans; hvs_stream_enqueue() local
676 struct hvsock *hvs = vsk->trans; hvs_stream_has_data() local
700 struct hvsock *hvs = vsk->trans; hvs_stream_has_space() local
712 struct hvsock *hvs = vsk->trans; hvs_stream_is_active() local
728 struct hvsock *hvs = vsk->trans; hvs_notify_poll_in() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/tests/
H A Dvc4_mock.c183 vc4->hvs = __vc4_hvs_alloc(vc4, NULL); in __mock_device()
184 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4->hvs); in __mock_device()

Completed in 23 milliseconds