GNU Linux-libre 4.14.265-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / css_2400_system / hrt / irq_controller_defs.h
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14
15 #ifndef _irq_controller_defs_h
16 #define _irq_controller_defs_h
17
18 #define _HRT_IRQ_CONTROLLER_EDGE_REG_IDX           0
19 #define _HRT_IRQ_CONTROLLER_MASK_REG_IDX           1
20 #define _HRT_IRQ_CONTROLLER_STATUS_REG_IDX         2
21 #define _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX          3
22 #define _HRT_IRQ_CONTROLLER_ENABLE_REG_IDX         4
23 #define _HRT_IRQ_CONTROLLER_EDGE_NOT_PULSE_REG_IDX 5
24 #define _HRT_IRQ_CONTROLLER_STR_OUT_ENABLE_REG_IDX 6
25
26 #define _HRT_IRQ_CONTROLLER_REG_ALIGN 4
27
28 #endif /* _irq_controller_defs_h */