Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
pod.h File Reference
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/usb.h>
#include <linux/wait.h>
#include <sound/core.h>
#include "driver.h"
#include "dumprequest.h"

Go to the source code of this file.

Data Structures

struct  ValueWait
 
struct  pod_program
 
struct  usb_line6_pod
 

Macros

#define PODXTLIVE_INTERFACE_POD   0
 
#define PODXTLIVE_INTERFACE_VARIAX   1
 
#define POD_NAME_OFFSET   0
 
#define POD_NAME_LENGTH   16
 
#define POD_CONTROL_SIZE   0x80
 
#define POD_BUFSIZE_DUMPREQ   7
 
#define POD_STARTUP_DELAY   1000
 

Enumerations

enum  {
  POD_STARTUP_INIT = 1, POD_STARTUP_DUMPREQ, POD_STARTUP_VERSIONREQ, POD_STARTUP_WORKQUEUE,
  POD_STARTUP_SETUP, POD_STARTUP_LAST = POD_STARTUP_SETUP - 1
}
 

Functions

void line6_pod_disconnect (struct usb_interface *interface)
 
int line6_pod_init (struct usb_interface *interface, struct usb_line6_pod *pod)
 
void line6_pod_midi_postprocess (struct usb_line6_pod *pod, unsigned char *data, int length)
 
void line6_pod_process_message (struct usb_line6_pod *pod)
 
void line6_pod_transmit_parameter (struct usb_line6_pod *pod, int param, u8 value)
 

Macro Definition Documentation

#define POD_BUFSIZE_DUMPREQ   7

Definition at line 41 of file pod.h.

#define POD_CONTROL_SIZE   0x80

Definition at line 40 of file pod.h.

#define POD_NAME_LENGTH   16

Definition at line 35 of file pod.h.

#define POD_NAME_OFFSET   0

Definition at line 34 of file pod.h.

#define POD_STARTUP_DELAY   1000

Definition at line 42 of file pod.h.

#define PODXTLIVE_INTERFACE_POD   0

Definition at line 28 of file pod.h.

#define PODXTLIVE_INTERFACE_VARIAX   1

Definition at line 29 of file pod.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
POD_STARTUP_INIT 
POD_STARTUP_DUMPREQ 
POD_STARTUP_VERSIONREQ 
POD_STARTUP_WORKQUEUE 
POD_STARTUP_SETUP 
POD_STARTUP_LAST 

Definition at line 47 of file pod.h.

Function Documentation

void line6_pod_disconnect ( struct usb_interface interface)

Definition at line 1297 of file pod.c.

int line6_pod_init ( struct usb_interface interface,
struct usb_line6_pod pod 
)

Definition at line 1284 of file pod.c.

void line6_pod_midi_postprocess ( struct usb_line6_pod pod,
unsigned char data,
int  length 
)

Definition at line 382 of file pod.c.

void line6_pod_process_message ( struct usb_line6_pod pod)

Definition at line 194 of file pod.c.

void line6_pod_transmit_parameter ( struct usb_line6_pod pod,
int  param,
u8  value 
)

Definition at line 421 of file pod.c.