Lines Matching refs:usb_dev_handle
274 struct usb_dev_handle;
275 typedef struct usb_dev_handle usb_dev_handle; typedef
287 usb_dev_handle *usb_open(struct usb_device *dev);
288 int usb_close(usb_dev_handle *dev);
289 int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf,
291 int usb_get_string_simple(usb_dev_handle *dev, int index, char *buf,
295 int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep,
297 int usb_get_descriptor(usb_dev_handle *udev, unsigned char type,
301 int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size,
303 int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size,
305 int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size,
307 int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size,
309 int usb_control_msg(usb_dev_handle *dev, int requesttype, int request,
311 int usb_set_configuration(usb_dev_handle *dev, int configuration);
312 int usb_claim_interface(usb_dev_handle *dev, int interface);
313 int usb_release_interface(usb_dev_handle *dev, int interface);
314 int usb_set_altinterface(usb_dev_handle *dev, int alternate);
315 int usb_resetep(usb_dev_handle *dev, unsigned int ep);
316 int usb_clear_halt(usb_dev_handle *dev, unsigned int ep);
317 int usb_reset(usb_dev_handle *dev);
320 int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name,
323 int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface);
331 struct usb_device *usb_device(usb_dev_handle *dev);