Changeset b4b534ac in mainline for uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
- Timestamp:
- 2016-07-22T08:24:47Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f76d2c2
- Parents:
- 5b18137 (diff), 8351f9a4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
r5b18137 rb4b534ac 37 37 #define LIBUSBHOST_HOST_USB_TRANSFER_BATCH_H 38 38 39 #include <adt/list.h> 39 #include <usb/host/endpoint.h> 40 #include <usb/usb.h> 40 41 42 #include <assert.h> 43 #include <stdbool.h> 44 #include <sys/types.h> 41 45 #include <usbhc_iface.h> 42 #include <usb/usb.h>43 #include <usb/host/endpoint.h>44 46 45 47 #define USB_SETUP_PACKET_SIZE 8 … … 67 69 */ 68 70 size_t setup_size; 69 /** Host controller function, passed to callback function */70 ddf_fun_t *fun;71 71 72 72 /** Actually used portion of the buffer … … 80 80 */ 81 81 int error; 82 83 /** Driver specific data */84 void *private_data;85 /** Callback to properly remove driver data during destruction */86 void (*private_data_dtor)(void *p_data);87 82 } usb_transfer_batch_t; 88 83 … … 108 103 usbhc_iface_transfer_in_callback_t func_in, 109 104 usbhc_iface_transfer_out_callback_t func_out, 110 void *arg, 111 ddf_fun_t *fun, 112 void *private_data, 113 void (*private_data_dtor)(void *p_data) 105 void *arg 114 106 ); 115 107 void usb_transfer_batch_destroy(const usb_transfer_batch_t *instance);
Note:
See TracChangeset
for help on using the changeset viewer.