Changeset 6fa04db in mainline
- Timestamp:
- 2011-12-06T12:49:30Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ca08d4
- Parents:
- f7ac3f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_batch.c
rf7ac3f3 r6fa04db 65 65 } 66 66 /*----------------------------------------------------------------------------*/ 67 /** Finishes usb_transfer_batch and destroys the structure. 68 * 69 * @param[in] uhci_batch Instance to finish and destroy. 70 */ 67 71 void ohci_transfer_batch_finish_dispose(ohci_transfer_batch_t *ohci_batch) 68 72 { … … 74 78 } 75 79 /*----------------------------------------------------------------------------*/ 80 /** Allocate memory and initialize internal data structure. 81 * 82 * @param[in] usb_batch Pointer to generic USB batch structure. 83 * @return Valid pointer if all structures were successfully created, 84 * NULL otherwise. 85 * 86 * Determines the number of needed transfer descriptors (TDs). 87 * Prepares a transport buffer (that is accessible by the hardware). 88 * Initializes parameters needed for the transfer and callback. 89 */ 76 90 ohci_transfer_batch_t * ohci_transfer_batch_get(usb_transfer_batch_t *usb_batch) 77 91 { … … 377 391 } 378 392 /*----------------------------------------------------------------------------*/ 393 /** Transfer setup table. */ 379 394 static void (*const batch_setup[])(ohci_transfer_batch_t*, usb_direction_t) = 380 395 {
Note:
See TracChangeset
for help on using the changeset viewer.