linux/drivers/media/usb/dvb-usb-v2/rtl28xxu.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Realtek RTL28xxU DVB USB driver
 *
 * Copyright (C) 2009 Antti Palosaari <[email protected]>
 * Copyright (C) 2011 Antti Palosaari <[email protected]>
 * Copyright (C) 2012 Thomas Mair <[email protected]>
 */

#include "rtl28xxu.h"

static int rtl28xxu_disable_rc;
module_param_named(disable_rc, rtl28xxu_disable_rc, int, 0644);
MODULE_PARM_DESC();
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req)
{}

static int rtl28xxu_wr_regs(struct dvb_usb_device *d, u16 reg, u8 *val, int len)
{}

static int rtl28xxu_rd_regs(struct dvb_usb_device *d, u16 reg, u8 *val, int len)
{}

static int rtl28xxu_wr_reg(struct dvb_usb_device *d, u16 reg, u8 val)
{}

static int rtl28xxu_rd_reg(struct dvb_usb_device *d, u16 reg, u8 *val)
{}

static int rtl28xxu_wr_reg_mask(struct dvb_usb_device *d, u16 reg, u8 val,
		u8 mask)
{}

/* I2C */
static int rtl28xxu_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
	int num)
{}

static u32 rtl28xxu_i2c_func(struct i2c_adapter *adapter)
{}

static struct i2c_algorithm rtl28xxu_i2c_algo =;

static int rtl2831u_read_config(struct dvb_usb_device *d)
{}

static int rtl2832u_read_config(struct dvb_usb_device *d)
{}

static int rtl28xxu_read_config(struct dvb_usb_device *d)
{}

static int rtl28xxu_identify_state(struct dvb_usb_device *d, const char **name)
{}

static const struct rtl2830_platform_data rtl2830_mt2060_platform_data =;

static const struct rtl2830_platform_data rtl2830_qt1010_platform_data =;

static const struct rtl2830_platform_data rtl2830_mxl5005s_platform_data =;

static int rtl2831u_frontend_attach(struct dvb_usb_adapter *adap)
{}

static const struct rtl2832_platform_data rtl2832_fc2580_platform_data =;

static const struct rtl2832_platform_data rtl2832_fc0012_platform_data =;

static const struct rtl2832_platform_data rtl2832_fc0013_platform_data =;

static const struct rtl2832_platform_data rtl2832_tua9001_platform_data =;

static const struct rtl2832_platform_data rtl2832_e4000_platform_data =;

static const struct rtl2832_platform_data rtl2832_r820t_platform_data =;

static const struct rtl2832_platform_data rtl2832_si2157_platform_data =;

static int rtl2832u_fc0012_tuner_callback(struct dvb_usb_device *d,
		int cmd, int arg)
{}

static int rtl2832u_tua9001_tuner_callback(struct dvb_usb_device *d,
		int cmd, int arg)
{}

static int rtl2832u_frontend_callback(void *adapter_priv, int component,
		int cmd, int arg)
{}

static int rtl2832u_frontend_attach(struct dvb_usb_adapter *adap)
{}

static int rtl28xxu_frontend_attach(struct dvb_usb_adapter *adap)
{}

static int rtl28xxu_frontend_detach(struct dvb_usb_adapter *adap)
{}

static struct qt1010_config rtl28xxu_qt1010_config =;

static struct mt2060_config rtl28xxu_mt2060_config =;

static struct mxl5005s_config rtl28xxu_mxl5005s_config =;

static int rtl2831u_tuner_attach(struct dvb_usb_adapter *adap)
{}

static const struct fc0012_config rtl2832u_fc0012_config =;

static const struct r820t_config rtl2832u_r820t_config =;

static const struct r820t_config rtl2832u_r828d_config =;

static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
{}

static int rtl28xxu_tuner_attach(struct dvb_usb_adapter *adap)
{}

static int rtl28xxu_tuner_detach(struct dvb_usb_adapter *adap)
{}

static int rtl28xxu_init(struct dvb_usb_device *d)
{}

static int rtl2831u_power_ctrl(struct dvb_usb_device *d, int onoff)
{}

static int rtl2832u_power_ctrl(struct dvb_usb_device *d, int onoff)
{}

static int rtl28xxu_power_ctrl(struct dvb_usb_device *d, int onoff)
{}

static int rtl28xxu_frontend_ctrl(struct dvb_frontend *fe, int onoff)
{}

#if IS_ENABLED(CONFIG_RC_CORE)
static int rtl2831u_rc_query(struct dvb_usb_device *d)
{}

static int rtl2831u_get_rc_config(struct dvb_usb_device *d,
		struct dvb_usb_rc *rc)
{}

static int rtl2832u_rc_query(struct dvb_usb_device *d)
{}

static int rtl2832u_get_rc_config(struct dvb_usb_device *d,
		struct dvb_usb_rc *rc)
{}

static int rtl28xxu_get_rc_config(struct dvb_usb_device *d,
		struct dvb_usb_rc *rc)
{}
#else
#define rtl28xxu_get_rc_config
#endif

static int rtl28xxu_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
{}

static int rtl28xxu_pid_filter(struct dvb_usb_adapter *adap, int index,
			       u16 pid, int onoff)
{}

static const struct dvb_usb_device_properties rtl28xxu_props =;

static const struct usb_device_id rtl28xxu_id_table[] =;
MODULE_DEVICE_TABLE(usb, rtl28xxu_id_table);

static struct usb_driver rtl28xxu_usb_driver =;

module_usb_driver();

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