linux/sound/usb/line6/variax.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Line 6 Linux USB driver
 *
 * Copyright (C) 2004-2010 Markus Grabner ([email protected])
 */

#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/usb.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <sound/core.h>

#include "driver.h"

#define VARIAX_STARTUP_DELAY1
#define VARIAX_STARTUP_DELAY3
#define VARIAX_STARTUP_DELAY4

/*
	Stages of Variax startup procedure
*/
enum {};

enum {};

struct usb_line6_variax {};

#define line6_to_variax(x)

#define VARIAX_OFFSET_ACTIVATE

/*
	This message is sent by the device during initialization and identifies
	the connected guitar version.
*/
static const char variax_init_version[] =;

/*
	This message is the last one sent by the device during initialization.
*/
static const char variax_init_done[] =;

static const char variax_activate[] =;

static void variax_activate_async(struct usb_line6_variax *variax, int a)
{}

/*
	Variax startup procedure.
	This is a sequence of functions with special requirements (e.g., must
	not run immediately after initialization, must not run in interrupt
	context). After the last one has finished, the device is ready to use.
*/

static void variax_startup(struct usb_line6 *line6)
{}

/*
	Process a completely received message.
*/
static void line6_variax_process_message(struct usb_line6 *line6)
{}

/*
	Variax destructor.
*/
static void line6_variax_disconnect(struct usb_line6 *line6)
{}

/*
	 Try to init workbench device.
*/
static int variax_init(struct usb_line6 *line6,
		       const struct usb_device_id *id)
{}

#define LINE6_DEVICE(prod)
#define LINE6_IF_NUM(prod, n)

/* table of devices that work with this driver */
static const struct usb_device_id variax_id_table[] =;

MODULE_DEVICE_TABLE(usb, variax_id_table);

static const struct line6_properties variax_properties_table[] =;

/*
	Probe USB device.
*/
static int variax_probe(struct usb_interface *interface,
			const struct usb_device_id *id)
{}

static struct usb_driver variax_driver =;

module_usb_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();