linux/drivers/media/tuners/tda18271-fe.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
    tda18271-fe.c - driver for the Philips / NXP TDA18271 silicon tuner

    Copyright (C) 2007, 2008 Michael Krufky <[email protected]>

*/

#include "tda18271-priv.h"
#include "tda8290.h"

#include <linux/delay.h>
#include <linux/videodev2.h>

int tda18271_debug;
module_param_named(debug, tda18271_debug, int, 0644);
MODULE_PARM_DESC();

static int tda18271_cal_on_startup =;
module_param_named(cal, tda18271_cal_on_startup, int, 0644);
MODULE_PARM_DESC();

static DEFINE_MUTEX(tda18271_list_mutex);
static LIST_HEAD(hybrid_tuner_instance_list);

/*---------------------------------------------------------------------*/

static int tda18271_toggle_output(struct dvb_frontend *fe, int standby)
{}

/*---------------------------------------------------------------------*/

static inline int charge_pump_source(struct dvb_frontend *fe, int force)
{}

static inline void tda18271_set_if_notch(struct dvb_frontend *fe)
{}

static int tda18271_channel_configuration(struct dvb_frontend *fe,
					  struct tda18271_std_map_item *map,
					  u32 freq, u32 bw)
{}

static int tda18271_read_thermometer(struct dvb_frontend *fe)
{}

/* ------------------------------------------------------------------ */

static int tda18271c2_rf_tracking_filters_correction(struct dvb_frontend *fe,
						     u32 freq)
{}

static int tda18271_por(struct dvb_frontend *fe)
{}

static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq)
{}

static int tda18271_powerscan(struct dvb_frontend *fe,
			      u32 *freq_in, u32 *freq_out)
{}

static int tda18271_powerscan_init(struct dvb_frontend *fe)
{}

static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq)
{}

static int tda18271_calc_rf_filter_curve(struct dvb_frontend *fe)
{}

/* ------------------------------------------------------------------ */

static int tda18271c2_rf_cal_init(struct dvb_frontend *fe)
{}

static int tda18271c1_rf_tracking_filter_calibration(struct dvb_frontend *fe,
						     u32 freq, u32 bw)
{}

/* ------------------------------------------------------------------ */

static int tda18271_ir_cal_init(struct dvb_frontend *fe)
{}

static int tda18271_init(struct dvb_frontend *fe)
{}

static int tda18271_sleep(struct dvb_frontend *fe)
{}

/* ------------------------------------------------------------------ */

static int tda18271_agc(struct dvb_frontend *fe)
{}

static int tda18271_tune(struct dvb_frontend *fe,
			 struct tda18271_std_map_item *map, u32 freq, u32 bw)
{}

/* ------------------------------------------------------------------ */

static int tda18271_set_params(struct dvb_frontend *fe)
{}

static int tda18271_set_analog_params(struct dvb_frontend *fe,
				      struct analog_parameters *params)
{}

static void tda18271_release(struct dvb_frontend *fe)
{}

static int tda18271_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{}

static int tda18271_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
{}

static int tda18271_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
{}

/* ------------------------------------------------------------------ */

#define tda18271_update_std(std_cfg, name)

#define tda18271_dump_std_item(std_cfg, name)

static int tda18271_dump_std_map(struct dvb_frontend *fe)
{}

static int tda18271_update_std_map(struct dvb_frontend *fe,
				   struct tda18271_std_map *map)
{}

static int tda18271_get_id(struct dvb_frontend *fe)
{}

static int tda18271_setup_configuration(struct dvb_frontend *fe,
					struct tda18271_config *cfg)
{}

static inline int tda18271_need_cal_on_startup(struct tda18271_config *cfg)
{}

static int tda18271_set_config(struct dvb_frontend *fe, void *priv_cfg)
{}

static const struct dvb_tuner_ops tda18271_tuner_ops =;

struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr,
				     struct i2c_adapter *i2c,
				     struct tda18271_config *cfg)
{}
EXPORT_SYMBOL_GPL();
MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_VERSION();