summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-03-14 11:01:31 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-04-14 09:24:38 +0300
commitaa3342c8bb618ae25beccddacc3efb415c3a987b (patch)
tree1f82c5837d77b7f5d6de999069e5205280605a6f /drivers/usb/dwc3/core.h
parent8495036e986bdc7e82523d47097e7833d2782ff9 (diff)
downloadtalos-obmc-linux-aa3342c8bb618ae25beccddacc3efb415c3a987b.tar.gz
talos-obmc-linux-aa3342c8bb618ae25beccddacc3efb415c3a987b.zip
usb: dwc3: better name for our request management lists
request_list and req_queued were, well, weird naming choices. Let's give those better names and call them, respectively, pending_list and started_list. These new names better reflect what these lists are supposed to do. While at that also rename req->queued to req->started. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 5e17c02d3e92..4ea4b51688c1 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -444,8 +444,8 @@ struct dwc3_event_buffer {
/**
* struct dwc3_ep - device side endpoint representation
* @endpoint: usb endpoint
- * @request_list: list of requests for this endpoint
- * @req_queued: list of requests on this ep which have TRBs setup
+ * @pending_list: list of pending requests for this endpoint
+ * @started_list: list of started requests on this endpoint
* @trb_pool: array of transaction buffers
* @trb_pool_dma: dma address of @trb_pool
* @free_slot: next slot which is going to be used
@@ -464,8 +464,8 @@ struct dwc3_event_buffer {
*/
struct dwc3_ep {
struct usb_ep endpoint;
- struct list_head request_list;
- struct list_head req_queued;
+ struct list_head pending_list;
+ struct list_head started_list;
struct dwc3_trb *trb_pool;
dma_addr_t trb_pool_dma;
@@ -635,7 +635,7 @@ struct dwc3_request {
unsigned direction:1;
unsigned mapped:1;
- unsigned queued:1;
+ unsigned started:1;
};
/*
OpenPOWER on IntegriCloud