Changeset dc4c19e in mainline for uspace/lib/usb/include/usb/host/endpoint.h
- Timestamp:
- 2011-04-10T12:18:09Z (13 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/endpoint.h
ra49e171 rdc4c19e 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; 50 bool active;51 52 unsigned toggle:1; 52 link_t same_device_eps; 53 fibril_mutex_t guard; 54 fibril_condvar_t avail; 55 volatile bool active; 53 56 } endpoint_t; 54 57 … … 59 62 void endpoint_destroy(endpoint_t *instance); 60 63 64 void endpoint_use(endpoint_t *instance); 65 66 void endpoint_release(endpoint_t *instance); 67 61 68 int endpoint_toggle_get(endpoint_t *instance); 62 69 63 70 void endpoint_toggle_set(endpoint_t *instance, int toggle); 64 71 65 void endpoint_toggle_reset(link_t *ep); 66 67 void endpoint_toggle_reset_filtered(link_t *ep, usb_endpoint_t epn); 68 72 void endpoint_toggle_reset_filtered(endpoint_t *instance, usb_target_t target); 69 73 #endif 70 74 /**
Note:
See TracChangeset
for help on using the changeset viewer.