1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __ISYS_IRQ_PUBLIC_H__
8 #define __ISYS_IRQ_PUBLIC_H__
9 
10 #include "isys_irq_global.h"
11 #include "isys_irq_local.h"
12 
13 
14 void isys_irqc_state_get(const isys_irq_ID_t	isys_irqc_id,
15 			 isys_irqc_state_t	*state);
16 
17 void isys_irqc_state_dump(const isys_irq_ID_t	isys_irqc_id,
18 			  const isys_irqc_state_t *state);
19 
20 void isys_irqc_reg_store(const isys_irq_ID_t	isys_irqc_id,
21 			 const unsigned int	reg_idx,
22 			 const hrt_data		value);
23 
24 hrt_data isys_irqc_reg_load(const isys_irq_ID_t	isys_irqc_id,
25 			    const unsigned int	reg_idx);
26 
27 void isys_irqc_status_enable(const isys_irq_ID_t isys_irqc_id);
28 
29 
30 #endif	/* __ISYS_IRQ_PUBLIC_H__ */
31