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