Changeset 68e5406 in mainline for uspace/lib/usbhost/include
- Timestamp:
- 2017-12-10T21:08:11Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c6de4f
- Parents:
- dd8ab1c
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/ddf_helpers.h
rdd8ab1c r68e5406 48 48 typedef void (*driver_fini_t)(hcd_t *); 49 49 typedef int (*claim_t)(ddf_dev_t *); 50 typedef int (*irq_code_gen_t)(irq_code_t *, const hw_res_list_parsed_t * );50 typedef int (*irq_code_gen_t)(irq_code_t *, const hw_res_list_parsed_t *, int *); 51 51 52 52 typedef struct { … … 75 75 const hw_res_list_parsed_t *hw_res, 76 76 interrupt_handler_t handler, 77 int (*gen_irq_code)(irq_code_t *, const hw_res_list_parsed_t * ),77 int (*gen_irq_code)(irq_code_t *, const hw_res_list_parsed_t *, int *), 78 78 cap_handle_t *handle); 79 79 void ddf_hcd_gen_irq_handler(ipc_call_t *call, ddf_dev_t *dev); -
uspace/lib/usbhost/include/usb/host/hcd.h
rdd8ab1c r68e5406 102 102 } 103 103 104 extern usb_address_t hcd_request_address(hcd_t *, usb_speed_t);104 extern int hcd_request_address(hcd_t *, usb_speed_t, usb_address_t *); 105 105 106 106 extern int hcd_release_address(hcd_t *, usb_address_t); … … 123 123 usbhc_iface_transfer_out_callback_t, void *, const char *); 124 124 125 extern ssize_t hcd_send_batch_sync(hcd_t *, usb_target_t, usb_direction_t,126 void *, size_t, uint64_t, const char * );125 extern int hcd_send_batch_sync(hcd_t *, usb_target_t, usb_direction_t, 126 void *, size_t, uint64_t, const char *, size_t *); 127 127 128 128 #endif
Note:
See TracChangeset
for help on using the changeset viewer.