linux/drivers/media/dvb-frontends/drxk_hard.h

/* SPDX-License-Identifier: GPL-2.0 */
#include "drxk_map.h"

#define DRXK_VERSION_MAJOR
#define DRXK_VERSION_MINOR
#define DRXK_VERSION_PATCH

#define HI_I2C_DELAY
#define HI_I2C_BRIDGE_DELAY
#define DRXK_MAX_RETRIES

#define DRIVER_4400

#define DRXX_JTAGID
#define DRXX_J_JTAGID
#define DRXX_K_JTAGID

#define DRX_UNKNOWN
#define DRX_AUTO

#define DRX_SCU_READY
#define DRXK_MAX_WAITTIME
#define SCU_RESULT_OK
#define SCU_RESULT_SIZE
#define SCU_RESULT_INVPAR
#define SCU_RESULT_UNKSTD
#define SCU_RESULT_UNKCMD

#ifndef DRXK_OFDM_TR_SHUTDOWN_TIMEOUT
#define DRXK_OFDM_TR_SHUTDOWN_TIMEOUT
#endif

#define DRXK_8VSB_MPEG_BIT_RATE
#define DRXK_DVBT_MPEG_BIT_RATE
#define DRXK_QAM16_MPEG_BIT_RATE
#define DRXK_QAM32_MPEG_BIT_RATE
#define DRXK_QAM64_MPEG_BIT_RATE
#define DRXK_QAM128_MPEG_BIT_RATE
#define DRXK_QAM256_MPEG_BIT_RATE
#define DRXK_MAX_MPEG_BIT_RATE

#define IQM_CF_OUT_ENA_OFDM__M
#define IQM_FS_ADJ_SEL_B_QAM
#define IQM_FS_ADJ_SEL_B_OFF
#define IQM_FS_ADJ_SEL_B_VSB
#define IQM_RC_ADJ_SEL_B_OFF
#define IQM_RC_ADJ_SEL_B_QAM
#define IQM_RC_ADJ_SEL_B_VSB

enum operation_mode {};

enum drx_power_mode {};


/* Intermediate power mode for DRXK, power down OFDM clock domain */
#ifndef DRXK_POWER_DOWN_OFDM
#define DRXK_POWER_DOWN_OFDM
#endif

/* Intermediate power mode for DRXK, power down core (sysclk) */
#ifndef DRXK_POWER_DOWN_CORE
#define DRXK_POWER_DOWN_CORE
#endif

/* Intermediate power mode for DRXK, power down pll (only osc runs) */
#ifndef DRXK_POWER_DOWN_PLL
#define DRXK_POWER_DOWN_PLL
#endif


enum agc_ctrl_mode {};

enum e_drxk_state {};

enum e_drxk_coef_array_index {};
enum e_drxk_sif_attenuation {};
enum e_drxk_constellation {};
enum e_drxk_interleave_mode {};
enum {};

enum drxk_cfg_dvbt_sqi_speed {} ;

enum drx_fftmode_t {};

enum drxmpeg_str_width_t {};

enum drx_qam_lock_range_t {};

struct drxk_cfg_dvbt_echo_thres_t {} ;

struct s_cfg_agc {};

struct s_cfg_pre_saw {};

struct drxk_ofdm_sc_cmd_t {};

struct drxk_state {};

#define NEVER_LOCK
#define NOT_LOCKED
#define DEMOD_LOCK
#define FEC_LOCK
#define MPEG_LOCK