Changeset 867b375 in mainline for uspace/lib/usbhost/include/usb/host/hcd.h
- Timestamp:
- 2017-10-15T02:04:10Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 20eaa82
- Parents:
- d7869d7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/hcd.h
rd7869d7e r867b375 50 50 51 51 typedef int (*schedule_hook_t)(hcd_t *, usb_transfer_batch_t *); 52 typedef int (*ep_add_hook_t)(hcd_t *, endpoint_t *);53 typedef void (*ep_remove_hook_t)(hcd_t *, endpoint_t *);54 52 typedef void (*interrupt_hook_t)(hcd_t *, uint32_t); 55 53 typedef int (*status_hook_t)(hcd_t *, uint32_t *); 54 typedef int (*address_device_hook_t)(hcd_t *, usb_speed_t, usb_tt_address_t, usb_address_t *); 56 55 57 56 typedef struct { … … 62 61 /** Periodic polling hook */ 63 62 status_hook_t status_hook; 63 /** Hook to setup device address */ 64 address_device_hook_t address_device; 64 65 } hcd_ops_t; 65 66 … … 112 113 113 114 extern int hcd_add_ep(hcd_t *, usb_target_t, usb_direction_t, 114 usb_transfer_type_t, size_t, unsigned int, size_t, usb_address_t, 115 unsigned int); 115 usb_transfer_type_t, size_t, unsigned int, size_t, usb_tt_address_t); 116 116 117 117 extern int hcd_remove_ep(hcd_t *, usb_target_t, usb_direction_t);
Note:
See TracChangeset
for help on using the changeset viewer.