Changeset 708d8fcd in mainline for uspace/drv/bus/usb/xhci/endpoint.h
- Timestamp:
- 2018-01-10T00:46:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f92f6b1
- Parents:
- 4793023
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-09 19:26:55)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-10 00:46:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.h
r4793023 r708d8fcd 45 45 #include <ddf/driver.h> 46 46 47 #include "isoch.h" 48 #include "transfers.h" 47 49 #include "trb_ring.h" 48 49 #include "transfers.h"50 50 51 51 typedef struct xhci_device xhci_device_t; … … 94 94 95 95 /** This field is a valid pointer for (and only for) isochronous transfers. */ 96 struct { 97 /** The maximum size of an isochronous transfer and therefore the size of buffers */ 98 size_t max_size; 99 100 /** Isochronous scheduled transfers with respective buffers */ 101 #define XHCI_ISOCH_BUFFER_COUNT 4 102 xhci_isoch_transfer_t transfers[XHCI_ISOCH_BUFFER_COUNT]; 103 104 /** Indices to transfers */ 105 size_t dequeue, enqueue; 106 107 /** Are isochronous transfers started? */ 108 bool started; 109 110 /** Protects common buffers. */ 111 fibril_mutex_t guard; 112 113 /** Signals filled buffer. */ 114 fibril_condvar_t avail; 115 } isoch [0]; 96 xhci_isoch_t isoch [0]; 116 97 } xhci_endpoint_t; 117 98
Note:
See TracChangeset
for help on using the changeset viewer.