Linux Kernel
3.7.1
|
#include <whcd.h>
Data Fields | |
struct urb * | urb |
size_t | len |
int | ntds_remaining |
struct whc_qtd * | qtd |
struct list_head | list_node |
int | num_pointers |
dma_addr_t | dma_addr |
struct whc_page_list_entry * | pl_virt |
void * | bounce_buf |
struct scatterlist * | bounce_sg |
unsigned | bounce_offset |
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.
struct scatterlist* bounce_sg |
dma_addr_t dma_addr |
struct whc_page_list_entry* pl_virt |