This file contains URB request, each request is warpped in a\r
URB (Usb Request Block).\r
\r
-Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
EFI_USB_DEVICE_REQUEST *Request; // Control transfer only\r
VOID *RequestPhy; // Address of the mapped request\r
VOID *RequestMap;\r
- BOOLEAN AllocateCommonBuffer;\r
VOID *Data;\r
UINTN DataLen;\r
VOID *DataPhy; // Address of the mapped user data\r
/**\r
Create a new URB and its associated QTD.\r
\r
- @param Ehc The EHCI device.\r
- @param DevAddr The device address.\r
- @param EpAddr Endpoint addrress & its direction.\r
- @param DevSpeed The device speed.\r
- @param Toggle Initial data toggle to use.\r
- @param MaxPacket The max packet length of the endpoint.\r
- @param Hub The transaction translator to use.\r
- @param Type The transaction type.\r
- @param Request The standard USB request for control transfer.\r
- @param AllocateCommonBuffer Indicate whether need to allocate common buffer for data transfer.\r
- @param Data The user data to transfer, NULL if AllocateCommonBuffer is TRUE.\r
- @param DataLen The length of data buffer.\r
- @param Callback The function to call when data is transferred.\r
- @param Context The context to the callback.\r
- @param Interval The interval for interrupt transfer.\r
+ @param Ehc The EHCI device.\r
+ @param DevAddr The device address.\r
+ @param EpAddr Endpoint addrress & its direction.\r
+ @param DevSpeed The device speed.\r
+ @param Toggle Initial data toggle to use.\r
+ @param MaxPacket The max packet length of the endpoint.\r
+ @param Hub The transaction translator to use.\r
+ @param Type The transaction type.\r
+ @param Request The standard USB request for control transfer.\r
+ @param Data The user data to transfer.\r
+ @param DataLen The length of data buffer.\r
+ @param Callback The function to call when data is transferred.\r
+ @param Context The context to the callback.\r
+ @param Interval The interval for interrupt transfer.\r
\r
@return Created URB or NULL.\r
\r
IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Hub,\r
IN UINTN Type,\r
IN EFI_USB_DEVICE_REQUEST *Request,\r
- IN BOOLEAN AllocateCommonBuffer,\r
IN VOID *Data,\r
IN UINTN DataLen,\r
IN EFI_ASYNC_USB_TRANSFER_CALLBACK Callback,\r