Lines Matching full:usb

16 #include <linux/usb/ch9.h>
69 * Companion Descriptor (section 9.6.7 of usb 3.0 spec)
92 * struct usb_device - information about a USB device
94 * With driver model both UCLASS_USB (the USB controllers) and UCLASS_USB_HUB
98 * dev_get_parent_priv(dev), where dev is a USB device.
105 int devnum; /* Device number on USB bus */
160 * You can initialize platform's USB host or device
202 * PXA25x can only act as USB device. There are drivers
203 * which works with USB CDC gadgets implementations.
212 * usb drivers and u-boot commands
214 * @param index USB controller number
215 * @param init initializes controller as USB host or device
220 * can be used to clean up after failed USB initialization attempt
223 * @param index USB controller number for selective cleanup
250 int usb_init(void); /* initialize the USB Controller */
251 int usb_stop(void); /* stop the USB Controller */
252 int usb_detect_change(void); /* detect if a USB device has been (un)plugged */
306 * Calling this entity a "pipe" is glorifying it. A USB pipe
317 * That's 18 bits. Really. Nothing more. And the USB people have
404 * struct usb_device_id - identifies USB devices for probing and hotplugging
410 * @idVendor: USB vendor ID for a device; numbers are assigned
411 * by the USB forum to its members.
419 * by the USB forum. Products may choose to implement classes,
425 * by the USB forum. Products may choose to implement classes,
440 * and provide it to the USB core through their usb_driver structure.
508 * USB_DEVICE - macro used to describe a specific usb device
509 * @vend: the 16 bit USB Vendor ID
510 * @prod: the 16 bit USB Product ID
541 * USB Hub class device protocols
587 int hub_depth; /* USB 3.0 hub depth */
593 * struct usb_platdata - Platform data about a USB controller
595 * Given a USB controller (UCLASS_USB) dev this is dev_get_platdata(dev)
602 * struct usb_dev_platdata - Platform data about a USB device
604 * Given a USB device dev this structure is dev_get_parent_platdata(dev).
608 * @devnum: Device address on the USB bus
609 * @udev: usb-uclass internal use only do NOT use
618 * to get the usb descriptors before the driver is known, to the
634 * struct usb_bus_priv - information about the USB controller
636 * Given a USB controller (UCLASS_USB) 'dev', this is
645 * @companion: True if this is a companion controller to another USB
655 * struct usb_emul_platdata - platform data about the USB emulator
657 * Given a USB emulator (UCLASS_USB_EMUL) 'dev', this is
660 * @port1: USB emulator device port number on the parent hub
667 * struct dm_usb_ops - USB controller operations
669 * This defines the operations supoorted on a USB controller. Common
672 * @bus: USB bus (i.e. controller), which is in UCLASS_USB.
673 * @udev: USB device parent data. Controllers are not expected to need
716 * Create and queue @queuesize number of interrupt usb packets of
769 * reset_root_port() - Reset usb root port
785 * in a USB transfer. USB class driver needs to be aware of this.
802 * @bus: USB bus to check
811 * @dev: USB device pointer. This need not be a real device - it is
825 * @hub: USB hub device to test
846 * @speed: USB speed to use for this device
861 * the USB stack
879 * usb_child_pre_probe() - Pre-probe function for USB devices
881 * This is called on all children of hubs and USB controllers (i.e. UCLASS_USB
887 * device is accessible on the USB bus.
889 * This function is for use only by the internal USB stack.
898 * usb_setup_ehci_gadget() - Set up a USB device as a gadget
900 * TODO(sjg@chromium.org): Tidy this up when USB gadgets can use driver model
902 * This provides a way to tell a controller to start up as a USB device
908 * usb_stor_reset() - Prepare to scan USB storage devices
910 * Empty the list of USB storage devices in preparation for scanning them.
911 * This must be called before a USB scan.
942 * is a device pointer, but with legacy USB this pointer is
975 * in a USB transfer. USB class driver needs to be aware of this.
977 * @dev: USB device
984 * usb_emul_setup_device() - Set up a new USB device emulation
987 * the USB emulation uclass about the features of the emulator.
990 * @strings: List of USB string descriptors, terminated by a NULL
992 * @desc_list: List of points or USB descriptors, terminated by NULL.
1004 * @udev: USB device (which the emulator is causing to appear)
1016 * @udev: USB device (which the emulator is causing to appear)
1027 * @udev: USB device (which the emulator is causing to appear)
1039 * @bus: USB bus (controller)
1051 * @dev: USB device to check
1058 * usb_emul_find_descriptor() - Find a USB descriptor of a particular device
1060 * @ptr: a pointer to a list of USB descriptor pointers
1061 * @type: type of USB descriptor to find
1063 * @return a pointer to the USB descriptor found, NULL if not found
1069 * usb_show_tree() - show the USB device tree
1071 * This shows a list of active USB devices along with basic information about