Lines Matching refs:eec
442 uint32 eec = 0xffffffff; in XHCI() local
444 for (; eecp != 0 && XECP_NEXT(eec); eecp += XECP_NEXT(eec) << 2) { in XHCI()
447 eec = ReadCapReg32(eecp); in XHCI()
448 if (XECP_ID(eec) != XHCI_LEGSUP_CAPID) in XHCI()
451 if (eec & XHCI_LEGSUP_BIOSOWNED) { in XHCI()
454 WriteCapReg32(eecp, eec | XHCI_LEGSUP_OSOWNED); in XHCI()
457 eec = ReadCapReg32(eecp); in XHCI()
459 if ((eec & XHCI_LEGSUP_BIOSOWNED) == 0) in XHCI()
466 if (eec & XHCI_LEGSUP_BIOSOWNED) { in XHCI()
469 } else if (eec & XHCI_LEGSUP_OSOWNED) { in XHCI()
477 WriteCapReg32(eecp, eec & ~XHCI_LEGSUP_BIOSOWNED); in XHCI()
658 uint32 eec = 0xffffffff; in Start() local
660 for (; eecp != 0 && XECP_NEXT(eec) && portFound < fPortCount; in Start()
661 eecp += XECP_NEXT(eec) << 2) { in Start()
662 eec = ReadCapReg32(eecp); in Start()
663 if (XECP_ID(eec) != XHCI_SUPPORTED_PROTOCOLS_CAPID) in Start()
665 if (XHCI_SUPPORTED_PROTOCOLS_0_MAJOR(eec) > 3) in Start()
674 if (XHCI_SUPPORTED_PROTOCOLS_0_MAJOR(eec) == 0x3) in Start()