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

/* SPDX-License-Identifier: GPL-2.0 */
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *    (c) 2020 Mauro Carvalho Chehab <[email protected]>
 */

#include "type_support.h"
#include "input_system_global.h"

input_system_csi_port_t;

ctrl_unit_cfg_t;
input_system_network_cfg_t;
target_cfg2400_t;
channel_cfg_t;
backend_channel_cfg_t;
input_system_cfg2400_t;
mipi_port_state_t;
rx_channel_state_t;
input_switch_cfg_channel_t;
input_switch_cfg_t;

struct ctrl_unit_cfg_s {};

struct input_system_network_cfg_s {};

target_isp_cfg_t;

target_sp_cfg_t;

target_strm2mem_cfg_t;

struct input_switch_cfg_channel_s {};

struct backend_channel_cfg_s {};

source_cfg_t;

struct input_switch_cfg_s {};

/*
 * In 2300 ports can be configured independently and stream
 * formats need to be specified. In 2400, there are only 8
 * supported configurations but the HW is fused to support
 * only a single one.
 *
 * In 2300 the compressed format types are programmed by the
 * user. In 2400 all stream formats are encoded on the stream.
 *
 * Use the enum to check validity of a user configuration
 */
rx_mode_t;

#define UNCOMPRESSED_BITS_PER_PIXEL_10
#define UNCOMPRESSED_BITS_PER_PIXEL_12
#define COMPRESSED_BITS_PER_PIXEL_6
#define COMPRESSED_BITS_PER_PIXEL_7
#define COMPRESSED_BITS_PER_PIXEL_8
enum mipi_compressor {};

mipi_compressor_t;

mipi_predictor_t;

rx_cfg_t;

/*
 * Applied per port
 */
struct rx_cfg_s {};

#include "isp2401_input_system_local.h"
#include "isp2400_input_system_local.h"