Home | History | Annotate | Download | only in fastboot

Lines Matching refs:usb_handle

53 struct usb_handle
67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) {
260 static int try_device(io_service_t device, usb_handle *handle) {
381 static int init_usb(ifc_match_func callback, usb_handle **handle) {
386 usb_handle h;
434 *handle = calloc(1, sizeof(usb_handle));
435 memcpy(*handle, &h, sizeof(usb_handle));
454 usb_handle *usb_open(ifc_match_func callback) {
455 usb_handle *handle = NULL;
465 int usb_close(usb_handle *h) {
470 int usb_read(usb_handle *h, void *data, int len) {
504 int usb_write(usb_handle *h, const void *data, int len) {