GNU Linux-libre 4.14.324-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / gdc_device.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 __GDC_DEVICE_H_INCLUDED__
16 #define __GDC_DEVICE_H_INCLUDED__
17
18 /* The file gdc.h already exists */
19
20 /*
21  * This file is included on every cell {SP,ISP,host} and on every system
22  * that uses the GDC device. It defines the API to DLI bridge
23  *
24  * System and cell specific interfaces and inline code are included
25  * conditionally through Makefile path settings.
26  *
27  *  - .        system and cell agnostic interfaces, constants and identifiers
28  *      - public:  system agnostic, cell specific interfaces
29  *      - private: system dependent, cell specific interfaces & inline implementations
30  *      - global:  system specific constants and identifiers
31  *      - local:   system and cell specific constants and identifiers
32  */
33
34 #include "storage_class.h"
35
36 #include "system_local.h"
37 #include "gdc_local.h"
38
39 #ifndef __INLINE_GDC__
40 #define STORAGE_CLASS_GDC_H STORAGE_CLASS_EXTERN
41 #define STORAGE_CLASS_GDC_C 
42 #include "gdc_public.h"
43 #else  /* __INLINE_GDC__ */
44 #define STORAGE_CLASS_GDC_H STORAGE_CLASS_INLINE
45 #define STORAGE_CLASS_GDC_C STORAGE_CLASS_INLINE
46 #include "gdc_private.h"
47 #endif /* __INLINE_GDC__ */
48
49 #endif /* __GDC_DEVICE_H_INCLUDED__ */