linux/drivers/media/usb/dvb-usb/cinergyT2-fe.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * TerraTec Cinergy T2/qanu USB2 DVB-T adapter.
 *
 * Copyright (C) 2007 Tomi Orava ([email protected])
 *
 * Based on the dvb-usb-framework code and the
 * original Terratec Cinergy T2 driver by:
 *
 * Copyright (C) 2004 Daniel Mack <[email protected]> and
 *                  Holger Waechtler <[email protected]>
 *
 *  Protocol Spec published on http://qanu.de/specs/terratec_cinergyT2.pdf
 */

#include "cinergyT2.h"


/*
 *  convert linux-dvb frontend parameter set into TPS.
 *  See ETSI ETS-300744, section 4.6.2, table 9 for details.
 *
 *  This function is probably reusable and may better get placed in a support
 *  library.
 *
 *  We replace erroneous fields by default TPS fields (the ones with value 0).
 */

static uint16_t compute_tps(struct dtv_frontend_properties *op)
{}

struct cinergyt2_fe_state {};

static int cinergyt2_fe_read_status(struct dvb_frontend *fe,
				    enum fe_status *status)
{}

static int cinergyt2_fe_read_ber(struct dvb_frontend *fe, u32 *ber)
{}

static int cinergyt2_fe_read_unc_blocks(struct dvb_frontend *fe, u32 *unc)
{}

static int cinergyt2_fe_read_signal_strength(struct dvb_frontend *fe,
						u16 *strength)
{}

static int cinergyt2_fe_read_snr(struct dvb_frontend *fe, u16 *snr)
{}

static int cinergyt2_fe_init(struct dvb_frontend *fe)
{}

static int cinergyt2_fe_sleep(struct dvb_frontend *fe)
{}

static int cinergyt2_fe_get_tune_settings(struct dvb_frontend *fe,
				struct dvb_frontend_tune_settings *tune)
{}

static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe)
{}

static void cinergyt2_fe_release(struct dvb_frontend *fe)
{}

static const struct dvb_frontend_ops cinergyt2_fe_ops;

struct dvb_frontend *cinergyt2_fe_attach(struct dvb_usb_device *d)
{}


static const struct dvb_frontend_ops cinergyt2_fe_ops =;