Changeset 7034be15 in mainline for uspace/lib/usb/hcdhubd.h
- Timestamp:
- 2010-11-19T23:00:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e27595b
- Parents:
- 91db50ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/hcdhubd.h
r91db50ac r7034be15 80 80 /** Callback for OUT transfers. */ 81 81 typedef void (*usb_hcd_transfer_callback_out_t) 82 (usb_hc_device_t *, usb_hcd_attached_device_info_t *, 83 usb_hc_endpoint_info_t *, 84 usb_transaction_outcome_t, void *); 82 (usb_hc_device_t *, usb_transaction_outcome_t, void *); 85 83 86 84 /** Callback for IN transfers. */ 87 85 typedef void (*usb_hcd_transfer_callback_in_t) 88 (usb_hc_device_t *, usb_hcd_attached_device_info_t *, 89 usb_hc_endpoint_info_t *, 90 size_t, usb_transaction_outcome_t, void *); 86 (usb_hc_device_t *, size_t, usb_transaction_outcome_t, void *); 91 87 92 88 … … 158 154 */ 159 155 160 int usb_hcd_local_set_endpoint_properties(usb_hc_device_t *, usb_target_t,161 usb_transfer_type_t, usb_direction_t);162 156 163 /* First variant - repeat transfer type. */ 164 int usb_hcd_local_transfer_interrupt_in(usb_hc_device_t *, usb_target_t, 157 int usb_hc_async_interrupt_out(usb_hc_device_t *, usb_target_t, 158 void *, size_t, usb_handle_t *); 159 int usb_hc_async_interrupt_in(usb_hc_device_t *, usb_target_t, 165 160 void *, size_t, size_t *, usb_handle_t *); 166 161 167 /* Second variant - determine transfer type from endpoint properties. */ 168 int usb_hcd_local_transfer_in(usb_hc_device_t *, usb_target_t, 169 void *, size_t, size_t *, usb_handle_t *); 170 171 172 int usb_hcd_local_wait_for(usb_handle_t); 162 int usb_hc_async_wait_for(usb_handle_t); 173 163 174 164
Note:
See TracChangeset
for help on using the changeset viewer.