Changeset 1af4c00 in mainline for uspace/drv/bus/usb/xhci/endpoint.c
- Timestamp:
- 2018-01-17T13:28:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4cc0c2e0
- Parents:
- 61e27e80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
r61e27e80 r1af4c00 47 47 48 48 static int alloc_transfer_ds(xhci_endpoint_t *); 49 static void free_transfer_ds(xhci_endpoint_t *);50 49 51 50 /** … … 121 120 assert(xhci_ep); 122 121 123 free_transfer_ds(xhci_ep);122 xhci_endpoint_free_transfer_ds(xhci_ep); 124 123 125 124 // TODO: Something missed? … … 156 155 } 157 156 158 /** Allocate transfer data structures for XHCI endpoint .157 /** Allocate transfer data structures for XHCI endpoint not using streams. 159 158 * @param[in] xhci_ep XHCI endpoint to allocate data structures for. 160 159 * … … 166 165 usb_log_debug2("Allocating main transfer ring for endpoint " XHCI_EP_FMT, XHCI_EP_ARGS(*xhci_ep)); 167 166 168 xhci_ep->primary_stream_ctx_array = NULL; 167 xhci_ep->primary_stream_data_array = NULL; 168 xhci_ep->primary_stream_data_size = 0; 169 169 170 170 int err; … … 186 186 * @param[in] xhci_ep XHCI endpoint to free data structures for. 187 187 */ 188 static voidfree_transfer_ds(xhci_endpoint_t *xhci_ep)188 void xhci_endpoint_free_transfer_ds(xhci_endpoint_t *xhci_ep) 189 189 { 190 190 if (xhci_ep->primary_stream_data_size) {
Note:
See TracChangeset
for help on using the changeset viewer.