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

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef DIBX000_COMMON_H
#define DIBX000_COMMON_H

enum dibx000_i2c_interface {};

struct dibx000_i2c_master {};

extern int dibx000_init_i2c_master(struct dibx000_i2c_master *mst,
					u16 device_rev, struct i2c_adapter *i2c_adap,
					u8 i2c_addr);
extern struct i2c_adapter *dibx000_get_i2c_adapter(struct dibx000_i2c_master
							*mst,
							enum dibx000_i2c_interface
							intf, int gating);
extern void dibx000_exit_i2c_master(struct dibx000_i2c_master *mst);
extern void dibx000_reset_i2c_master(struct dibx000_i2c_master *mst);
extern int dibx000_i2c_set_speed(struct i2c_adapter *i2c_adap, u16 speed);

#define BAND_LBAND
#define BAND_UHF
#define BAND_VHF
#define BAND_SBAND
#define BAND_FM
#define BAND_CBAND

#define BAND_OF_FREQUENCY(freq_kHz)

struct dibx000_agc_config {};

struct dibx000_bandwidth_config {};

enum dibx000_adc_states {};

#define BANDWIDTH_TO_KHZ(v)
#define BANDWIDTH_TO_HZ(v)

/* Chip output mode. */
#define OUTMODE_HIGH_Z
#define OUTMODE_MPEG2_PAR_GATED_CLK
#define OUTMODE_MPEG2_PAR_CONT_CLK
#define OUTMODE_MPEG2_SERIAL
#define OUTMODE_DIVERSITY
#define OUTMODE_MPEG2_FIFO
#define OUTMODE_ANALOG_ADC

#define INPUT_MODE_OFF
#define INPUT_MODE_DIVERSITY
#define INPUT_MODE_MPEG

enum frontend_tune_state {};

struct dvb_frontend_parametersContext {};

#define FE_STATUS_TUNE_FAILED
#define FE_STATUS_TUNE_TIMED_OUT
#define FE_STATUS_TUNE_TIME_TOO_SHORT
#define FE_STATUS_TUNE_PENDING
#define FE_STATUS_STD_SUCCESS
#define FE_STATUS_FFT_SUCCESS
#define FE_STATUS_DEMOD_SUCCESS
#define FE_STATUS_LOCKED
#define FE_STATUS_DATA_LOCKED

#define FE_CALLBACK_TIME_NEVER

#define DATA_BUS_ACCESS_MODE_8BIT
#define DATA_BUS_ACCESS_MODE_16BIT
#define DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT

struct dibGPIOFunction {};

#define MAX_NB_SUBBANDS
struct dibSubbandSelection {};

#define DEMOD_TIMF_SET
#define DEMOD_TIMF_GET
#define DEMOD_TIMF_UPDATE

#define MPEG_ON_DIBTX
#define DIV_ON_DIBTX
#define ADC_ON_DIBTX
#define DEMOUT_ON_HOSTBUS
#define DIBTX_ON_HOSTBUS
#define MPEG_ON_HOSTBUS

#endif