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