#define __INLINE_INPUT_SYSTEM__
#include "input_system.h"
#include "assert_support.h"
#include "ia_css_isys.h"
#include "ia_css_irq.h"
#include "sh_css_internal.h"
void ia_css_isys_rx_enable_all_interrupts(enum mipi_port_id port)
{ … }
enum mipi_port_id ia_css_isys_port_to_mipi_port(enum mipi_port_id api_port)
{ … }
unsigned int ia_css_isys_rx_get_interrupt_reg(enum mipi_port_id port)
{ … }
void ia_css_rx_get_irq_info(unsigned int *irq_infos)
{ … }
void ia_css_rx_port_get_irq_info(enum mipi_port_id api_port,
unsigned int *irq_infos)
{ … }
void ia_css_isys_rx_get_irq_info(enum mipi_port_id port,
unsigned int *irq_infos)
{ … }
unsigned int ia_css_isys_rx_translate_irq_infos(unsigned int bits)
{ … }
void ia_css_rx_clear_irq_info(unsigned int irq_infos)
{ … }
void ia_css_rx_port_clear_irq_info(enum mipi_port_id api_port,
unsigned int irq_infos)
{ … }
void ia_css_isys_rx_clear_irq_info(enum mipi_port_id port,
unsigned int irq_infos)
{ … }
static int ia_css_isys_2400_set_fmt_type(enum atomisp_input_format input_format,
unsigned int *fmt_type)
{ … }
static int ia_css_isys_2401_set_fmt_type(enum atomisp_input_format input_format,
unsigned int *fmt_type)
{ … }
int ia_css_isys_convert_stream_format_to_mipi_format(
enum atomisp_input_format input_format,
mipi_predictor_t compression,
unsigned int *fmt_type)
{ … }
static mipi_predictor_t sh_css_csi2_compression_type_2_mipi_predictor(
enum ia_css_csi2_compression_type type)
{ … }
int ia_css_isys_convert_compressed_format(
struct ia_css_csi2_compression *comp,
struct isp2401_input_system_cfg_s *cfg)
{ … }
unsigned int ia_css_csi2_calculate_input_system_alignment(
enum atomisp_input_format fmt_type)
{ … }
static const mipi_lane_cfg_t MIPI_PORT_LANES[N_RX_MODE][N_MIPI_PORT_ID] = …;
void ia_css_isys_rx_configure(const rx_cfg_t *config,
const enum ia_css_input_mode input_mode)
{ … }
void ia_css_isys_rx_disable(void)
{ … }