Changeset 0ee999d in mainline for uspace/lib/usbhost/include/usb/host
- Timestamp:
- 2013-08-20T12:24:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5856b627
- Parents:
- 5dad73d
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
r5dad73d r0ee999d 67 67 /** Signals change of active status. */ 68 68 fibril_condvar_t avail; 69 /** High speed TT data */ 70 struct { 71 usb_address_t address; 72 unsigned port; 73 } tt; 69 74 /** Optional device specific data. */ 70 75 struct { … … 80 85 endpoint_t * endpoint_create(usb_address_t address, usb_endpoint_t endpoint, 81 86 usb_direction_t direction, usb_transfer_type_t type, usb_speed_t speed, 82 size_t max_packet_size, size_t bw); 87 size_t max_packet_size, size_t bw, usb_address_t tt_address, 88 unsigned tt_port); 83 89 void endpoint_destroy(endpoint_t *instance); 84 90 -
uspace/lib/usbhost/include/usb/host/hcd.h
r5dad73d r0ee999d 76 76 hcd->ep_add_hook = add_hook; 77 77 hcd->ep_remove_hook = rem_hook; 78 79 78 } 80 79 … … 91 90 92 91 int hcd_add_ep(hcd_t *hcd, usb_target_t target, usb_direction_t dir, 93 usb_transfer_type_t type, size_t max_packet_size, size_t size); 92 usb_transfer_type_t type, size_t max_packet_size, size_t size, 93 usb_address_t tt_address, unsigned tt_port); 94 94 95 95 int hcd_remove_ep(hcd_t *hcd, usb_target_t target, usb_direction_t dir); -
uspace/lib/usbhost/include/usb/host/usb_endpoint_manager.h
r5dad73d r0ee999d 93 93 usb_address_t address, usb_endpoint_t endpoint, usb_direction_t direction, 94 94 usb_transfer_type_t type, size_t max_packet_size, size_t data_size, 95 ep_add_callback_t callback, void *arg); 95 ep_add_callback_t callback, void *arg, usb_address_t tt_address, 96 unsigned tt_port); 96 97 97 98 int usb_endpoint_manager_remove_ep(usb_endpoint_manager_t *instance, … … 108 109 usb_address_t *address, bool strict, usb_speed_t speed); 109 110 110 int usb_endpoint_manager_get_ info_by_address(usb_endpoint_manager_t *instance,111 int usb_endpoint_manager_get_speed(usb_endpoint_manager_t *instance, 111 112 usb_address_t address, usb_speed_t *speed); 112 113 #endif
Note:
See TracChangeset
for help on using the changeset viewer.