GNU Linux-libre 4.14.266-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / host / isys_irq_public.h
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_PUBLIC_H__
16 #define __ISYS_IRQ_PUBLIC_H__
17
18 #include "isys_irq_global.h"
19 #include "isys_irq_local.h"
20
21 #if defined(USE_INPUT_SYSTEM_VERSION_2401)
22
23 STORAGE_CLASS_ISYS2401_IRQ_H void isys_irqc_state_get(
24         const isys_irq_ID_t     isys_irqc_id,
25         isys_irqc_state_t       *state);
26
27 STORAGE_CLASS_ISYS2401_IRQ_H void isys_irqc_state_dump(
28         const isys_irq_ID_t     isys_irqc_id,
29         const isys_irqc_state_t *state);
30
31 STORAGE_CLASS_ISYS2401_IRQ_H void isys_irqc_reg_store(
32         const isys_irq_ID_t     isys_irqc_id,
33         const unsigned int      reg_idx,
34         const hrt_data          value);
35
36 STORAGE_CLASS_ISYS2401_IRQ_H hrt_data isys_irqc_reg_load(
37         const isys_irq_ID_t     isys_irqc_id,
38         const unsigned int      reg_idx);
39
40 STORAGE_CLASS_ISYS2401_IRQ_H void isys_irqc_status_enable(
41         const isys_irq_ID_t     isys_irqc_id);
42
43 #endif /* defined(USE_INPUT_SYSTEM_VERSION_2401) */
44
45 #endif  /* __ISYS_IRQ_PUBLIC_H__ */