Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
wa_rpipe Struct Reference

#include <wa-hc.h>

Data Fields

struct kref refcnt
 
struct usb_rpipe_descriptor descr
 
struct usb_host_endpoint * ep
 
struct wahcwa
 
spinlock_t seg_lock
 
struct list_head seg_list
 
atomic_t segs_available
 
u8 buffer [1]
 

Detailed Description

RPipe instance

's fields are kept in LE, as we need to send it back and forth.

is referenced when set

is the number of requests segments that still can be submitted to the controller without overloading it. It is initialized to descr->wRequests when aiming.

A rpipe supports a max of descr->wRequests at the same time; before submitting seg_lock has to be taken. If segs_avail > 0, then we can submit; if not, we have to queue them.

Definition at line 112 of file wa-hc.h.

Field Documentation

u8 buffer[1]

Definition at line 120 of file wa-hc.h.

Definition at line 114 of file wa-hc.h.

struct usb_host_endpoint* ep

Definition at line 115 of file wa-hc.h.

struct kref refcnt

Definition at line 113 of file wa-hc.h.

struct list_head seg_list

Definition at line 118 of file wa-hc.h.

spinlock_t seg_lock

Definition at line 117 of file wa-hc.h.

atomic_t segs_available

Definition at line 119 of file wa-hc.h.

struct wahc* wa

Definition at line 116 of file wa-hc.h.


The documentation for this struct was generated from the following file: