Changeset 0892663a in mainline for uspace/lib/usbhost/include/usb/host/endpoint.h
- Timestamp:
- 2018-01-11T04:14:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9848c77
- Parents:
- bad4a05
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-11 03:59:03)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-11 04:14:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
rbad4a05 r0892663a 44 44 #include <fibril_synch.h> 45 45 #include <stdbool.h> 46 #include <sys/time.h> 46 47 #include <usb/usb.h> 47 48 #include <usb/host/bus.h> … … 93 94 extern void endpoint_del_ref(endpoint_t *); 94 95 95 /* Pay atention to synchronization of batch access wrt to aborting & finishing from another fibril. */ 96 97 /* Set currently active batch. The common case is to activate in the same 98 * critical section as scheduling to HW. 99 */ 96 extern void endpoint_wait_timeout_locked(endpoint_t *ep, suseconds_t); 100 97 extern void endpoint_activate_locked(endpoint_t *, usb_transfer_batch_t *); 101 102 /* Deactivate the endpoint, allowing others to activate it again. Batch shall103 * already have an error set. */104 98 extern void endpoint_deactivate_locked(endpoint_t *); 105 106 /* Abort the currenty active batch. */107 void endpoint_abort(endpoint_t *);108 99 109 100 /* Calculate bandwidth */
Note:
See TracChangeset
for help on using the changeset viewer.