1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #ifndef __GDC_DEVICE_H_INCLUDED__ 8 #define __GDC_DEVICE_H_INCLUDED__ 9 10 /* The file gdc.h already exists */ 11 12 /* 13 * This file is included on every cell {SP,ISP,host} and on every system 14 * that uses the GDC device. It defines the API to DLI bridge 15 * 16 * System and cell specific interfaces and inline code are included 17 * conditionally through Makefile path settings. 18 * 19 * - . system and cell agnostic interfaces, constants and identifiers 20 * - public: system agnostic, cell specific interfaces 21 * - private: system dependent, cell specific interfaces & inline implementations 22 * - global: system specific constants and identifiers 23 * - local: system and cell specific constants and identifiers 24 */ 25 26 #include "system_local.h" 27 #include "gdc_local.h" 28 29 #ifndef __INLINE_GDC__ 30 #define STORAGE_CLASS_GDC_H extern 31 #define STORAGE_CLASS_GDC_C 32 #include "gdc_public.h" 33 #else /* __INLINE_GDC__ */ 34 #define STORAGE_CLASS_GDC_H static inline 35 #define STORAGE_CLASS_GDC_C static inline 36 #include "gdc_private.h" 37 #endif /* __INLINE_GDC__ */ 38 39 #endif /* __GDC_DEVICE_H_INCLUDED__ */ 40