Changeset 77ad86c in mainline for uspace/lib/usbhost/include/usb


Ignore:
Timestamp:
2012-06-01T19:00:32Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b713ff80
Parents:
4e5dabf
Message:

cstyle (no change in functionality)

Location:
uspace/lib/usbhost/include/usb/host
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/hcd.h

    r4e5dabf r77ad86c  
    3333 *
    3434 */
     35
    3536#ifndef LIBUSBHOST_HOST_HCD_H
    3637#define LIBUSBHOST_HOST_HCD_H
     
    6162        void (*ep_remove_hook)(hcd_t *, endpoint_t *);
    6263};
    63 /*----------------------------------------------------------------------------*/
     64
    6465/** Initialize hcd_t structure.
    6566 * Initializes device and endpoint managers. Sets data and hook pointer to NULL.
     
    7980        hcd->ep_remove_hook = NULL;
    8081}
    81 /*----------------------------------------------------------------------------*/
     82
    8283/** Check registered endpoints and reset toggle bit if necessary.
    8384 * @param hcd hcd_t structure, non-null.
     
    9293            &hcd->ep_manager, target, (const uint8_t *)setup_data);
    9394}
    94 /*----------------------------------------------------------------------------*/
     95
    9596/** Data retrieve wrapper.
    9697 * @param fun ddf function, non-null.
     
    102103        return fun->driver_data;
    103104}
    104 /*----------------------------------------------------------------------------*/
     105
    105106extern usbhc_iface_t hcd_iface;
    106107
    107108#endif
     109
    108110/**
    109111 * @}
  • uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h

    r4e5dabf r77ad86c  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
     28
    2829/** @addtogroup libusbhost
    2930 * @{
     
    3233 * USB transfer transaction structures.
    3334 */
     35
    3436#ifndef LIBUSBHOST_HOST_USB_TRANSFER_BATCH_H
    3537#define LIBUSBHOST_HOST_USB_TRANSFER_BATCH_H
     
    115117void usb_transfer_batch_finish_error(const usb_transfer_batch_t *instance,
    116118    const void* data, size_t size, int error);
    117 /*----------------------------------------------------------------------------*/
     119
    118120/** Finish batch using stored error value and transferred size.
    119121 *
     
    128130            instance, data, instance->transfered_size, instance->error);
    129131}
    130 /*----------------------------------------------------------------------------*/
     132
    131133/** Determine batch direction based on the callbacks present
    132134 * @param[in] instance Batch structure to use, non-null.
     
    153155        assert(false);
    154156}
     157
    155158#endif
     159
    156160/**
    157161 * @}
Note: See TracChangeset for help on using the changeset viewer.