Changeset a5b3de6 in mainline for uspace/lib/usbhost/include
- Timestamp:
- 2017-10-25T11:55:15Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b35478
- Parents:
- c3d926f3
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
rc3d926f3 ra5b3de6 60 60 /** USB device */ 61 61 device_t *device; 62 /** USB address.*/63 usb_ target_t target;62 /** Enpoint number */ 63 usb_endpoint_t endpoint; 64 64 /** Communication direction. */ 65 65 usb_direction_t direction; … … 108 108 return item ? list_get_instance(item, endpoint_t, link) : NULL; 109 109 } 110 110 111 #endif 111 112 -
uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
rc3d926f3 ra5b3de6 55 55 /** Structure stores additional data needed for communication with EP */ 56 56 typedef struct usb_transfer_batch { 57 /** Target for communication */ 58 usb_target_t target; 59 57 60 /** Endpoint used for communication */ 58 61 endpoint_t *ep; 62 59 63 /** Size reported to be sent */ 60 64 size_t expected_size; … … 96 100 */ 97 101 #define USB_TRANSFER_BATCH_ARGS(batch) \ 98 (batch). ep->target.address, (batch).ep->target.endpoint, \102 (batch).target.address, (batch).target.endpoint, \ 99 103 usb_str_speed((batch).ep->speed), \ 100 104 usb_str_transfer_type_short((batch).ep->transfer_type), \
Note:
See TracChangeset
for help on using the changeset viewer.