1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13 * more details.
14 */
15
16#ifndef __ISYS_IRQ_GLOBAL_H__
17#define __ISYS_IRQ_GLOBAL_H__
18
19
20/* Register offset/index from base location */
21#define ISYS_IRQ_EDGE_REG_IDX		(0)
22#define ISYS_IRQ_MASK_REG_IDX		(ISYS_IRQ_EDGE_REG_IDX + 1)
23#define ISYS_IRQ_STATUS_REG_IDX		(ISYS_IRQ_EDGE_REG_IDX + 2)
24#define ISYS_IRQ_CLEAR_REG_IDX		(ISYS_IRQ_EDGE_REG_IDX + 3)
25#define ISYS_IRQ_ENABLE_REG_IDX		(ISYS_IRQ_EDGE_REG_IDX + 4)
26#define ISYS_IRQ_LEVEL_NO_REG_IDX	(ISYS_IRQ_EDGE_REG_IDX + 5)
27
28/* Register values */
29#define ISYS_IRQ_MASK_REG_VALUE		(0xFFFF)
30#define ISYS_IRQ_CLEAR_REG_VALUE	(0xFFFF)
31#define ISYS_IRQ_ENABLE_REG_VALUE	(0xFFFF)
32
33
34#endif	/* __ISYS_IRQ_GLOBAL_H__ */
35