Changeset 7265558 in mainline for uspace/lib/usbhost/include/usb/host/usb_endpoint_manager.h
- Timestamp:
- 2011-10-28T20:53:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 48ae3ef
- Parents:
- 83c3123
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb_endpoint_manager.h
r83c3123 r7265558 40 40 #define LIBUSBHOST_HOST_USB_ENDPOINT_MANAGER_H 41 41 42 #include <stdlib.h> 43 #include <adt/hash_table.h> 42 #include <adt/list.h> 44 43 #include <fibril_synch.h> 45 44 #include <usb/usb.h> 45 46 46 #include <usb/host/endpoint.h> 47 47 48 48 #define BANDWIDTH_TOTAL_USB11 12000000 49 49 #define BANDWIDTH_AVAILABLE_USB11 ((BANDWIDTH_TOTAL_USB11 / 10) * 9) 50 #define ENDPOINT_LIST_COUNT 8 50 51 51 52 typedef struct usb_endpoint_manager { 52 hash_table_t ep_table;53 list_t endpoint_lists[ENDPOINT_LIST_COUNT]; 53 54 fibril_mutex_t guard; 54 55 size_t free_bw;
Note:
See TracChangeset
for help on using the changeset viewer.