Home
last modified time | relevance | path

Searched refs:portsc (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/xhci/
H A Dxhci_portsc.c81 xp_dump_verbose(uint32_t portsc) in xp_dump_verbose() argument
83 if (portsc & XHCI_PS_CCS) in xp_dump_verbose()
85 if (portsc & XHCI_PS_PED) in xp_dump_verbose()
87 if (portsc & XHCI_PS_OCA) in xp_dump_verbose()
89 if (portsc & XHCI_PS_PR) in xp_dump_verbose()
91 if (portsc & XHCI_PS_PP) { in xp_dump_verbose()
93 xp_pls_strings[XHCI_PS_PLS_GET(portsc)], in xp_dump_verbose()
94 XHCI_PS_PLS_GET(portsc)); in xp_dump_verbose()
100 if (XHCI_PS_SPEED_GET(portsc) != 0) { in xp_dump_verbose()
102 switch (XHCI_PS_SPEED_GET(portsc)) { in xp_dump_verbose()
[all …]
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_xhci.c193 uint32_t portsc; /* port status and control */ member
397 port->portsc |= XHCI_PS_CSC | XHCI_PS_CCS; in pci_xhci_usbcmd_write()
398 port->portsc &= ~XHCI_PS_PLS_MASK; in pci_xhci_usbcmd_write()
405 port->portsc |= in pci_xhci_usbcmd_write()
408 port->portsc |= in pci_xhci_usbcmd_write()
482 if ((p->portsc & XHCI_PS_PP) == 0) { in pci_xhci_portregs_write()
489 oldpls = XHCI_PS_PLS_GET(p->portsc); in pci_xhci_portregs_write()
493 p->portsc &= XHCI_PS_PED | XHCI_PS_PP | XHCI_PS_PLS_MASK | in pci_xhci_portregs_write()
496 p->portsc &= XHCI_PS_PED | XHCI_PS_PLS_MASK | in pci_xhci_portregs_write()
501 p->portsc |= XHCI_PS_CCS; in pci_xhci_portregs_write()
[all …]