Home
last modified time | relevance | path

Searched refs:hw_videoport (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/tidss/
Dtidss_irq.c31 u32 hw_videoport = tcrtc->hw_videoport; in tidss_irq_enable_vblank() local
35 tidss->irq_mask |= DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_enable_vblank()
36 DSS_IRQ_VP_VSYNC_ODD(hw_videoport); in tidss_irq_enable_vblank()
46 u32 hw_videoport = tcrtc->hw_videoport; in tidss_irq_disable_vblank() local
50 tidss->irq_mask &= ~(DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_disable_vblank()
51 DSS_IRQ_VP_VSYNC_ODD(hw_videoport)); in tidss_irq_disable_vblank()
68 u32 hw_videoport = tcrtc->hw_videoport; in tidss_irq_handler() local
70 if (irqstatus & (DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_handler()
71 DSS_IRQ_VP_VSYNC_ODD(hw_videoport))) in tidss_irq_handler()
74 if (irqstatus & (DSS_IRQ_VP_FRAME_DONE(hw_videoport))) in tidss_irq_handler()
[all …]
Dtidss_dispc.h101 u32 hw_videoport, u32 x, u32 y, u32 layer);
103 u32 hw_videoport, u32 layer, bool enable);
105 void dispc_vp_prepare(struct dispc_device *dispc, u32 hw_videoport,
107 void dispc_vp_enable(struct dispc_device *dispc, u32 hw_videoport,
109 void dispc_vp_disable(struct dispc_device *dispc, u32 hw_videoport);
110 void dispc_vp_unprepare(struct dispc_device *dispc, u32 hw_videoport);
111 bool dispc_vp_go_busy(struct dispc_device *dispc, u32 hw_videoport);
112 void dispc_vp_go(struct dispc_device *dispc, u32 hw_videoport);
113 int dispc_vp_bus_check(struct dispc_device *dispc, u32 hw_videoport,
116 u32 hw_videoport,
[all …]
Dtidss_dispc.c439 static void dispc_ovr_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_ovr_write() argument
442 void __iomem *base = dispc->base_ovr[hw_videoport]; in dispc_ovr_write()
447 static u32 dispc_ovr_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_ovr_read() argument
449 void __iomem *base = dispc->base_ovr[hw_videoport]; in dispc_ovr_read()
454 static void dispc_vp_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_write() argument
457 void __iomem *base = dispc->base_vp[hw_videoport]; in dispc_vp_write()
462 static u32 dispc_vp_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_vp_read() argument
464 void __iomem *base = dispc->base_vp[hw_videoport]; in dispc_vp_read()
548 static dispc_irq_t dispc_vp_irq_from_raw(u32 stat, u32 hw_videoport) in dispc_vp_irq_from_raw() argument
553 vp_stat |= DSS_IRQ_VP_FRAME_DONE(hw_videoport); in dispc_vp_irq_from_raw()
[all …]
Dtidss_crtc.c37 busy = dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_finish_page_flip()
79 tcrtc->hw_videoport, irqstatus); in tidss_crtc_error_irq()
93 u32 hw_videoport = tcrtc->hw_videoport; in tidss_crtc_atomic_check() local
104 ok = dispc_vp_mode_valid(dispc, hw_videoport, mode); in tidss_crtc_atomic_check()
111 return dispc_vp_bus_check(dispc, hw_videoport, crtc_state); in tidss_crtc_atomic_check()
153 tcrtc->hw_videoport, in tidss_crtc_position_planes()
157 dispc_ovr_enable_layer(tidss->dispc, tcrtc->hw_videoport, layer, in tidss_crtc_position_planes()
185 if (WARN_ON(dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport))) in tidss_crtc_atomic_flush()
193 dispc_vp_setup(tidss->dispc, tcrtc->hw_videoport, crtc->state, false); in tidss_crtc_atomic_flush()
201 dispc_vp_go(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_flush()
[all …]
Dtidss_plane.c34 u32 hw_videoport; in tidss_plane_atomic_check() local
99 hw_videoport = to_tidss_crtc(new_plane_state->crtc)->hw_videoport; in tidss_plane_atomic_check()
102 hw_videoport); in tidss_plane_atomic_check()
117 u32 hw_videoport; in tidss_plane_atomic_update() local
126 hw_videoport = to_tidss_crtc(new_state->crtc)->hw_videoport; in tidss_plane_atomic_update()
128 dispc_plane_setup(tidss->dispc, tplane->hw_plane_id, new_state, hw_videoport); in tidss_plane_atomic_update()
Dtidss_crtc.h22 u32 hw_videoport; member
46 u32 hw_videoport,
Dtidss_kms.c111 u32 hw_videoport; in tidss_dispc_modeset_init() member
177 pipes[num_pipes].hw_videoport = i; in tidss_dispc_modeset_init()
204 tcrtc = tidss_crtc_create(tidss, pipes[i].hw_videoport, in tidss_dispc_modeset_init()