Changeset 17c5e62 in mainline for uspace/drv/bus/usb/xhci/endpoint.h
- Timestamp:
- 2018-01-08T22:30:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0eadfd1e
- Parents:
- bdd8842c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.h
rbdd8842c r17c5e62 93 93 uint32_t interval; 94 94 95 /** The maximum size of an isochronous transfer and therefore the size of buffers */ 96 size_t isoch_max_size; 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; 97 99 98 /** Isochronous scheduled transfers with respective buffers */99 #define XHCI_ISOCH_BUFFER_COUNT 4100 xhci_isoch_transfer_t isoch_transfers[XHCI_ISOCH_BUFFER_COUNT];100 /** Isochronous scheduled transfers with respective buffers */ 101 #define XHCI_ISOCH_BUFFER_COUNT 4 102 xhci_isoch_transfer_t transfers[XHCI_ISOCH_BUFFER_COUNT]; 101 103 102 /** Indices to transfers */103 size_t isoch_dequeue, isoch_enqueue;104 /** Indices to transfers */ 105 size_t dequeue, enqueue; 104 106 105 /** Are isochronous transfers started? */106 bool isoch_started;107 /** Are isochronous transfers started? */ 108 bool started; 107 109 108 /** Protects common buffers. */109 fibril_mutex_t isoch_guard;110 /** Protects common buffers. */ 111 fibril_mutex_t guard; 110 112 111 /** Signals filled buffer. */112 fibril_condvar_t isoch_avail;113 113 /** Signals filled buffer. */ 114 fibril_condvar_t avail; 115 } isoch [0]; 114 116 } xhci_endpoint_t; 115 117
Note:
See TracChangeset
for help on using the changeset viewer.