Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/tidss/
H A Dtidss_dispc.h98 u32 hw_videoport, u32 x, u32 y, u32 layer);
100 u32 hw_videoport, u32 layer, bool enable);
102 void dispc_vp_prepare(struct dispc_device *dispc, u32 hw_videoport,
104 void dispc_vp_enable(struct dispc_device *dispc, u32 hw_videoport,
106 void dispc_vp_disable(struct dispc_device *dispc, u32 hw_videoport);
107 void dispc_vp_unprepare(struct dispc_device *dispc, u32 hw_videoport);
108 bool dispc_vp_go_busy(struct dispc_device *dispc, u32 hw_videoport);
109 void dispc_vp_go(struct dispc_device *dispc, u32 hw_videoport);
110 int dispc_vp_bus_check(struct dispc_device *dispc, u32 hw_videoport,
113 u32 hw_videoport,
[all …]
H A 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 …]
H A Dtidss_dispc.c385 static void dispc_ovr_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_ovr_write() argument
388 void __iomem *base = dispc->base_ovr[hw_videoport]; in dispc_ovr_write()
393 static u32 dispc_ovr_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_ovr_read() argument
395 void __iomem *base = dispc->base_ovr[hw_videoport]; in dispc_ovr_read()
400 static void dispc_vp_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_write() argument
403 void __iomem *base = dispc->base_vp[hw_videoport]; in dispc_vp_write()
408 static u32 dispc_vp_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_vp_read() argument
410 void __iomem *base = dispc->base_vp[hw_videoport]; in dispc_vp_read()
494 static dispc_irq_t dispc_vp_irq_from_raw(u32 stat, u32 hw_videoport) in dispc_vp_irq_from_raw() argument
499 vp_stat |= DSS_IRQ_VP_FRAME_DONE(hw_videoport); in dispc_vp_irq_from_raw()
[all …]
H A 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()
189 if (WARN_ON(dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport))) in tidss_crtc_atomic_flush()
197 dispc_vp_setup(tidss->dispc, tcrtc->hw_videoport, crtc->state, false); in tidss_crtc_atomic_flush()
205 dispc_vp_go(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_flush()
[all …]
H A Dtidss_plane.c33 u32 hw_videoport; in tidss_plane_atomic_check() local
98 hw_videoport = to_tidss_crtc(new_plane_state->crtc)->hw_videoport; in tidss_plane_atomic_check()
101 hw_videoport); in tidss_plane_atomic_check()
116 u32 hw_videoport; in tidss_plane_atomic_update() local
125 hw_videoport = to_tidss_crtc(new_state->crtc)->hw_videoport; in tidss_plane_atomic_update()
127 dispc_plane_setup(tidss->dispc, tplane->hw_plane_id, new_state, hw_videoport); in tidss_plane_atomic_update()
H A Dtidss_crtc.h22 u32 hw_videoport; member
46 u32 hw_videoport,
H A Dtidss_kms.c111 u32 hw_videoport; in tidss_dispc_modeset_init() member
178 pipes[num_pipes].hw_videoport = i; in tidss_dispc_modeset_init()
205 tcrtc = tidss_crtc_create(tidss, pipes[i].hw_videoport, in tidss_dispc_modeset_init()