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

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Abilis Systems Single DVB-T Receiver
 * Copyright (C) 2008 Pierrick Hascoet <[email protected]>
 */
#ifndef _AS10X_TYPES_H_
#define _AS10X_TYPES_H_

/*********************************/
/*       MACRO DEFINITIONS       */
/*********************************/

/* bandwidth constant values */
#define BW_5_MHZ
#define BW_6_MHZ
#define BW_7_MHZ
#define BW_8_MHZ

/* hierarchy priority selection values */
#define HIER_NO_PRIORITY
#define HIER_LOW_PRIORITY
#define HIER_HIGH_PRIORITY

/* constellation available values */
#define CONST_QPSK
#define CONST_QAM16
#define CONST_QAM64
#define CONST_UNKNOWN

/* hierarchy available values */
#define HIER_NONE
#define HIER_ALPHA_1
#define HIER_ALPHA_2
#define HIER_ALPHA_4
#define HIER_UNKNOWN

/* interleaving available values */
#define INTLV_NATIVE
#define INTLV_IN_DEPTH
#define INTLV_UNKNOWN

/* code rate available values */
#define CODE_RATE_1_2
#define CODE_RATE_2_3
#define CODE_RATE_3_4
#define CODE_RATE_5_6
#define CODE_RATE_7_8
#define CODE_RATE_UNKNOWN

/* guard interval available values */
#define GUARD_INT_1_32
#define GUARD_INT_1_16
#define GUARD_INT_1_8
#define GUARD_INT_1_4
#define GUARD_UNKNOWN

/* transmission mode available values */
#define TRANS_MODE_2K
#define TRANS_MODE_8K
#define TRANS_MODE_4K
#define TRANS_MODE_UNKNOWN

/* DVBH signalling available values */
#define TIMESLICING_PRESENT
#define MPE_FEC_PRESENT

/* tune state available */
#define TUNE_STATUS_NOT_TUNED
#define TUNE_STATUS_IDLE
#define TUNE_STATUS_LOCKING
#define TUNE_STATUS_SIGNAL_DVB_OK
#define TUNE_STATUS_STREAM_DETECTED
#define TUNE_STATUS_STREAM_TUNED
#define TUNE_STATUS_ERROR

/* available TS FID filter types */
#define TS_PID_TYPE_TS
#define TS_PID_TYPE_PSI_SI
#define TS_PID_TYPE_MPE

/* number of echos available */
#define MAX_ECHOS

/* Context types */
#define CONTEXT_LNA
#define CONTEXT_ELNA_HYSTERESIS
#define CONTEXT_ELNA_GAIN
#define CONTEXT_MER_THRESHOLD
#define CONTEXT_MER_OFFSET
#define CONTEXT_IR_STATE
#define CONTEXT_TSOUT_MSB_FIRST
#define CONTEXT_TSOUT_FALLING_EDGE

/* Configuration modes */
#define CFG_MODE_ON
#define CFG_MODE_OFF
#define CFG_MODE_AUTO

struct as10x_tps {} __packed;

struct as10x_tune_args {} __packed;

struct as10x_tune_status {} __packed;

struct as10x_demod_stats {} __packed;

struct as10x_ts_filter {} __packed;

struct as10x_register_value {} __packed;

struct as10x_register_addr {} __packed;

#endif