xref: /linux/drivers/staging/media/atomisp/pci/runtime/event/interface/ia_css_event.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2010 - 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 _IA_CSS_EVENT_H
17 #define _IA_CSS_EVENT_H
18 
19 #include <type_support.h>
20 #include "sw_event_global.h"    /*event macros.TODO : Change File Name..???*/
21 
22 bool ia_css_event_encode(
23     u8	*in,
24     u8	nr,
25     uint32_t	*out);
26 
27 void ia_css_event_decode(
28     u32 event,
29     uint8_t *payload);
30 
31 #endif /*_IA_CSS_EVENT_H*/
32