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

#include <whcd.h>

Data Fields

struct urb * urb
 
size_t len
 
int ntds_remaining
 
struct whc_qtdqtd
 
struct list_head list_node
 
int num_pointers
 
dma_addr_t dma_addr
 
struct whc_page_list_entrypl_virt
 
voidbounce_buf
 
struct scatterlistbounce_sg
 
unsigned bounce_offset
 

Detailed Description

struct whc_std - a software TD. : the URB this sTD is for. : start of the URB's data for this TD. : the length of data in the associated TD. : number of TDs (starting from this one) in this transfer.

: a bounce buffer if the std was from an urb with a sg list that could not be mapped to qTDs directly. : the first scatterlist element bounce_buf is for. : the offset into bounce_sg for the start of bounce_buf.

Queued URBs may require more TDs than are available in a qset so we use a list of these "software TDs" (sTDs) to hold per-TD data.

Definition at line 95 of file whcd.h.

Field Documentation

void* bounce_buf

Definition at line 106 of file whcd.h.

unsigned bounce_offset

Definition at line 108 of file whcd.h.

struct scatterlist* bounce_sg

Definition at line 107 of file whcd.h.

dma_addr_t dma_addr

Definition at line 103 of file whcd.h.

size_t len

Definition at line 97 of file whcd.h.

struct list_head list_node

Definition at line 101 of file whcd.h.

int ntds_remaining

Definition at line 98 of file whcd.h.

int num_pointers

Definition at line 102 of file whcd.h.

Definition at line 104 of file whcd.h.

Definition at line 99 of file whcd.h.

struct urb* urb

Definition at line 96 of file whcd.h.


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