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

/freebsd-13-stable/sys/arm/xilinx/
H A Dzy7_ehci.c157 uint32_t portsc; local
163 portsc = bus_space_read_4(io_tag, bsh, ZY7_USB_PORTSC(1));
164 portsc &= ~(ZY7_USB_PORTSC_PTS_MASK | ZY7_USB_PORTSC_PTW |
168 portsc |= ZY7_USB_PORTSC_PTS_ULPI;
170 portsc |= ZY7_USB_PORTSC_PTS_UTMI;
172 portsc |= (ZY7_USB_PORTSC_PTS_UTMI |
175 portsc |= ZY7_USB_PORTSC_PTS_SERIAL;
177 bus_space_write_4(io_tag, bsh, ZY7_USB_PORTSC(1), portsc);
/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_xhci.c190 uint32_t portsc; /* port status and control */ member in struct:pci_xhci_portregs
395 port->portsc |= XHCI_PS_CSC | XHCI_PS_CCS;
396 port->portsc &= ~XHCI_PS_PLS_MASK;
403 port->portsc |=
406 port->portsc |=
480 if ((p->portsc & XHCI_PS_PP) == 0) {
487 oldpls = XHCI_PS_PLS_GET(p->portsc);
490 p->portsc &= XHCI_PS_PED | XHCI_PS_PLS_MASK |
494 p->portsc |= XHCI_PS_CCS;
496 p->portsc |
[all...]

Completed in 162 milliseconds