linux/drivers/media/dvb-frontends/as102_fe.c

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

#include <media/dvb_frontend.h>

#include "as102_fe.h"

struct as102_state {};

static uint8_t as102_fe_get_code_rate(enum fe_code_rate arg)
{}

static int as102_fe_set_frontend(struct dvb_frontend *fe)
{}

static int as102_fe_get_frontend(struct dvb_frontend *fe,
				 struct dtv_frontend_properties *c)
{}

static int as102_fe_get_tune_settings(struct dvb_frontend *fe,
			struct dvb_frontend_tune_settings *settings)
{}

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

/*
 * Note:
 * - in AS102 SNR=MER
 *   - the SNR will be returned in linear terms, i.e. not in dB
 *   - the accuracy equals ±2dB for a SNR range from 4dB to 30dB
 *   - the accuracy is >2dB for SNR values outside this range
 */
static int as102_fe_read_snr(struct dvb_frontend *fe, u16 *snr)
{}

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

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

static int as102_fe_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks)
{}

static int as102_fe_ts_bus_ctrl(struct dvb_frontend *fe, int acquire)
{}

static void as102_fe_release(struct dvb_frontend *fe)
{}


static const struct dvb_frontend_ops as102_fe_ops =;

struct dvb_frontend *as102_attach(const char *name,
				  const struct as102_fe_ops *ops,
				  void *priv,
				  uint8_t elna_cfg)
{}
EXPORT_SYMBOL_GPL();

MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_AUTHOR();