1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
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.
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
16 #ifndef __GDC_DEVICE_H_INCLUDED__
17 #define __GDC_DEVICE_H_INCLUDED__
19 /* The file gdc.h already exists */
22 * This file is included on every cell {SP,ISP,host} and on every system
23 * that uses the GDC device. It defines the API to DLI bridge
25 * System and cell specific interfaces and inline code are included
26 * conditionally through Makefile path settings.
28 * - . system and cell agnostic interfaces, constants and identifiers
29 * - public: system agnostic, cell specific interfaces
30 * - private: system dependent, cell specific interfaces & inline implementations
31 * - global: system specific constants and identifiers
32 * - local: system and cell specific constants and identifiers
35 #include "system_local.h"
36 #include "gdc_local.h"
38 #ifndef __INLINE_GDC__
39 #define STORAGE_CLASS_GDC_H extern
40 #define STORAGE_CLASS_GDC_C
41 #include "gdc_public.h"
42 #else /* __INLINE_GDC__ */
43 #define STORAGE_CLASS_GDC_H static inline
44 #define STORAGE_CLASS_GDC_C static inline
45 #include "gdc_private.h"
46 #endif /* __INLINE_GDC__ */
48 #endif /* __GDC_DEVICE_H_INCLUDED__ */