Lines Matching refs:usb_device
123 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if()
222 int (*fn)(struct usb_device *, void *);
233 return arg->fn(container_of(dev, struct usb_device, dev), arg->data); in __each_dev()
245 int usb_for_each_dev(void *data, int (*fn)(struct usb_device *, void *)) in usb_for_each_dev() argument
262 struct usb_device *udev; in usb_release_dev()
279 struct usb_device *usb_dev; in usb_dev_uevent()
364 struct usb_device *usb_dev; in usb_devnode()
405 struct usb_device *usb_alloc_dev(struct usb_device *parent, in usb_alloc_dev()
408 struct usb_device *dev; in usb_alloc_dev()
518 struct usb_device *usb_get_dev(struct usb_device *dev) in usb_get_dev()
533 void usb_put_dev(struct usb_device *dev) in usb_put_dev()
605 int usb_lock_device_for_reset(struct usb_device *udev, in usb_lock_device_for_reset()
652 int usb_get_current_frame_number(struct usb_device *dev) in usb_get_current_frame_number()
716 void *usb_alloc_coherent(struct usb_device *dev, size_t size, gfp_t mem_flags, in usb_alloc_coherent()
736 void usb_free_coherent(struct usb_device *dev, size_t size, void *addr, in usb_free_coherent()
887 int usb_buffer_map_sg(const struct usb_device *dev, int is_in,
923 void usb_buffer_dmasync_sg(const struct usb_device *dev, int is_in,
951 void usb_buffer_unmap_sg(const struct usb_device *dev, int is_in,