mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-07 22:23:00 +00:00

Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 lines
555 B
C
23 lines
555 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
*
|
|
* Copyright (C) 2010 John Crispin <john@phrozen.org>
|
|
*/
|
|
|
|
#ifndef _LANTIQ_XWAY_IRQ_H__
|
|
#define _LANTIQ_XWAY_IRQ_H__
|
|
|
|
#define INT_NUM_IRQ0 8
|
|
#define INT_NUM_IM0_IRL0 (INT_NUM_IRQ0 + 0)
|
|
#define INT_NUM_IM1_IRL0 (INT_NUM_IRQ0 + 32)
|
|
#define INT_NUM_IM2_IRL0 (INT_NUM_IRQ0 + 64)
|
|
#define INT_NUM_IM3_IRL0 (INT_NUM_IRQ0 + 96)
|
|
#define INT_NUM_IM4_IRL0 (INT_NUM_IRQ0 + 128)
|
|
#define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0)
|
|
|
|
#define LTQ_DMA_CH0_INT (INT_NUM_IM2_IRL0)
|
|
|
|
#define MAX_IM 5
|
|
|
|
#endif
|