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 __INPUT_FORMATTER_H_INCLUDED__ 8 #define __INPUT_FORMATTER_H_INCLUDED__ 9 10 /* 11 * This file is included on every cell {SP,ISP,host} and on every system 12 * that uses the input system device(s). It defines the API to DLI bridge 13 * 14 * System and cell specific interfaces and inline code are included 15 * conditionally through Makefile path settings. 16 * 17 * - . system and cell agnostic interfaces, constants and identifiers 18 * - public: system agnostic, cell specific interfaces 19 * - private: system dependent, cell specific interfaces & inline implementations 20 * - global: system specific constants and identifiers 21 * - local: system and cell specific constants and identifiers 22 */ 23 24 #include "system_local.h" 25 #include "input_formatter_local.h" 26 27 #ifndef __INLINE_INPUT_FORMATTER__ 28 #define STORAGE_CLASS_INPUT_FORMATTER_H extern 29 #define STORAGE_CLASS_INPUT_FORMATTER_C 30 #include "input_formatter_public.h" 31 #else /* __INLINE_INPUT_FORMATTER__ */ 32 #define STORAGE_CLASS_INPUT_FORMATTER_H static inline 33 #define STORAGE_CLASS_INPUT_FORMATTER_C static inline 34 #include "input_formatter_private.h" 35 #endif /* __INLINE_INPUT_FORMATTER__ */ 36 37 #endif /* __INPUT_FORMATTER_H_INCLUDED__ */ 38