Changeset 327f147 in mainline for uspace/lib/usbhost/include/usb/host/bus.h
- Timestamp:
- 2017-10-23T19:03:37Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b724494
- Parents:
- e160bfe8
- File:
-
- 1 edited
-
uspace/lib/usbhost/include/usb/host/bus.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/bus.h
re160bfe8 r327f147 85 85 int (*register_endpoint)(bus_t *, endpoint_t *); 86 86 int (*unregister_endpoint)(bus_t *, endpoint_t *); 87 endpoint_t *(*find_endpoint)(bus_t *, usb_target_t, usb_direction_t);87 endpoint_t *(*find_endpoint)(bus_t *, device_t*, usb_target_t, usb_direction_t); 88 88 void (*destroy_endpoint)(endpoint_t *); /**< Optional */ 89 89 bool (*endpoint_get_toggle)(endpoint_t *); /**< Optional */ … … 120 120 usb_direction_t dir, usb_transfer_type_t type, size_t max_packet_size, 121 121 unsigned packets, size_t size); 122 extern int bus_remove_ep(bus_t * bus, usb_target_t target, usb_direction_t dir);122 extern int bus_remove_ep(bus_t *, device_t *, usb_target_t, usb_direction_t); 123 123 124 124 int device_set_default_name(device_t *); … … 130 130 int bus_register_endpoint(bus_t *, endpoint_t *); 131 131 int bus_unregister_endpoint(bus_t *, endpoint_t *); 132 endpoint_t *bus_find_endpoint(bus_t *, usb_target_t, usb_direction_t);132 endpoint_t *bus_find_endpoint(bus_t *, device_t *, usb_target_t, usb_direction_t); 133 133 134 134 size_t bus_count_bw(endpoint_t *, size_t);
Note:
See TracChangeset
for help on using the changeset viewer.
