Home
last modified time | relevance | path

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

/freebsd/sys/arm/xilinx/
H A Dzy7_ehci.c152 uint32_t portsc; in zy7_phy_config() local
158 portsc = bus_space_read_4(io_tag, bsh, ZY7_USB_PORTSC(1)); in zy7_phy_config()
159 portsc &= ~(ZY7_USB_PORTSC_PTS_MASK | ZY7_USB_PORTSC_PTW | in zy7_phy_config()
163 portsc |= ZY7_USB_PORTSC_PTS_ULPI; in zy7_phy_config()
165 portsc |= ZY7_USB_PORTSC_PTS_UTMI; in zy7_phy_config()
167 portsc |= (ZY7_USB_PORTSC_PTS_UTMI | in zy7_phy_config()
170 portsc |= ZY7_USB_PORTSC_PTS_SERIAL; in zy7_phy_config()
172 bus_space_write_4(io_tag, bsh, ZY7_USB_PORTSC(1), portsc); in zy7_phy_config()
/freebsd/usr.sbin/bhyve/
H A Dpci_xhci.c197 uint32_t portsc; /* port status and control */ member
402 port->portsc |= XHCI_PS_CSC | XHCI_PS_CCS; in pci_xhci_usbcmd_write()
403 port->portsc &= ~XHCI_PS_PLS_MASK; in pci_xhci_usbcmd_write()
410 port->portsc |= in pci_xhci_usbcmd_write()
413 port->portsc |= in pci_xhci_usbcmd_write()
487 if ((p->portsc & XHCI_PS_PP) == 0) { in pci_xhci_portregs_write()
494 oldpls = XHCI_PS_PLS_GET(p->portsc); in pci_xhci_portregs_write()
497 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()
503 p->portsc |= (value & in pci_xhci_portregs_write()
[all …]