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

Go to the source code of this file.

Macros

#define AIM_CHECK(rdf, val, text)
 
#define CONFIG_BUG   0
 

Functions

void rpipe_destroy (struct kref *_rpipe)
 
 EXPORT_SYMBOL_GPL (rpipe_destroy)
 
int rpipe_get_by_ep (struct wahc *wa, struct usb_host_endpoint *ep, struct urb *urb, gfp_t gfp)
 
int wa_rpipes_create (struct wahc *wa)
 
void wa_rpipes_destroy (struct wahc *wa)
 
void rpipe_ep_disable (struct wahc *wa, struct usb_host_endpoint *ep)
 
 EXPORT_SYMBOL_GPL (rpipe_ep_disable)
 

Macro Definition Documentation

#define AIM_CHECK (   rdf,
  val,
  text 
)
Value:
do { \
if (rpipe->descr.rdf != (val)) { \
dev_err(dev, \
"rpipe aim discrepancy: " #rdf " " text "\n", \
rpipe->descr.rdf, (val)); \
result = -EINVAL; \
WARN_ON(1); \
} \
} while (0)
#define CONFIG_BUG   0

Definition at line 421 of file wa-rpipe.c.

Function Documentation

EXPORT_SYMBOL_GPL ( rpipe_destroy  )
EXPORT_SYMBOL_GPL ( rpipe_ep_disable  )
void rpipe_destroy ( struct kref _rpipe)

Definition at line 170 of file wa-rpipe.c.

void rpipe_ep_disable ( struct wahc wa,
struct usb_host_endpoint *  ep 
)

Definition at line 512 of file wa-rpipe.c.

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

Definition at line 432 of file wa-rpipe.c.

int wa_rpipes_create ( struct wahc wa)

Definition at line 479 of file wa-rpipe.c.

void wa_rpipes_destroy ( struct wahc wa)

Definition at line 489 of file wa-rpipe.c.