2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #ifndef __ISYS_IRQ_PUBLIC_H__
16 #define __ISYS_IRQ_PUBLIC_H__
18 #include "isys_irq_global.h"
19 #include "isys_irq_local.h"
21 #if defined(USE_INPUT_SYSTEM_VERSION_2401)
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);
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);
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);
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);
40 STORAGE_CLASS_ISYS2401_IRQ_H void isys_irqc_status_enable(
41 const isys_irq_ID_t isys_irqc_id);
43 #endif /* defined(USE_INPUT_SYSTEM_VERSION_2401) */
45 #endif /* __ISYS_IRQ_PUBLIC_H__ */