Changes in uspace/drv/bus/usb/uhci/transfer_list.c [9d58539:8064c2f6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
r9d58539 r8064c2f6 34 34 */ 35 35 36 #include <assert.h> 36 37 #include <errno.h> 38 #include <libarch/barrier.h> 39 #include <sys/types.h> 37 40 #include <usb/debug.h> 38 #include <libarch/barrier.h> 39 41 #include <usb/host/usb_transfer_batch.h> 42 43 #include "utils/malloc32.h" 44 #include "hw_struct/link_pointer.h" 40 45 #include "transfer_list.h" 41 46 42 47 static void transfer_list_remove_batch( 43 48 transfer_list_t *instance, uhci_transfer_batch_t *uhci_batch); 44 /*----------------------------------------------------------------------------*/ 49 45 50 /** Initialize transfer list structures. 46 51 * … … 69 74 return EOK; 70 75 } 71 /*----------------------------------------------------------------------------*/ 76 72 77 /** Dispose transfer list structures. 73 78 * … … 97 102 qh_set_next_qh(instance->queue_head, next->queue_head); 98 103 } 99 /*----------------------------------------------------------------------------*/ 104 100 105 /** Add transfer batch to the list and queue. 101 106 * … … 144 149 fibril_mutex_unlock(&instance->guard); 145 150 } 146 /*----------------------------------------------------------------------------*/ 151 147 152 /** Add completed batches to the provided list. 148 153 * … … 171 176 fibril_mutex_unlock(&instance->guard); 172 177 } 173 /*----------------------------------------------------------------------------*/ 178 174 179 /** Walk the list and finish all batches with EINTR. 175 180 * … … 188 193 fibril_mutex_unlock(&instance->guard); 189 194 } 190 /*----------------------------------------------------------------------------*/ 195 191 196 /** Remove a transfer batch from the list and queue. 192 197 *
Note:
See TracChangeset
for help on using the changeset viewer.