Changeset 1d758fc in mainline for uspace/lib/usbhost/include/usb/host/endpoint.h
- Timestamp:
- 2018-02-12T10:11:47Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5fe3f954
- Parents:
- 2f762a7
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-02-05 03:28:50)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-02-12 10:11:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
r2f762a7 r1d758fc 51 51 typedef struct bus bus_t; 52 52 typedef struct device device_t; 53 typedef struct transfer_request transfer_request_t; 53 54 typedef struct usb_transfer_batch usb_transfer_batch_t; 54 55 … … 98 99 /** Maximum size of one transfer */ 99 100 size_t max_transfer_size; 100 /** Policy for transfer buffers */ 101 dma_policy_t transfer_buffer_policy; 101 102 /* Policies for transfer buffers */ 103 dma_policy_t transfer_buffer_policy; /**< A hint for optimal performance. */ 104 dma_policy_t required_transfer_buffer_policy; /**< Enforced by the library. */ 102 105 103 106 /** … … 122 125 extern void endpoint_deactivate_locked(endpoint_t *); 123 126 124 int endpoint_send_batch(endpoint_t *, usb_target_t, usb_direction_t, 125 char *, size_t, uint64_t, usbhc_iface_transfer_callback_t, void *, 126 const char *); 127 int endpoint_send_batch(endpoint_t *, const transfer_request_t *); 127 128 128 129 static inline bus_t *endpoint_get_bus(endpoint_t *ep)
Note:
See TracChangeset
for help on using the changeset viewer.