Lines Matching defs:usbi_os_backend

592 struct usbi_os_backend {  struct
594 const char *name;
597 uint32_t caps;
608 int (*init)(struct libusb_context *ctx);
615 void (*exit)(void);
668 int (*get_device_list)(struct libusb_context *ctx,
686 void (*hotplug_poll)(void);
713 int (*open)(struct libusb_device_handle *dev_handle);
723 void (*close)(struct libusb_device_handle *dev_handle);
746 int (*get_device_descriptor)(struct libusb_device *device,
769 int (*get_active_config_descriptor)(struct libusb_device *device,
793 int (*get_config_descriptor)(struct libusb_device *device,
809 int (*get_config_descriptor_by_value)(struct libusb_device *device,
830 int (*get_configuration)(struct libusb_device_handle *dev_handle, int *config);
847 int (*set_configuration)(struct libusb_device_handle *dev_handle, int config);
866 int (*claim_interface)(struct libusb_device_handle *dev_handle, int interface_number);
883 int (*release_interface)(struct libusb_device_handle *dev_handle, int interface_number);
899 int (*set_interface_altsetting)(struct libusb_device_handle *dev_handle,
913 int (*clear_halt)(struct libusb_device_handle *dev_handle,
932 int (*reset_device)(struct libusb_device_handle *dev_handle);
935 int (*alloc_streams)(struct libusb_device_handle *dev_handle,
939 int (*free_streams)(struct libusb_device_handle *dev_handle,
945 unsigned char *(*dev_mem_alloc)(struct libusb_device_handle *handle,
949 int (*dev_mem_free)(struct libusb_device_handle *handle,
964 int (*kernel_driver_active)(struct libusb_device_handle *dev_handle,
980 int (*detach_kernel_driver)(struct libusb_device_handle *dev_handle,
997 int (*attach_kernel_driver)(struct libusb_device_handle *dev_handle,
1006 void (*destroy_device)(struct libusb_device *dev);
1021 int (*submit_transfer)(struct usbi_transfer *itransfer);
1029 int (*cancel_transfer)(struct usbi_transfer *itransfer);
1041 void (*clear_transfer_priv)(struct usbi_transfer *itransfer);
1075 int (*handle_events)(struct libusb_context *ctx,
1101 int (*handle_transfer_completion)(struct usbi_transfer *itransfer);
1111 int (*clock_gettime)(int clkid, struct timespec *tp);
1135 extern const struct usbi_os_backend * const usbi_backend; argument