Home
last modified time | relevance | path

Searched refs:DevReq (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/
DUsbDxeLib.c58 EFI_USB_DEVICE_REQUEST DevReq; in UsbGetDescriptor() local
64 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbGetDescriptor()
66 DevReq.RequestType = USB_DEV_GET_DESCRIPTOR_REQ_TYPE; in UsbGetDescriptor()
67 DevReq.Request = USB_REQ_GET_DESCRIPTOR; in UsbGetDescriptor()
68 DevReq.Value = Value; in UsbGetDescriptor()
69 DevReq.Index = Index; in UsbGetDescriptor()
70 DevReq.Length = DescriptorLength; in UsbGetDescriptor()
74 &DevReq, in UsbGetDescriptor()
118 EFI_USB_DEVICE_REQUEST DevReq; in UsbSetDescriptor() local
124 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in UsbSetDescriptor()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
DPeiUsbLib.c46 EFI_USB_DEVICE_REQUEST DevReq; in PeiUsbGetDescriptor() local
50 DevReq.RequestType = USB_DEV_GET_DESCRIPTOR_REQ_TYPE; in PeiUsbGetDescriptor()
51 DevReq.Request = USB_DEV_GET_DESCRIPTOR; in PeiUsbGetDescriptor()
52 DevReq.Value = Value; in PeiUsbGetDescriptor()
53 DevReq.Index = Index; in PeiUsbGetDescriptor()
54 DevReq.Length = DescriptorLength; in PeiUsbGetDescriptor()
59 &DevReq, in PeiUsbGetDescriptor()
86 EFI_USB_DEVICE_REQUEST DevReq; in PeiUsbSetDeviceAddress() local
90 DevReq.RequestType = USB_DEV_SET_ADDRESS_REQ_TYPE; in PeiUsbSetDeviceAddress()
91 DevReq.Request = USB_DEV_SET_ADDRESS; in PeiUsbSetDeviceAddress()
[all …]
DHubPeim.c300 EFI_USB_DEVICE_REQUEST DevReq; in PeiGetHubDescriptor() local
301 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiGetHubDescriptor()
306 DevReq.RequestType = USB_RT_HUB | 0x80; in PeiGetHubDescriptor()
307 DevReq.Request = USB_HUB_GET_DESCRIPTOR; in PeiGetHubDescriptor()
308 DevReq.Value = USB_DT_HUB << 8; in PeiGetHubDescriptor()
309 DevReq.Length = (UINT16)DescriptorSize; in PeiGetHubDescriptor()
314 &DevReq, in PeiGetHubDescriptor()
342 EFI_USB_DEVICE_REQUEST DevReq; in PeiGetSuperSpeedHubDesc() local
343 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in PeiGetSuperSpeedHubDesc()
348 DevReq.RequestType = USB_RT_HUB | 0x80; in PeiGetSuperSpeedHubDesc()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DPeiUsbLib.c46 EFI_USB_DEVICE_REQUEST DevReq; in PeiUsbGetDescriptor() local
50 DevReq.RequestType = USB_DEV_GET_DESCRIPTOR_REQ_TYPE; in PeiUsbGetDescriptor()
51 DevReq.Request = USB_DEV_GET_DESCRIPTOR; in PeiUsbGetDescriptor()
52 DevReq.Value = Value; in PeiUsbGetDescriptor()
53 DevReq.Index = Index; in PeiUsbGetDescriptor()
54 DevReq.Length = DescriptorLength; in PeiUsbGetDescriptor()
59 &DevReq, in PeiUsbGetDescriptor()
86 EFI_USB_DEVICE_REQUEST DevReq; in PeiUsbSetDeviceAddress() local
90 DevReq.RequestType = USB_DEV_SET_ADDRESS_REQ_TYPE; in PeiUsbSetDeviceAddress()
91 DevReq.Request = USB_DEV_SET_ADDRESS; in PeiUsbSetDeviceAddress()
[all …]
DBotPeim.c37 EFI_USB_DEVICE_REQUEST DevReq; in BotRecoveryReset() local
49 ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUEST)); in BotRecoveryReset()
51 DevReq.RequestType = 0x21; in BotRecoveryReset()
52 DevReq.Request = 0xFF; in BotRecoveryReset()
53 DevReq.Value = 0; in BotRecoveryReset()
54 DevReq.Index = 0; in BotRecoveryReset()
55 DevReq.Length = 0; in BotRecoveryReset()
62 &DevReq, in BotRecoveryReset()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/
DFtdiUsbSerialDriver.c606 EFI_USB_DEVICE_REQUEST DevReq; in SetDataInternal() local
642 DevReq.Value = SET_DATA_BITS (LastSettings->DataBits); in SetDataInternal()
647 DevReq.Value = SET_DATA_BITS (DataBits); in SetDataInternal()
658 DevReq.Value |= SET_PARITY_NONE; in SetDataInternal()
660 DevReq.Value |= SET_PARITY_EVEN; in SetDataInternal()
662 DevReq.Value |= SET_PARITY_ODD; in SetDataInternal()
664 DevReq.Value |= SET_PARITY_MARK; in SetDataInternal()
666 DevReq.Value |= SET_PARITY_SPACE; in SetDataInternal()
677 DevReq.Value |= SET_STOP_BITS_1; in SetDataInternal()
679 DevReq.Value |= SET_STOP_BITS_15; in SetDataInternal()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbDesc.c438 EFI_USB_DEVICE_REQUEST DevReq; in UsbCtrlRequest() local
445 DevReq.RequestType = USB_REQUEST_TYPE (Direction, Type, Target); in UsbCtrlRequest()
446 DevReq.Request = (UINT8) Request; in UsbCtrlRequest()
447 DevReq.Value = Value; in UsbCtrlRequest()
448 DevReq.Index = Index; in UsbCtrlRequest()
449 DevReq.Length = (UINT16) Length; in UsbCtrlRequest()
457 &DevReq, in UsbCtrlRequest()
957 EFI_USB_DEVICE_REQUEST DevReq; in UsbIoClearFeature() local
961 DevReq.RequestType = USB_REQUEST_TYPE (EfiUsbNoData, USB_REQ_TYPE_STANDARD, Target); in UsbIoClearFeature()
962 DevReq.Request = USB_REQ_CLEAR_FEATURE; in UsbIoClearFeature()
[all …]