linux/drivers/media/pci/ddbridge/ddbridge-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 "ddbridge-dummy-fe.h"

struct ddbridge_dummy_fe_state {};

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

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

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

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

static int ddbridge_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 ddbridge_dummy_fe_get_frontend(struct dvb_frontend *fe,
				     struct dtv_frontend_properties *p)
{}

static int ddbridge_dummy_fe_set_frontend(struct dvb_frontend *fe)
{}

static int ddbridge_dummy_fe_sleep(struct dvb_frontend *fe)
{}

static int ddbridge_dummy_fe_init(struct dvb_frontend *fe)
{}

static void ddbridge_dummy_fe_release(struct dvb_frontend *fe)
{}

static const struct dvb_frontend_ops ddbridge_dummy_fe_qam_ops;

struct dvb_frontend *ddbridge_dummy_fe_qam_attach(void)
{}
EXPORT_SYMBOL_GPL();

static const struct dvb_frontend_ops ddbridge_dummy_fe_qam_ops =;

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