Changeset d369b3b in mainline for uspace/lib/usbhost/include/usb/host/usb2_bus.h
- Timestamp:
- 2018-01-25T02:05:57Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 296d22fc
- Parents:
- b357377
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 01:52:13)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 02:05:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb2_bus.h
rb357377 rd369b3b 47 47 typedef struct endpoint endpoint_t; 48 48 49 /** Endpoint management structure */ 50 typedef struct usb2_bus { 51 bus_t base; /**< Inheritance - keep this first */ 52 49 /** Endpoint and bandwidth management structure */ 50 typedef struct usb2_bus_helper { 53 51 /** Map of occupied addresses */ 54 52 bool address_occupied [USB_ADDRESS_COUNT]; … … 61 59 /* Configured bandwidth accounting */ 62 60 const bandwidth_accounting_t *bw_accounting; 63 } usb2_bus_ t;61 } usb2_bus_helper_t; 64 62 65 extern const bus_ops_t usb2_bus_ops;63 extern void usb2_bus_helper_init(usb2_bus_helper_t *, const bandwidth_accounting_t *); 66 64 67 extern void usb2_bus_init(usb2_bus_t *, const bandwidth_accounting_t *); 65 extern int usb2_bus_device_enumerate(usb2_bus_helper_t *, device_t *); 66 extern int usb2_bus_endpoint_register(usb2_bus_helper_t *, endpoint_t *); 67 extern void usb2_bus_endpoint_unregister(usb2_bus_helper_t *, endpoint_t *); 68 68 69 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.