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_PUBLIC_H__ 17 #define __ISYS_IRQ_PUBLIC_H__ 18 19 #include "isys_irq_global.h" 20 #include "isys_irq_local.h" 21 22 #if defined(ISP2401) 23 24 void isys_irqc_state_get(const isys_irq_ID_t isys_irqc_id, 25 isys_irqc_state_t *state); 26 27 void isys_irqc_state_dump(const isys_irq_ID_t isys_irqc_id, 28 const isys_irqc_state_t *state); 29 30 void isys_irqc_reg_store(const isys_irq_ID_t isys_irqc_id, 31 const unsigned int reg_idx, 32 const hrt_data value); 33 34 hrt_data isys_irqc_reg_load(const isys_irq_ID_t isys_irqc_id, 35 const unsigned int reg_idx); 36 37 void isys_irqc_status_enable(const isys_irq_ID_t isys_irqc_id); 38 39 #endif /* defined(ISP2401) */ 40 41 #endif /* __ISYS_IRQ_PUBLIC_H__ */ 42