Home
last modified time | relevance | path

Searched refs:TotalPort (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DEhcPeim.c703 UINT32 TotalPort; in EhcClearRootHubPortFeature() local
709 TotalPort = (Ehc->HcStructParams & HCSP_NPORTS); in EhcClearRootHubPortFeature()
711 if (PortNumber >= TotalPort) { in EhcClearRootHubPortFeature()
823 UINT32 TotalPort; in EhcSetRootHubPortFeature() local
829 TotalPort = (Ehc->HcStructParams & HCSP_NPORTS); in EhcSetRootHubPortFeature()
831 if (PortNumber >= TotalPort) { in EhcSetRootHubPortFeature()
925 UINT32 TotalPort; in EhcGetRootHubPortStatus() local
937 TotalPort = (Ehc->HcStructParams & HCSP_NPORTS); in EhcGetRootHubPortStatus()
939 if (PortNumber >= TotalPort) { in EhcGetRootHubPortStatus()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DEhci.c344 UINT32 TotalPort; in EhcGetRootHubPortStatus() local
359 TotalPort = (Ehc->HcStructParams & HCSP_NPORTS); in EhcGetRootHubPortStatus()
361 if (PortNumber >= TotalPort) { in EhcGetRootHubPortStatus()
441 UINT32 TotalPort; in EhcSetRootHubPortFeature() local
448 TotalPort = (Ehc->HcStructParams & HCSP_NPORTS); in EhcSetRootHubPortFeature()
450 if (PortNumber >= TotalPort) { in EhcSetRootHubPortFeature()
554 UINT32 TotalPort; in EhcClearRootHubPortFeature() local
561 TotalPort = (Ehc->HcStructParams & HCSP_NPORTS); in EhcClearRootHubPortFeature()
563 if (PortNumber >= TotalPort) { in EhcClearRootHubPortFeature()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhci.c376 UINT32 TotalPort; in XhcGetRootHubPortStatus() local
392 TotalPort = Xhc->HcSParams1.Data.MaxPorts; in XhcGetRootHubPortStatus()
394 if (PortNumber >= TotalPort) { in XhcGetRootHubPortStatus()
494 UINT32 TotalPort; in XhcSetRootHubPortFeature() local
503 TotalPort = (Xhc->HcSParams1.Data.MaxPorts); in XhcSetRootHubPortFeature()
505 if (PortNumber >= TotalPort) { in XhcSetRootHubPortFeature()
611 UINT32 TotalPort; in XhcClearRootHubPortFeature() local
620 TotalPort = (Xhc->HcSParams1.Data.MaxPorts); in XhcClearRootHubPortFeature()
622 if (PortNumber >= TotalPort) { in XhcClearRootHubPortFeature()