Changeset 4e732f1a in mainline for uspace/lib/usbhost/include/usb
- Timestamp:
- 2014-01-24T02:10:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42de21a
- Parents:
- 3de7a62
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
r3de7a62 r4e732f1a 57 57 /** Maximum size of data packets. */ 58 58 size_t max_packet_size; 59 /** Additional opportunities per uframe */ 60 unsigned packets; 59 61 /** Necessary bandwidth. */ 60 62 size_t bandwidth; … … 85 87 endpoint_t * endpoint_create(usb_address_t address, usb_endpoint_t endpoint, 86 88 usb_direction_t direction, usb_transfer_type_t type, usb_speed_t speed, 87 size_t max_packet_size, size_t bw, usb_address_t tt_address,88 u nsigned tt_port);89 size_t max_packet_size, unsigned packets, size_t bw, 90 usb_address_t tt_address, unsigned tt_port); 89 91 void endpoint_destroy(endpoint_t *instance); 90 92 -
uspace/lib/usbhost/include/usb/host/hcd.h
r3de7a62 r4e732f1a 109 109 110 110 int hcd_add_ep(hcd_t *hcd, usb_target_t target, usb_direction_t dir, 111 usb_transfer_type_t type, size_t max_packet_size, size_t size,112 usb_address_t tt_address, unsigned tt_port);111 usb_transfer_type_t type, size_t max_packet_size, unsigned packets, 112 size_t size, usb_address_t tt_address, unsigned tt_port); 113 113 114 114 int hcd_remove_ep(hcd_t *hcd, usb_target_t target, usb_direction_t dir); -
uspace/lib/usbhost/include/usb/host/usb_bus.h
r3de7a62 r4e732f1a 97 97 int usb_bus_add_ep(usb_bus_t *instance, 98 98 usb_address_t address, usb_endpoint_t endpoint, usb_direction_t direction, 99 usb_transfer_type_t type, size_t max_packet_size, size_t data_size,100 ep_add_callback_t callback, void *arg, usb_address_t tt_address,101 u nsigned tt_port);99 usb_transfer_type_t type, size_t max_packet_size, unsigned packets, 100 size_t data_size, ep_add_callback_t callback, void *arg, 101 usb_address_t tt_address, unsigned tt_port); 102 102 103 103 int usb_bus_remove_ep(usb_bus_t *instance,
Note:
See TracChangeset
for help on using the changeset viewer.