Searched refs:PortStatus (Results 1 - 25 of 26) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBusPei/
H A DUsbPeim.c221 EFI_USB_PORT_STATUS PortStatus; local
235 (UINT32 *) &PortStatus
242 if (IsPortConnectChange (PortStatus.PortChangeStatus)) {
252 if (IsPortConnect (PortStatus.PortStatus)) {
258 (UINT32 *) &PortStatus
304 (UINT32 *) &PortStatus
307 NewPeiUsbDevice->DeviceSpeed = (UINT8)IsPortLowSpeedDeviceAttached (PortStatus.PortStatus);
375 EFI_USB_PORT_STATUS PortStatus; local
[all...]
H A DPeiUsbLib.c264 @param PortStatus The usb port status gotten.
272 IN UINT16 PortStatus
276 // return the bit 0 value of PortStatus
278 if ((PortStatus & USB_PORT_STAT_CONNECTION) != 0) {
288 @param PortStatus The usb port status gotten.
296 IN UINT16 PortStatus
300 // return the bit 9 value of PortStatus
302 if ((PortStatus & USB_PORT_STAT_LOW_SPEED) != 0) {
304 } else if ((PortStatus & USB_PORT_STAT_HIGH_SPEED) != 0){
H A DPeiUsbLib.h212 @param PortStatus The usb port status gotten.
220 IN UINT16 PortStatus
226 @param PortStatus The usb port status gotten.
234 IN UINT16 PortStatus
H A DHubPeim.c27 @param PortStatus Current Hub port status and change status.
39 OUT UINT32 *PortStatus
61 PortStatus,
342 UINT32 PortStatus; local
394 &PortStatus
H A DHubPeim.h110 @param PortStatus Current Hub port status and change status.
122 OUT UINT32 *PortStatus
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/XhciDxe/
H A DXhci.c326 @param PortStatus Variable to receive the port state.
329 by PortNumber was returned in PortStatus.
339 OUT EFI_USB_PORT_STATUS *PortStatus
352 if (PortStatus == NULL) {
369 PortStatus->PortStatus = 0;
370 PortStatus->PortChangeStatus = 0;
379 PortStatus->PortStatus |= USB_PORT_STAT_LOW_SPEED;
383 PortStatus
748 EFI_USB_PORT_STATUS PortStatus; local
[all...]
H A DXhci.h402 @param PortStatus Variable to receive the port state.
405 by PortNumber was returned in PortStatus.
415 OUT EFI_USB_PORT_STATUS *PortStatus
H A DXhciSched.c1359 if (((PortState->PortStatus & USB_PORT_STAT_ENABLE) != 0) &&
1360 ((PortState->PortStatus & USB_PORT_STAT_CONNECTION) != 0)) {
1365 if ((PortState->PortStatus & USB_PORT_STAT_LOW_SPEED) != 0) {
1367 } else if ((PortState->PortStatus & USB_PORT_STAT_HIGH_SPEED) != 0) {
1369 } else if ((PortState->PortStatus & USB_PORT_STAT_SUPER_SPEED) != 0) {
1384 } else if ((PortState->PortStatus & USB_PORT_STAT_CONNECTION) == 0) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBotPei/
H A DPeiUsbLib.c264 @param PortStatus The usb port status gotten.
272 IN UINT16 PortStatus
276 // return the bit 0 value of PortStatus
278 if ((PortStatus & USB_PORT_STAT_CONNECTION) != 0) {
288 @param PortStatus The usb port status gotten.
296 IN UINT16 PortStatus
300 // return the bit 9 value of PortStatus
302 if ((PortStatus & USB_PORT_STAT_LOW_SPEED) != 0) {
H A DPeiUsbLib.h210 @param PortStatus The usb port status gotten.
218 IN UINT16 PortStatus
224 @param PortStatus The usb port status gotten.
232 IN UINT16 PortStatus
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciPei/
H A DEhcPeim.c881 @param PortStatus Variable to receive the port state.
884 by PortNumber was returned in PortStatus.
894 OUT EFI_USB_PORT_STATUS *PortStatus
905 if (PortStatus == NULL) {
920 PortStatus->PortStatus = 0;
921 PortStatus->PortChangeStatus = 0;
932 PortStatus->PortStatus |= USB_PORT_STAT_LOW_SPEED;
935 PortStatus
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/UhciDxe/
H A DUhci.c331 @param PortStatus A pointer to the current port status bits and port
334 @return EFI_SUCCESS status of the USB root hub port was returned in PortStatus.
344 OUT EFI_USB_PORT_STATUS *PortStatus
353 if (PortStatus == NULL) {
362 PortStatus->PortStatus = 0;
363 PortStatus->PortChangeStatus = 0;
368 PortStatus->PortStatus |= USB_PORT_STAT_CONNECTION;
372 PortStatus
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/UhciPei/
H A DUhcPeim.c667 @param PortStatus Variable to receive the port state.
670 by PortNumber was returned in PortStatus.
680 OUT EFI_USB_PORT_STATUS *PortStatus
688 if (PortStatus == NULL) {
700 PortStatus->PortStatus = 0;
701 PortStatus->PortChangeStatus = 0;
709 PortStatus->PortStatus |= USB_PORT_STAT_CONNECTION;
715 PortStatus
[all...]
H A DUhcPeim.h301 @param PortStatus Variable to receive the port state.
304 by PortNumber was returned in PortStatus.
314 OUT EFI_USB_PORT_STATUS *PortStatus
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
H A DDebugCommunicationLibUsb.c564 UINT32 *PortStatus; local
630 PortStatus = (UINT32 *)(Handle->EhciMemoryBase + 0x64 + (DebugPortNumber - 1) * 4);
631 if (!(MmioRead32((UINTN)PortStatus) & BIT0) || ((MmioRead32((UINTN)PortStatus) & USB_PORT_LINE_STATUS_MASK) == USB_PORT_LINE_STATUS_LS)) {
638 MmioOr32((UINTN)PortStatus, BIT8);
640 MmioAnd32((UINTN)PortStatus, (UINT32)~BIT8);
641 while (MmioRead32((UINTN)PortStatus) & BIT8);
646 if ((MmioRead32((UINTN)PortStatus) & BIT2) == 0) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Ppi/
H A DUsbHostController.h164 @param[out] PortStatus A pointer to the current port status bits and port
168 PortNumber was returned in PortStatus.
178 OUT EFI_USB_PORT_STATUS *PortStatus
H A DUsb2HostController.h176 @param[out] PortStatus A pointer to the current port status bits and port
180 PortNumber was returned in PortStatus.
190 OUT EFI_USB_PORT_STATUS *PortStatus
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciDxe/
H A DEhci.c311 @param PortStatus Variable to receive the port state.
314 by PortNumber was returned in PortStatus.
324 OUT EFI_USB_PORT_STATUS *PortStatus
337 if (PortStatus == NULL) {
354 PortStatus->PortStatus = 0;
355 PortStatus->PortChangeStatus = 0;
373 PortStatus->PortStatus |= USB_PORT_STAT_LOW_SPEED;
376 PortStatus
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBusDxe/
H A DUsbEnumer.c682 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_CONNECTION)) {
685 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_SUPER_SPEED)){
688 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_HIGH_SPEED)) {
691 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_LOW_SPEED)) {
865 Port, PortState.PortStatus, PortState.PortChangeStatus, HubIf));
875 if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_OVERCURRENT)) {
923 if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_CONNECTION)) {
H A DUsbUtility.h94 @param PortStatus The variable to save port state.
104 OUT EFI_USB_PORT_STATUS *PortStatus
H A DUsbHub.c987 !USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_RESET)) {
1301 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_RESET)) {
1313 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_ENABLE)) {
H A DUsbUtility.c184 @param PortStatus The variable to save port state.
194 OUT EFI_USB_PORT_STATUS *PortStatus
200 Status = UsbBus->Usb2Hc->GetRootHubPortStatus (UsbBus->Usb2Hc, PortIndex, PortStatus);
202 Status = UsbBus->UsbHc->GetRootHubPortStatus (UsbBus->UsbHc, PortIndex, PortStatus);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DUsb2HostController.h35 UINT16 PortStatus; ///< Contains current port status bitmap. member in struct:__anon12380
40 /// EFI_USB_PORT_STATUS.PortStatus bit definition
504 @param PortStatus A pointer to the current port status bits and port status change bits.
507 was returned in PortStatus.
516 OUT EFI_USB_PORT_STATUS *PortStatus
H A DUsbHostController.h407 @param PortStatus A pointer to the current port status bits and port status change bits.
410 was returned in PortStatus.
419 OUT EFI_USB_PORT_STATUS *PortStatus
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
H A DAhciMode.c1242 UINT32 PortStatus; local
1271 PortStatus = AhciReadReg (PciIo, Offset);
1274 if ((PortStatus & EFI_AHCI_PORT_CMD_ALPE) != 0) {

Completed in 95 milliseconds

12