Changeset fc0271a5 in mainline for uspace/lib/usbhost/include


Ignore:
Timestamp:
2017-10-12T16:06:37Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f9d787c
Parents:
d0db4a0
Message:

WIP usbhost refactoring: uhci converted

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

Legend:

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

    rd0db4a0 rfc0271a5  
    4949#define BANDWIDTH_AVAILABLE_USB20  1
    5050
    51 extern size_t bandwidth_count_usb11(usb_speed_t, usb_transfer_type_t, size_t, size_t);
     51typedef struct endpoint endpoint_t;
    5252
    53 extern size_t bandwidth_count_usb20(usb_speed_t, usb_transfer_type_t, size_t, size_t);
     53extern size_t bandwidth_count_usb11(endpoint_t *, size_t);
     54
     55extern size_t bandwidth_count_usb20(endpoint_t *, size_t);
    5456
    5557#endif
  • uspace/lib/usbhost/include/usb/host/hcd.h

    rd0db4a0 rfc0271a5  
    5858        /** Transfer scheduling, implement in device driver. */
    5959        schedule_hook_t schedule;
    60         /** Hook called upon registering new endpoint. */
    61         ep_add_hook_t ep_add_hook;
    62         /** Hook called upon removing of an endpoint. */
    63         ep_remove_hook_t ep_remove_hook;
    6460        /** Hook to be called on device interrupt, passes ARG1 */
    6561        interrupt_hook_t irq_hook;
  • uspace/lib/usbhost/include/usb/host/usb2_bus.h

    rd0db4a0 rfc0271a5  
    5050/** Endpoint management structure */
    5151typedef struct usb2_bus {
    52         bus_t bus;                      /**< Inheritance - keep this first */
     52        bus_t base;                     /**< Inheritance - keep this first */
    5353
    5454        /* Device bookkeeping */
Note: See TracChangeset for help on using the changeset viewer.