linux/drivers/media/usb/dvb-usb/gp8psk.c

// SPDX-License-Identifier: GPL-2.0-only
/* DVB USB compliant Linux driver for the
 *  - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module
 *
 * Copyright (C) 2006,2007 Alan Nisota ([email protected])
 * Copyright (C) 2006,2007 Genpix Electronics ([email protected])
 *
 * Thanks to GENPIX for the sample code used to implement this module.
 *
 * This module is based off the vp7045 and vp702x modules
 *
 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
 */
#include "gp8psk.h"
#include "gp8psk-fe.h"

/* debug */
static char bcm4500_firmware[] =;
int dvb_usb_gp8psk_debug;
module_param_named(debug,dvb_usb_gp8psk_debug, int, 0644);
MODULE_PARM_DESC();

DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

struct gp8psk_state {};

static int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value,
			    u16 index, u8 *b, int blen)
{}

static int gp8psk_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value,
			     u16 index, u8 *b, int blen)
{}


static int gp8psk_get_fw_version(struct dvb_usb_device *d, u8 *fw_vers)
{}

static int gp8psk_get_fpga_version(struct dvb_usb_device *d, u8 *fpga_vers)
{}

static void gp8psk_info(struct dvb_usb_device *d)
{}

static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d)
{}

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

static int gp8psk_bcm4500_reload(struct dvb_usb_device *d)
{}

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

/* Callbacks for gp8psk-fe.c */

static int gp8psk_fe_in(void *priv, u8 req, u16 value,
			    u16 index, u8 *b, int blen)
{}

static int gp8psk_fe_out(void *priv, u8 req, u16 value,
			    u16 index, u8 *b, int blen)
{}

static int gp8psk_fe_reload(void *priv)
{}

static const struct gp8psk_fe_ops gp8psk_fe_ops =;

static int gp8psk_frontend_attach(struct dvb_usb_adapter *adap)
{}

static struct dvb_usb_device_properties gp8psk_properties;

static int gp8psk_usb_probe(struct usb_interface *intf,
		const struct usb_device_id *id)
{}

enum {};

static struct usb_device_id gp8psk_usb_table[] =;

MODULE_DEVICE_TABLE(usb, gp8psk_usb_table);

static struct dvb_usb_device_properties gp8psk_properties =;

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver gp8psk_usb_driver =;

module_usb_driver();

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