linux/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h

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

#include <type_support.h>

//CSI reveiver has 3 ports.
#define N_CSI_PORTS
//AM: Use previous define for this.

//MIPI allows up to 4 channels.
#define N_CHANNELS
// 12KB = 256bit x 384 words
#define IB_CAPACITY_IN_WORDS

mipi_lane_cfg_t;

input_system_source_t;

/* internal routing configuration */
input_system_connection_t;

input_system_multiplex_t;

input_system_sink_t;

buffering_mode_t;

input_system_cfg_t;
sync_generator_cfg_t;
tpg_cfg_t;
prbs_cfg_t;

/* MW: uint16_t should be sufficient */
struct isp2400_input_system_cfg_s {};

struct sync_generator_cfg_s {};

/* MW: tpg & prbs are exclusive */
struct tpg_cfg_s {};

struct prbs_cfg_s {};

struct gpfifo_cfg_s {};

gpfifo_cfg_t;

//ALX:Commented out to pass the compilation.
//typedef struct isp2400_input_system_cfg_s input_system_cfg_t;

struct ib_buffer_s {};

isp2400_ib_buffer_t;

struct csi_cfg_s {};

csi_cfg_t;

isp2400_input_system_cfg_flag_t;

input_system_config_flags_t;