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 __EVENT_FIFO_H 8 #define __EVENT_FIFO_H 9 10 /* 11 * This file is included on every cell {SP,ISP,host} and on every system 12 * that uses the IRQ device. 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 "event_fifo_local.h" 26 27 #ifndef __INLINE_EVENT__ 28 #define STORAGE_CLASS_EVENT_H extern 29 #define STORAGE_CLASS_EVENT_C 30 #include "event_fifo_public.h" 31 #else /* __INLINE_EVENT__ */ 32 #define STORAGE_CLASS_EVENT_H static inline 33 #define STORAGE_CLASS_EVENT_C static inline 34 #include "event_fifo_private.h" 35 #endif /* __INLINE_EVENT__ */ 36 37 #endif /* __EVENT_FIFO_H */ 38