drm/rockchip: vop2: Fix the windows switch between different layers
[drm/drm-misc.git] / arch / mips / include / asm / mach-lantiq / xway / lantiq_irq.h
blob5f0d0ba991cb73f9ef264671c708bde11dfbf61d
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
4 * Copyright (C) 2010 John Crispin <john@phrozen.org>
5 */
7 #ifndef _LANTIQ_XWAY_IRQ_H__
8 #define _LANTIQ_XWAY_IRQ_H__
10 #define INT_NUM_IRQ0 8
11 #define INT_NUM_IM0_IRL0 (INT_NUM_IRQ0 + 0)
12 #define INT_NUM_IM1_IRL0 (INT_NUM_IRQ0 + 32)
13 #define INT_NUM_IM2_IRL0 (INT_NUM_IRQ0 + 64)
14 #define INT_NUM_IM3_IRL0 (INT_NUM_IRQ0 + 96)
15 #define INT_NUM_IM4_IRL0 (INT_NUM_IRQ0 + 128)
16 #define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0)
18 #define LTQ_DMA_CH0_INT (INT_NUM_IM2_IRL0)
20 #define MAX_IM 5
22 #endif