Changeset 9a818a9 in mainline for uspace/drv/uhci-hcd/tracker.h


Ignore:
Timestamp:
2011-02-07T12:49:19Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2172cf8
Parents:
da17cf0
Message:

Adds support for tracker scheduling and callback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/tracker.h

    rda17cf0 r9a818a9  
    5151        link_t link;
    5252        usb_target_t target;
     53        usb_transfer_type_t transfer_type;
    5354        union {
    5455                usbhc_iface_transfer_in_callback_t callback_in;
     
    7071
    7172
    72 int tracker_init(tracker_t *instance, device_t *dev, usb_target_t target,
    73     size_t packet_size, dev_speed_t speed, char *buffer, size_t size,
     73tracker_t * tracker_get(device_t *dev, usb_target_t target,
     74    usb_transfer_type_t transfer_type, size_t max_packet_size,
     75    dev_speed_t speed, char *buffer, size_t size,
    7476    usbhc_iface_transfer_in_callback_t func_in,
    7577    usbhc_iface_transfer_out_callback_t func_out, void *arg);
     
    8284
    8385void tracker_interrupt_out(tracker_t *instance);
    84 
    85 void tracker_call_in(tracker_t *instance);
    86 
    87 void tracker_call_out(tracker_t *instance);
    88 
    89 void tracker_call_in_and_dispose(tracker_t *instance);
    90 
    91 void tracker_call_out_and_dispose(tracker_t *instance);
    9286
    9387/* DEPRECATED FUNCTIONS NEEDED BY THE OLD API */
Note: See TracChangeset for help on using the changeset viewer.