Lines Matching refs:ver
23 #define V3D_CORE_IRQS(ver) ((u32)(V3D_INT_OUTOMEM | \ argument
26 V3D_INT_CSDDONE(ver) | \
27 (ver < 71 ? V3D_INT_GMPV : 0)))
29 #define V3D_HUB_IRQS(ver) ((u32)(V3D_HUB_INT_MMU_WRV | \ argument
33 (ver >= 71 ? V3D_V7_HUB_INT_GMPV : 0)))
122 if (intsts & V3D_INT_CSDDONE(v3d->ver)) { in v3d_irq()
135 if (v3d->ver < 71 && (intsts & V3D_INT_GMPV)) in v3d_irq()
189 if (v3d->ver >= 41) { in v3d_hub_irq()
206 if (v3d->ver >= 71 && (intsts & V3D_V7_HUB_INT_GMPV)) { in v3d_hub_irq()
225 V3D_CORE_WRITE(core, V3D_CTL_INT_CLR, V3D_CORE_IRQS(v3d->ver)); in v3d_irq_init()
226 V3D_WRITE(V3D_HUB_INT_CLR, V3D_HUB_IRQS(v3d->ver)); in v3d_irq_init()
270 V3D_CORE_WRITE(core, V3D_CTL_INT_MSK_SET, ~V3D_CORE_IRQS(v3d->ver)); in v3d_irq_enable()
271 V3D_CORE_WRITE(core, V3D_CTL_INT_MSK_CLR, V3D_CORE_IRQS(v3d->ver)); in v3d_irq_enable()
274 V3D_WRITE(V3D_HUB_INT_MSK_SET, ~V3D_HUB_IRQS(v3d->ver)); in v3d_irq_enable()
275 V3D_WRITE(V3D_HUB_INT_MSK_CLR, V3D_HUB_IRQS(v3d->ver)); in v3d_irq_enable()
290 V3D_CORE_WRITE(core, V3D_CTL_INT_CLR, V3D_CORE_IRQS(v3d->ver)); in v3d_irq_disable()
291 V3D_WRITE(V3D_HUB_INT_CLR, V3D_HUB_IRQS(v3d->ver)); in v3d_irq_disable()