Description, Status code returned – Intel Extensible Firmware Interface User Manual

Page 584

Advertising
background image

Extensible Firmware Interface Specification

14-44 12/01/02

Version

1.10

Description

This function allows a USB device driver to communicate with the USB device through Bulk
Transfer. The transfer direction is determined by the endpoint direction. If the USB transfer is
successful, then

EFI_SUCCESS

is returned. If USB transfer cannot be completed within the

Timeout

frame,

EFI_TIMEOUT

is returned. If an error other than timeout occurs during the

USB transfer, then

EFI_DEVICE_ERROR

is returned and the detailed status code will be returned

in the

Status

parameter.

Status Code Returned

EFI_SUCCESS

The bulk transfer has been successfully executed.

EFI_INVALID_PARAMETER

If

DeviceEndpoint

is not valid.

EFI_INVALID_PARAMETER

Data

is

NULL

.

EFI_INVALID_PARAMETER

DataLength

is

NULL

.

EFI_INVALID_PARAMETER

Status

is

NULL

.

EFI_OUT_OF_RESOURCES

The request could not be completed due to a lack of resources.

EFI_TIMEOUT

The bulk transfer cannot be completed within

Timeout

timeframe.

EFI_DEVICE_ERROR

The transfer failed other than timeout, and the transfer status is returned
in

Status

.

Advertising