Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ef68c56 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: core: document struct dwc3_request



No functional changes. Merely adding useful
documentation for future readers.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 53fd8818
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -624,6 +624,19 @@ struct dwc3_hwparams {
/* HWPARAMS7 */
#define DWC3_RAM1_DEPTH(n)	((n) & 0xffff)

/**
 * struct dwc3_request - representation of a transfer request
 * @request: struct usb_request to be transferred
 * @list: a list_head used for request queueing
 * @dep: struct dwc3_ep owning this request
 * @first_trb_index: index to first trb used by this request
 * @epnum: endpoint number to which this request refers
 * @trb: pointer to struct dwc3_trb
 * @trb_dma: DMA address of @trb
 * @direction: IN or OUT direction flag
 * @mapped: true when request has been dma-mapped
 * @queued: true when request has been queued to HW
 */
struct dwc3_request {
	struct usb_request	request;
	struct list_head	list;