Commit f90e73ce authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: atomisp: get rid of system_types.h

This is just a wrapper for system_local.h.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 85b606e0
......@@ -16,7 +16,7 @@
#define _IA_CSS_REFCOUNT_H_
#include <type_support.h>
#include <system_types.h>
#include <system_local.h>
#include <ia_css_err.h>
#include <ia_css_types.h>
......
......@@ -19,7 +19,7 @@
#define IS_INPUT_SWITCH_VERSION2
#include <type_support.h>
#include <system_types.h>
#include <system_local.h>
#include "if_defs.h"
#include "str2mem_defs.h"
#include "input_switch_2400_defs.h"
......
......@@ -15,7 +15,7 @@
#ifndef __IRQ_GLOBAL_H_INCLUDED__
#define __IRQ_GLOBAL_H_INCLUDED__
#include <system_types.h>
#include <system_local.h>
#define IS_IRQ_VERSION_2
#define IS_IRQ_MAP_VERSION_2
......
......@@ -15,7 +15,7 @@
#ifndef __ISP_GLOBAL_H_INCLUDED__
#define __ISP_GLOBAL_H_INCLUDED__
#include <system_types.h>
#include <system_local.h>
#if defined(HAS_ISP_2401_MAMOIADA)
#define IS_ISP_2401_MAMOIADA
......
......@@ -15,7 +15,7 @@
#ifndef __SP_GLOBAL_H_INCLUDED__
#define __SP_GLOBAL_H_INCLUDED__
#include <system_types.h>
#include <system_local.h>
#if defined(HAS_SP_2401)
#define IS_SP_2401
......
......@@ -39,7 +39,7 @@ more details.
* User provided file that defines the system address types:
* - hrt_address a type that can hold the (sub)system address range
*/
#include "system_types.h"
#include "system_local.h"
/*
* We cannot assume that the global system address size is the size of
* a pointer because a (say) 64-bit host can be simulated in a 32-bit
......
......@@ -17,7 +17,7 @@
#include <type_support.h>
#include <ia_css_types.h>
#include "system_types.h"
#include "system_local.h"
/*! brief
*
......
......@@ -15,7 +15,7 @@
#ifndef __DMA_PUBLIC_H_INCLUDED__
#define __DMA_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
typedef struct dma_state_s dma_state_t;
......
......@@ -16,7 +16,7 @@
#define __EVENT_FIFO_PUBLIC_H
#include <type_support.h>
#include "system_types.h"
#include "system_local.h"
/*! Blocking read from an event source EVENT[ID]
......
......@@ -15,7 +15,7 @@
#ifndef __FIFO_MONITOR_PUBLIC_H_INCLUDED__
#define __FIFO_MONITOR_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
typedef struct fifo_channel_state_s fifo_channel_state_t;
typedef struct fifo_switch_state_s fifo_switch_state_t;
......
......@@ -15,7 +15,7 @@
#ifndef __GP_DEVICE_PUBLIC_H_INCLUDED__
#define __GP_DEVICE_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
typedef struct gp_device_state_s gp_device_state_t;
......
......@@ -15,7 +15,7 @@
#ifndef __GP_TIMER_PUBLIC_H_INCLUDED__
#define __GP_TIMER_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
/*! initialize mentioned timer
param ID timer_id
......
......@@ -15,7 +15,7 @@
#ifndef __GPIO_PUBLIC_H_INCLUDED__
#define __GPIO_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
/*! Write to a control register of GPIO[ID]
......
......@@ -16,7 +16,7 @@
#define __INPUT_FORMATTER_PUBLIC_H_INCLUDED__
#include <type_support.h>
#include "system_types.h"
#include "system_local.h"
/*! Reset INPUT_FORMATTER[ID]
......
......@@ -16,7 +16,7 @@
#define __IRQ_PUBLIC_H_INCLUDED__
#include <type_support.h>
#include "system_types.h"
#include "system_local.h"
/*! Read the control registers of IRQ[ID]
......
......@@ -16,7 +16,7 @@
#define __ISP_PUBLIC_H_INCLUDED__
#include <type_support.h>
#include "system_types.h"
#include "system_local.h"
/*! Enable or disable the program complete irq signal of ISP[ID]
......
......@@ -17,7 +17,7 @@
#ifdef USE_INPUT_SYSTEM_VERSION_2401
#include "system_types.h"
#include "system_local.h"
#include "type_support.h"
STORAGE_CLASS_ISYS2401_DMA_H void isys2401_dma_reg_store(
......
......@@ -15,7 +15,7 @@
#ifndef __MMU_PUBLIC_H_INCLUDED__
#define __MMU_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
#include "device_access.h"
#include "assert_support.h"
......
......@@ -16,7 +16,7 @@
#define __SP_PUBLIC_H_INCLUDED__
#include <type_support.h>
#include "system_types.h"
#include "system_local.h"
typedef struct sp_state_s sp_state_t;
typedef struct sp_stall_s sp_stall_t;
......
......@@ -15,7 +15,7 @@
#ifndef __TIMED_CTRL_PUBLIC_H_INCLUDED__
#define __TIMED_CTRL_PUBLIC_H_INCLUDED__
#include "system_types.h"
#include "system_local.h"
/*! Write to a control register of TIMED_CTRL[ID]
......
/*
* 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 __SYSTEM_TYPES_H_INCLUDED__
#define __SYSTEM_TYPES_H_INCLUDED__
/**
* @file
* Platform specific types.
*/
#include "system_local.h"
#endif /* __SYSTEM_TYPES_H_INCLUDED__ */
......@@ -19,7 +19,7 @@
* This file contains types used for acceleration
*/
#include <system_types.h> /* HAS_IRQ_MAP_VERSION_# */
#include <system_local.h> /* HAS_IRQ_MAP_VERSION_# */
#include <type_support.h>
#include <platform_support.h>
#include <debug_global.h>
......
......@@ -14,7 +14,7 @@
#include "ia_css_device_access.h"
#include <type_support.h> /* for uint*, size_t */
#include <system_types.h> /* for hrt_address */
#include <system_local.h> /* for hrt_address */
#include <ia_css_env.h> /* for ia_css_hw_access_env */
#include <assert_support.h> /* for assert */
......
......@@ -20,7 +20,7 @@
*/
#include <type_support.h> /* for uint*, size_t */
#include <system_types.h> /* for hrt_address */
#include <system_local.h> /* for hrt_address */
#include <ia_css_env.h> /* for ia_css_hw_access_env */
void
......
......@@ -18,7 +18,7 @@
#include "type_support.h"
#include "platform_support.h"
#include "runtime/bufq/interface/ia_css_bufq_comm.h"
#include <system_types.h> /* ia_css_ptr */
#include <system_local.h> /* ia_css_ptr */
/*
* These structs are derived from structs defined in ia_css_types.h
......
......@@ -18,7 +18,7 @@
#include "ia_css_rmgr.h"
#include <type_support.h>
#include <ia_css_types.h>
#include <system_types.h>
#include <system_local.h>
/**
* @brief Data structure for the resource handle (host, vbuf)
......
......@@ -15,7 +15,7 @@
#ifndef _SH_CSS_FIRMWARE_H_
#define _SH_CSS_FIRMWARE_H_
#include <system_types.h>
#include <system_local.h>
#include <ia_css_err.h>
#include <ia_css_acc_types.h>
......
......@@ -24,7 +24,7 @@
*/
#include <type_support.h>
#include <system_types.h>
#include <system_local.h>
#include "ia_css_pipeline.h"
#include "ia_css_pipe_public.h"
#include "ia_css_frame_public.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment