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 __ISYS_IRQ_LOCAL_H__ 16 #define __ISYS_IRQ_LOCAL_H__ 17 18 #include <type_support.h> 19 20 #if defined(USE_INPUT_SYSTEM_VERSION_2401) 21 22 typedef struct isys_irqc_state_s isys_irqc_state_t; 23 24 struct isys_irqc_state_s { 25 hrt_data edge; 26 hrt_data mask; 27 hrt_data status; 28 hrt_data enable; 29 hrt_data level_no; 30 /*hrt_data clear; */ /* write-only register */ 31 }; 32 33 #endif /* defined(USE_INPUT_SYSTEM_VERSION_2401) */ 34 35 #endif /* __ISYS_IRQ_LOCAL_H__ */ 36