Lines Matching refs:usb_dev_handle
652 API_EXPORTED usb_dev_handle *usb_open(struct usb_device *dev)
657 usb_dev_handle *udev = malloc(sizeof(*udev));
674 API_EXPORTED int usb_close(usb_dev_handle *dev)
682 API_EXPORTED struct usb_device *usb_device(usb_dev_handle *dev)
687 API_EXPORTED int usb_set_configuration(usb_dev_handle *dev, int configuration)
693 API_EXPORTED int usb_claim_interface(usb_dev_handle *dev, int interface)
707 API_EXPORTED int usb_release_interface(usb_dev_handle *dev, int interface)
719 API_EXPORTED int usb_set_altinterface(usb_dev_handle *dev, int alternate)
729 API_EXPORTED int usb_resetep(usb_dev_handle *dev, unsigned int ep)
734 API_EXPORTED int usb_clear_halt(usb_dev_handle *dev, unsigned int ep)
740 API_EXPORTED int usb_reset(usb_dev_handle *dev)
746 static int usb_bulk_io(usb_dev_handle *dev, int ep, char *bytes,
763 API_EXPORTED int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes,
777 API_EXPORTED int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes,
791 static int usb_interrupt_io(usb_dev_handle *dev, int ep, char *bytes,
808 API_EXPORTED int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes,
821 API_EXPORTED int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes,
835 API_EXPORTED int usb_control_msg(usb_dev_handle *dev, int bmRequestType,
852 API_EXPORTED int usb_get_string(usb_dev_handle *dev, int desc_index, int langid,
863 API_EXPORTED int usb_get_string_simple(usb_dev_handle *dev, int desc_index,
874 API_EXPORTED int usb_get_descriptor(usb_dev_handle *dev, unsigned char type,
884 API_EXPORTED int usb_get_descriptor_by_endpoint(usb_dev_handle *dev, int ep,
899 API_EXPORTED int usb_get_driver_np(usb_dev_handle *dev, int interface,
914 API_EXPORTED int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface)