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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Driver for Dummy Frontend
 *
 *  Written by Emard <[email protected]>
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/slab.h>

#include <media/dvb_frontend.h>
#include "dvb_dummy_fe.h"


struct dvb_dummy_fe_state {};


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

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

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

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

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

/*
 * Should only be implemented if it actually reads something from the hardware.
 * Also, it should check for the locks, in order to avoid report wrong data
 * to userspace.
 */
static int dvb_dummy_fe_get_frontend(struct dvb_frontend *fe,
				     struct dtv_frontend_properties *p)
{}

static int dvb_dummy_fe_set_frontend(struct dvb_frontend *fe)
{}

static int dvb_dummy_fe_sleep(struct dvb_frontend *fe)
{}

static int dvb_dummy_fe_init(struct dvb_frontend *fe)
{}

static int dvb_dummy_fe_set_tone(struct dvb_frontend *fe,
				 enum fe_sec_tone_mode tone)
{}

static int dvb_dummy_fe_set_voltage(struct dvb_frontend *fe,
				    enum fe_sec_voltage voltage)
{}

static void dvb_dummy_fe_release(struct dvb_frontend *fe)
{}

static const struct dvb_frontend_ops dvb_dummy_fe_ofdm_ops;

struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void)
{}
EXPORT_SYMBOL();

static const struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops;

struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void)
{}
EXPORT_SYMBOL();

static const struct dvb_frontend_ops dvb_dummy_fe_qam_ops;

struct dvb_frontend *dvb_dummy_fe_qam_attach(void)
{}
EXPORT_SYMBOL();

static const struct dvb_frontend_ops dvb_dummy_fe_ofdm_ops =;

static const struct dvb_frontend_ops dvb_dummy_fe_qam_ops =;

static const struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops =;

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