Changeset 6fa04db in mainline


Ignore:
Timestamp:
2011-12-06T12:49:30Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ca08d4
Parents:
f7ac3f3
Message:

ohci: Doxygen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_batch.c

    rf7ac3f3 r6fa04db  
    6565}
    6666/*----------------------------------------------------------------------------*/
     67/** Finishes usb_transfer_batch and destroys the structure.
     68 *
     69 * @param[in] uhci_batch Instance to finish and destroy.
     70 */
    6771void ohci_transfer_batch_finish_dispose(ohci_transfer_batch_t *ohci_batch)
    6872{
     
    7478}
    7579/*----------------------------------------------------------------------------*/
     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 */
    7690ohci_transfer_batch_t * ohci_transfer_batch_get(usb_transfer_batch_t *usb_batch)
    7791{
     
    377391}
    378392/*----------------------------------------------------------------------------*/
     393/** Transfer setup table. */
    379394static void (*const batch_setup[])(ohci_transfer_batch_t*, usb_direction_t) =
    380395{
Note: See TracChangeset for help on using the changeset viewer.