Searched refs:hw_videoport (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/tidss/ |
D | tidss_irq.c | 28 u32 hw_videoport = tcrtc->hw_videoport; in tidss_irq_enable_vblank() local 32 tidss->irq_mask |= DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_enable_vblank() 33 DSS_IRQ_VP_VSYNC_ODD(hw_videoport); in tidss_irq_enable_vblank() 43 u32 hw_videoport = tcrtc->hw_videoport; in tidss_irq_disable_vblank() local 47 tidss->irq_mask &= ~(DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_disable_vblank() 48 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 …]
|
D | tidss_dispc.h | 96 u32 hw_videoport, u32 x, u32 y, u32 layer); 98 u32 hw_videoport, u32 layer, bool enable); 100 void dispc_vp_prepare(struct dispc_device *dispc, u32 hw_videoport, 102 void dispc_vp_enable(struct dispc_device *dispc, u32 hw_videoport, 104 void dispc_vp_disable(struct dispc_device *dispc, u32 hw_videoport); 105 void dispc_vp_unprepare(struct dispc_device *dispc, u32 hw_videoport); 106 bool dispc_vp_go_busy(struct dispc_device *dispc, u32 hw_videoport); 107 void dispc_vp_go(struct dispc_device *dispc, u32 hw_videoport); 108 int dispc_vp_bus_check(struct dispc_device *dispc, u32 hw_videoport, 111 u32 hw_videoport, [all …]
|
D | tidss_dispc.c | 335 static void dispc_ovr_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_ovr_write() argument 338 void __iomem *base = dispc->base_ovr[hw_videoport]; in dispc_ovr_write() 343 static u32 dispc_ovr_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_ovr_read() argument 345 void __iomem *base = dispc->base_ovr[hw_videoport]; in dispc_ovr_read() 350 static void dispc_vp_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_write() argument 353 void __iomem *base = dispc->base_vp[hw_videoport]; in dispc_vp_write() 358 static u32 dispc_vp_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_vp_read() argument 360 void __iomem *base = dispc->base_vp[hw_videoport]; in dispc_vp_read() 444 static dispc_irq_t dispc_vp_irq_from_raw(u32 stat, u32 hw_videoport) in dispc_vp_irq_from_raw() argument 449 vp_stat |= DSS_IRQ_VP_FRAME_DONE(hw_videoport); in dispc_vp_irq_from_raw() [all …]
|
D | tidss_crtc.c | 40 busy = dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_finish_page_flip() 82 tcrtc->hw_videoport, irqstatus); in tidss_crtc_error_irq() 94 u32 hw_videoport = tcrtc->hw_videoport; in tidss_crtc_atomic_check() local 105 ok = dispc_vp_mode_valid(dispc, hw_videoport, mode); in tidss_crtc_atomic_check() 112 return dispc_vp_bus_check(dispc, hw_videoport, state); in tidss_crtc_atomic_check() 154 tcrtc->hw_videoport, in tidss_crtc_position_planes() 158 dispc_ovr_enable_layer(tidss->dispc, tcrtc->hw_videoport, layer, in tidss_crtc_position_planes() 188 if (WARN_ON(dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport))) in tidss_crtc_atomic_flush() 196 dispc_vp_setup(tidss->dispc, tcrtc->hw_videoport, crtc->state, false); in tidss_crtc_atomic_flush() 204 dispc_vp_go(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_flush() [all …]
|
D | tidss_plane.c | 30 u32 hw_videoport; in tidss_plane_atomic_check() local 91 hw_videoport = to_tidss_crtc(state->crtc)->hw_videoport; in tidss_plane_atomic_check() 93 ret = dispc_plane_check(tidss->dispc, hw_plane, state, hw_videoport); in tidss_plane_atomic_check() 107 u32 hw_videoport; in tidss_plane_atomic_update() local 117 hw_videoport = to_tidss_crtc(state->crtc)->hw_videoport; in tidss_plane_atomic_update() 120 state, hw_videoport); in tidss_plane_atomic_update()
|
D | tidss_crtc.h | 22 u32 hw_videoport; member 46 u32 hw_videoport,
|
D | tidss_kms.c | 114 u32 hw_videoport; in tidss_dispc_modeset_init() member 181 pipes[num_pipes].hw_videoport = i; in tidss_dispc_modeset_init() 209 tcrtc = tidss_crtc_create(tidss, pipes[i].hw_videoport, in tidss_dispc_modeset_init()
|