Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
helper.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include "usbaudio.h"
#include "helper.h"
#include "quirks.h"

Go to the source code of this file.

Functions

unsigned int snd_usb_combine_bytes (unsigned char *bytes, int size)
 
voidsnd_usb_find_desc (void *descstart, int desclen, void *after, u8 dtype)
 
voidsnd_usb_find_csint_desc (void *buffer, int buflen, void *after, u8 dsubtype)
 
int snd_usb_ctl_msg (struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size)
 
unsigned char snd_usb_parse_datainterval (struct snd_usb_audio *chip, struct usb_host_interface *alts)
 

Function Documentation

unsigned int snd_usb_combine_bytes ( unsigned char bytes,
int  size 
)

Definition at line 29 of file helper.c.

int snd_usb_ctl_msg ( struct usb_device *  dev,
unsigned int  pipe,
__u8  request,
__u8  requesttype,
__u16  value,
__u16  index,
void data,
__u16  size 
)

Definition at line 83 of file helper.c.

void* snd_usb_find_csint_desc ( void buffer,
int  buflen,
void after,
u8  dsubtype 
)

Definition at line 67 of file helper.c.

void* snd_usb_find_desc ( void descstart,
int  desclen,
void after,
u8  dtype 
)

Definition at line 44 of file helper.c.

unsigned char snd_usb_parse_datainterval ( struct snd_usb_audio chip,
struct usb_host_interface *  alts 
)

Definition at line 108 of file helper.c.