Structure representing a USB transfer request.
This structure encapsulates the state and data associated with a single transfer request when operating in device mode. It includes information about the transfer descriptors, data buffers, and transfer progress.
Data Fields | |
| dwc_usb3_dma_desc_t * | trb |
| dwc_dma_t | trbdma |
| u32 | length |
| u32 | actual |
| u32 | stream |
| u32 | flags |
| int | numbuf |
| char * | buf [DWC_MAX_DATA_BUFS] |
| dwc_dma_t | bufdma [DWC_MAX_DATA_BUFS] |
| u32 | buflen [DWC_MAX_DATA_BUFS] |
| dwc_usb3_dma_desc_t* dwc_req_t::trb |
Pointer to the TRB or TRB chain for this request.
| dwc_dma_t dwc_req_t::trbdma |
DMA address of the TRB or TRB chain.
| u32 dwc_req_t::length |
Total length of the data buffers.
| u32 dwc_req_t::actual |
Actual amount of data transferred.
| u32 dwc_req_t::stream |
Stream number associated with this request.
| u32 dwc_req_t::flags |
Request flags (bits 8-31 are OS-specific).
| int dwc_req_t::numbuf |
Number of data buffers.
| char* dwc_req_t::buf[DWC_MAX_DATA_BUFS] |
Array of pointers to data buffers.
| dwc_dma_t dwc_req_t::bufdma[DWC_MAX_DATA_BUFS] |
Array of DMA addresses for data buffers.
| u32 dwc_req_t::buflen[DWC_MAX_DATA_BUFS] |
Array of lengths for data buffers.