Changeset e6b9182 in mainline for uspace/lib/usbhost/include/usb/host/bus.h
- Timestamp:
- 2017-10-13T08:49:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 741bcdeb
- Parents:
- 0a5833d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/bus.h
r0a5833d7 re6b9182 68 68 /* Endpoint ops, optional (have generic fallback) */ 69 69 void (*destroy_endpoint)(endpoint_t *); 70 int(*endpoint_get_toggle)(endpoint_t *);71 void (*endpoint_set_toggle)(endpoint_t *, unsigned);70 bool (*endpoint_get_toggle)(endpoint_t *); 71 void (*endpoint_set_toggle)(endpoint_t *, bool); 72 72 } bus_ops_t; 73 73 74 74 /** Endpoint management structure */ 75 75 typedef struct bus { 76 hcd_t *hcd;77 78 76 /* Synchronization of ops */ 79 77 fibril_mutex_t guard; … … 85 83 } bus_t; 86 84 87 void bus_init(bus_t * , hcd_t *hcd);85 void bus_init(bus_t *); 88 86 89 87 endpoint_t *bus_create_endpoint(bus_t *);
Note:
See TracChangeset
for help on using the changeset viewer.