Changeset 6a32665d in mainline for uspace/lib/usb/include/usb/host/endpoint.h
- Timestamp:
- 2011-04-08T11:07:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd1cec3b
- Parents:
- 52cc968
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/endpoint.h
r52cc968 r6a32665d 39 39 #include <bool.h> 40 40 #include <adt/list.h> 41 #include <fibril_synch.h> 42 41 43 #include <usb/usb.h> 42 44 … … 48 50 usb_speed_t speed; 49 51 size_t max_packet_size; 52 unsigned toggle:1; 53 fibril_mutex_t guard; 54 fibril_condvar_t avail; 50 55 bool active; 51 unsigned toggle:1;52 56 link_t same_device_eps; 53 57 } endpoint_t; … … 58 62 59 63 void endpoint_destroy(endpoint_t *instance); 64 65 void endpoint_use(endpoint_t *instance); 66 67 void endpoint_release(endpoint_t *instance); 60 68 61 69 int endpoint_toggle_get(endpoint_t *instance);
Note:
See TracChangeset
for help on using the changeset viewer.