Lines Matching refs:usb_device
21 static void cancel_async_set_config(struct usb_device *udev);
80 static int usb_internal_control_msg(struct usb_device *usb_dev, in usb_internal_control_msg()
131 int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in usb_control_msg()
183 int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_interrupt_msg()
223 int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_bulk_msg()
359 int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, in usb_sg_init()
633 int usb_get_descriptor(struct usb_device *dev, unsigned char type, in usb_get_descriptor()
681 static int usb_get_string(struct usb_device *dev, unsigned short langid, in usb_get_string()
718 static int usb_string_sub(struct usb_device *dev, unsigned int langid, in usb_string_sub()
755 static int usb_get_langid(struct usb_device *dev, unsigned char *tbuf) in usb_get_langid()
812 int usb_string(struct usb_device *dev, int index, char *buf, size_t size) in usb_string()
861 char *usb_cache_string(struct usb_device *udev, int index) in usb_cache_string()
902 int usb_get_device_descriptor(struct usb_device *dev, unsigned int size) in usb_get_device_descriptor()
942 int usb_get_status(struct usb_device *dev, int type, int target, void *data) in usb_get_status()
988 int usb_clear_halt(struct usb_device *dev, int pipe) in usb_clear_halt()
1025 struct usb_device *udev = interface_to_usbdev(intf); in create_intf_ep_devs()
1063 void usb_disable_endpoint(struct usb_device *dev, unsigned int epaddr, in usb_disable_endpoint()
1098 void usb_reset_endpoint(struct usb_device *dev, unsigned int epaddr) in usb_reset_endpoint()
1122 void usb_disable_interface(struct usb_device *dev, struct usb_interface *intf, in usb_disable_interface()
1145 void usb_disable_device(struct usb_device *dev, int skip_ep0) in usb_disable_device()
1222 void usb_enable_endpoint(struct usb_device *dev, struct usb_host_endpoint *ep, in usb_enable_endpoint()
1246 void usb_enable_interface(struct usb_device *dev, in usb_enable_interface()
1289 int usb_set_interface(struct usb_device *dev, int interface, int alternate) in usb_set_interface()
1445 int usb_reset_configuration(struct usb_device *dev) in usb_reset_configuration()
1560 struct usb_device *usb_dev; in usb_if_uevent()
1598 static struct usb_interface_assoc_descriptor *find_iad(struct usb_device *dev, in find_iad()
1637 struct usb_device *udev = interface_to_usbdev(iface); in __usb_queue_reset_device()
1693 int usb_set_configuration(struct usb_device *dev, int configuration) in usb_set_configuration()
1913 struct usb_device *udev;
1924 struct usb_device *udev = req->udev; in driver_set_config_work()
1941 static void cancel_async_set_config(struct usb_device *udev) in cancel_async_set_config()
1973 int usb_driver_set_configuration(struct usb_device *udev, int config) in usb_driver_set_configuration()