/* SPDX-License-Identifier: GPL-2.0 */ /* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #ifndef __SH_CSS_STRUCT_H #define __SH_CSS_STRUCT_H /* This header files contains the definition of the sh_css struct and friends; locigally the file would probably be called sh_css.h after the pattern <type>.h but sh_css.h is the predecesssor of ia_css.h so this could cause confusion; hence the _struct in the filename */ #include <type_support.h> #include <system_local.h> #include "ia_css_pipeline.h" #include "ia_css_pipe_public.h" #include "ia_css_frame_public.h" #include "ia_css_queue.h" #include "ia_css_irq.h" struct sh_css { … }; #define IPU_2400 … #define IPU_2401 … #define IS_2400() … #define IS_2401() … extern struct sh_css my_css; #endif /* __SH_CSS_STRUCT_H */