Lines Matching +full:usb +full:- +full:hub
3 The USB Host Controller Protocol is used by code, typically USB bus drivers,
5 a USB bus. In addition, it provides an abstraction for the root hub of the USB bus.
7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
56 /// Usb port features value
58 /// if combines these two bitmaps into a 32-bit bitmap.
73 #define EFI_USB_SPEED_FULL 0x0000 ///< 12 Mb/s, USB 1.1 OHCI and UHCI HC.
74 #define EFI_USB_SPEED_LOW 0x0001 ///< 1 Mb/s, USB 1.1 OHCI and UHCI HC.
75 #define EFI_USB_SPEED_HIGH 0x0002 ///< 480 Mb/s, USB 2.0 EHCI HC.
76 #define EFI_USB_SPEED_SUPER 0x0003 ///< 4.8 Gb/s, USB 3.0 XHCI HC.
80 UINT8 TranslatorPortNumber; ///< the port number of the hub that device is connected to.
92 @param PortNumber Number of the root hub ports.
93 @param Is64BitCapable TRUE if controller supports 64-bit memory addressing,
117 Provides software reset for the USB host controller.
142 Enumration value for status of USB HC.
146 ///< state. No USB transactions can occur
161 ///< USB bus traffic.
164 ///< suspend state. No USB
177 Retrieves current state of the USB host controller.
181 indicates current state of the USB host controller.
197 Sets the USB host controller to a specific state.
202 @retval EFI_SUCCESS The USB host controller was successfully placed in the state
216 Submits control transfer to a target USB device.
219 @param DeviceAddress Represents the address of the target device on the USB.
223 …@param Request A pointer to the USB device request that will be sent to the USB devic…
226 …@param Data A pointer to the buffer of data that will be transmitted to USB device…
227 received from USB device.
263 Submits bulk transfer to a bulk endpoint of a USB device.
266 @param DeviceAddress Represents the address of the target device on the USB.
268 target USB device.
273 …param Data Array of pointers to the buffers of data that will be transmitted to USB
274 device or received from USB device.
309 Submits an asynchronous interrupt transfer to an interrupt endpoint of a USB device.
313 @param DeviceAddress Represents the address of the target device on the USB.
315 target USB device.
358 Submits synchronous interrupt transfer to an interrupt endpoint of a USB device.
362 @param DeviceAddress Represents the address of the target device on the USB.
364 target USB device.
368 …@param Data A pointer to the buffer of data that will be transmitted to USB devi…
369 received from USB device.
407 Submits isochronous transfer to an isochronous endpoint of a USB device.
409 This function is used to submit isochronous transfer to a target endpoint of a USB device.
412 the host and a device. Isochronous transfers can beused only by full-speed, high-speed, and
413 super-speed devices.
415 High-speed isochronous transfers can be performed using multiple data buffers. The number of
417 full-speed isochronous transfers this value is ignored.
419 Data represents a list of pointers to the data buffers. For full-speed isochronous transfers
420 only the data pointed by Data[0]shall be used. For high-speed isochronous transfers and for
422 …high-speed isochronous transfers the total number of buffers must not exceed EFI_USB_MAX_ISO_BUFFE…
424 For split transactions performed on full-speed device by high-speed host controller the total
427 is designed to be completed within one USB frame time, if it cannot be completed, EFI_TIMEOUT
428 is returned. If an error other than timeout occurs during the USB transfer, then EFI_DEVICE_ERROR
432 - Data is NULL.
433 - DataLength is 0.
434 - DeviceSpeed is not one of the supported values listed above.
435 … - MaximumPacketLength is invalid. MaximumPacketLength must be 1023 or less for full-speed devices,
436 and 1024 or less for high-speed and super-speed devices.
437 - TransferResult is NULL.
440 @param DeviceAddress Represents the address of the target device on the USB.
442 target USB device.
448 …ram Data Array of pointers to the buffers of data that will be transmitted to USB
449 device or received from USB device.
451 the USB device.
458 …@retval EFI_TIMEOUT The isochronous transfer cannot be completed within the one USB fram…
479 Submits nonblocking isochronous transfer to an isochronous endpoint of a USB device.
481 This is an asynchronous type of USB isochronous transfer. If the caller submits a USB
490 between the host and a device. Isochronous transfers can be used only by full-speed, high-speed,
491 and super-speed devices.
493 High-speed isochronous transfers can be performed using multiple data buffers. The number of
495 full-speed isochronous transfers this value is ignored.
497 Data represents a list of pointers to the data buffers. For full-speed isochronous transfers
498 only the data pointed by Data[0] shall be used. For high-speed isochronous transfers and for
500 …the high-speed isochronous transfers the total number of buffers must not exceed EFI_USB_MAX_ISO_B…
502 For split transactions performed on full-speed device by high-speed host controller the total
506 - Data is NULL.
507 - DataLength is 0.
508 - DeviceSpeed is not one of the supported values listed above.
509 - MaximumPacketLength is invalid. MaximumPacketLength must be 1023 or less for full-speed
510 devices and 1024 or less for high-speed and super-speed devices.
513 @param DeviceAddress Represents the address of the target device on the USB.
515 target USB device.
521 …ram Data Array of pointers to the buffers of data that will be transmitted to USB
522 device or received from USB device.
524 the USB device.
555 Retrieves the current status of a USB root hub port.
558 @param PortNumber Specifies the root hub port from which the status is to be retrieved.
562 @retval EFI_SUCCESS The status of the USB root hub port specified by PortNumber
576 Sets a feature for the specified root hub port.
579 @param PortNumber Specifies the root hub port whose feature is requested to be set. This
583 @retval EFI_SUCCESS The feature specified by PortFeature was set for the USB
584 root hub port specified by PortNumber.
597 Clears a feature for the specified root hub port.
600 @param PortNumber Specifies the root hub port whose feature is requested to be cleared. This
604 @retval EFI_SUCCESS The feature specified by PortFeature was cleared for the USB
605 root hub port specified by PortNumber.
618 /// The EFI_USB2_HC_PROTOCOL provides USB host controller management, basic
619 /// data transactions over a USB bus, and USB root hub access. A device driver
620 /// that wishes to manage a USB bus in a system retrieves the EFI_USB2_HC_PROTOCOL
621 /// instance that is associated with the USB bus to be managed. A device handle
622 /// for a USB host controller will minimally contain an EFI_DEVICE_PATH_PROTOCOL
641 /// The major revision number of the USB host controller. The revision information
648 /// The minor revision number of the USB host controller. The revision information