xref: /linux/drivers/staging/media/atomisp/pci/irq_controller_defs.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
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 _irq_controller_defs_h
17 #define _irq_controller_defs_h
18 
19 #define _HRT_IRQ_CONTROLLER_EDGE_REG_IDX           0
20 #define _HRT_IRQ_CONTROLLER_MASK_REG_IDX           1
21 #define _HRT_IRQ_CONTROLLER_STATUS_REG_IDX         2
22 #define _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX          3
23 #define _HRT_IRQ_CONTROLLER_ENABLE_REG_IDX         4
24 #define _HRT_IRQ_CONTROLLER_EDGE_NOT_PULSE_REG_IDX 5
25 #define _HRT_IRQ_CONTROLLER_STR_OUT_ENABLE_REG_IDX 6
26 
27 #define _HRT_IRQ_CONTROLLER_REG_ALIGN 4
28 
29 #endif /* _irq_controller_defs_h */
30