Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
wa-xfer.c File Reference
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/hash.h>
#include <linux/ratelimit.h>
#include <linux/export.h>
#include "wa-hc.h"
#include "wusbhc.h"

Go to the source code of this file.

Data Structures

struct  wa_seg
 
struct  wa_xfer
 
struct  wa_xfer_abort_buffer
 

Enumerations

enum  { WA_SEGS_MAX = 255 }
 
enum  wa_seg_status {
  WA_SEG_NOTREADY, WA_SEG_READY, WA_SEG_DELAYED, WA_SEG_SUBMITTED,
  WA_SEG_PENDING, WA_SEG_DTI_PENDING, WA_SEG_DONE, WA_SEG_ERROR,
  WA_SEG_ABORTED
}
 

Functions

void wa_urb_enqueue_run (struct work_struct *ws)
 
 EXPORT_SYMBOL_GPL (wa_urb_enqueue_run)
 
int wa_urb_enqueue (struct wahc *wa, struct usb_host_endpoint *ep, struct urb *urb, gfp_t gfp)
 
 EXPORT_SYMBOL_GPL (wa_urb_enqueue)
 
int wa_urb_dequeue (struct wahc *wa, struct urb *urb)
 
 EXPORT_SYMBOL_GPL (wa_urb_dequeue)
 
void wa_handle_notif_xfer (struct wahc *wa, struct wa_notif_hdr *notif_hdr)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
WA_SEGS_MAX 

Definition at line 92 of file wa-xfer.c.

Enumerator:
WA_SEG_NOTREADY 
WA_SEG_READY 
WA_SEG_DELAYED 
WA_SEG_SUBMITTED 
WA_SEG_PENDING 
WA_SEG_DTI_PENDING 
WA_SEG_DONE 
WA_SEG_ERROR 
WA_SEG_ABORTED 

Definition at line 96 of file wa-xfer.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wa_urb_enqueue_run  )
EXPORT_SYMBOL_GPL ( wa_urb_enqueue  )
EXPORT_SYMBOL_GPL ( wa_urb_dequeue  )
void wa_handle_notif_xfer ( struct wahc wa,
struct wa_notif_hdr notif_hdr 
)

Definition at line 1560 of file wa-xfer.c.

int wa_urb_dequeue ( struct wahc wa,
struct urb urb 
)

Definition at line 1093 of file wa-xfer.c.

int wa_urb_enqueue ( struct wahc wa,
struct usb_host_endpoint *  ep,
struct urb urb,
gfp_t  gfp 
)

Definition at line 1020 of file wa-xfer.c.

void wa_urb_enqueue_run ( struct work_struct ws)

Definition at line 986 of file wa-xfer.c.