Ignore:
Timestamp:
2011-04-10T12:18:09Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60c0573
Parents:
a49e171 (diff), 82e8861 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Development changes

File:
1 edited

Legend:

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

    ra49e171 rdc4c19e  
    3939#include <bool.h>
    4040#include <adt/list.h>
     41#include <fibril_synch.h>
     42
    4143#include <usb/usb.h>
    4244
     
    4850        usb_speed_t speed;
    4951        size_t max_packet_size;
    50         bool active;
    5152        unsigned toggle:1;
    52         link_t same_device_eps;
     53        fibril_mutex_t guard;
     54        fibril_condvar_t avail;
     55        volatile bool active;
    5356} endpoint_t;
    5457
     
    5962void endpoint_destroy(endpoint_t *instance);
    6063
     64void endpoint_use(endpoint_t *instance);
     65
     66void endpoint_release(endpoint_t *instance);
     67
    6168int endpoint_toggle_get(endpoint_t *instance);
    6269
    6370void endpoint_toggle_set(endpoint_t *instance, int toggle);
    6471
    65 void endpoint_toggle_reset(link_t *ep);
    66 
    67 void endpoint_toggle_reset_filtered(link_t *ep, usb_endpoint_t epn);
    68 
     72void endpoint_toggle_reset_filtered(endpoint_t *instance, usb_target_t target);
    6973#endif
    7074/**
Note: See TracChangeset for help on using the changeset viewer.