media: atomisp: get rid of system_types.h

This is just a wrapper for system_local.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2020-05-29 08:15:52 +02:00
parent 85b606e02a
commit f90e73ce80
28 changed files with 27 additions and 51 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -17,7 +17,7 @@
#include <type_support.h>
#include <ia_css_types.h>
#include "system_types.h"
#include "system_local.h"
/*! brief
*

View File

@ -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;

View File

@ -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]

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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]

View File

@ -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]

View File

@ -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]

View File

@ -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]

View File

@ -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(

View File

@ -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"

View File

@ -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;

View File

@ -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]

View File

@ -1,24 +0,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 __SYSTEM_TYPES_H_INCLUDED__
#define __SYSTEM_TYPES_H_INCLUDED__
/**
* @file
* Platform specific types.
*/
#include "system_local.h"
#endif /* __SYSTEM_TYPES_H_INCLUDED__ */

View File

@ -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>

View File

@ -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 */

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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>

View File

@ -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"