]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/isys_irq_global.h
2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #ifndef __ISYS_IRQ_GLOBAL_H__
16 #define __ISYS_IRQ_GLOBAL_H__
18 #if defined(USE_INPUT_SYSTEM_VERSION_2401)
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)
29 #define ISYS_IRQ_MASK_REG_VALUE (0xFFFF)
30 #define ISYS_IRQ_CLEAR_REG_VALUE (0xFFFF)
31 #define ISYS_IRQ_ENABLE_REG_VALUE (0xFFFF)
33 #endif /* defined(USE_INPUT_SYSTEM_VERSION_2401) */
35 #endif /* __ISYS_IRQ_GLOBAL_H__ */