aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/hrt/irq_controller_defs.h
blob: ec6dd4487158e4fabf4e587684e4290ffdd23ed2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Support for Intel Camera Imaging ISP subsystem.
 * Copyright (c) 2015, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#ifndef _irq_controller_defs_h
#define _irq_controller_defs_h

#define _HRT_IRQ_CONTROLLER_EDGE_REG_IDX           0
#define _HRT_IRQ_CONTROLLER_MASK_REG_IDX           1
#define _HRT_IRQ_CONTROLLER_STATUS_REG_IDX         2
#define _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX          3
#define _HRT_IRQ_CONTROLLER_ENABLE_REG_IDX         4
#define _HRT_IRQ_CONTROLLER_EDGE_NOT_PULSE_REG_IDX 5
#define _HRT_IRQ_CONTROLLER_STR_OUT_ENABLE_REG_IDX 6

#define _HRT_IRQ_CONTROLLER_REG_ALIGN 4

#endif /* _irq_controller_defs_h */