Home
last modified time | relevance | path

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

/qemu/hw/usb/
H A Dhcd-ehci.c695 uint32_t *portsc = &s->portsc[port->index]; in ehci_attach() local
696 const char *owner = (*portsc & PORTSC_POWNER) ? "comp" : "ehci"; in ehci_attach()
700 if (*portsc & PORTSC_POWNER) { in ehci_attach()
707 *portsc |= PORTSC_CONNECT; in ehci_attach()
708 *portsc |= PORTSC_CSC; in ehci_attach()
716 uint32_t *portsc = &s->portsc[port->index]; in ehci_detach() local
717 const char *owner = (*portsc & PORTSC_POWNER) ? "comp" : "ehci"; in ehci_detach()
721 if (*portsc & PORTSC_POWNER) { in ehci_detach()
729 *portsc &= ~PORTSC_POWNER; in ehci_detach()
736 *portsc &= ~(PORTSC_CONNECT|PORTSC_PED|PORTSC_SUSPEND); in ehci_detach()
[all …]
H A Dhcd-xhci.c2620 if ((port->portsc & bits) == bits) { in xhci_port_notify()
2624 port->portsc |= bits; in xhci_port_notify()
2636 port->portsc = PORTSC_PP; in xhci_port_update()
2638 port->portsc |= PORTSC_CCS; in xhci_port_update()
2641 port->portsc |= PORTSC_SPEED_LOW; in xhci_port_update()
2645 port->portsc |= PORTSC_SPEED_FULL; in xhci_port_update()
2649 port->portsc |= PORTSC_SPEED_HIGH; in xhci_port_update()
2653 port->portsc |= PORTSC_SPEED_SUPER; in xhci_port_update()
2654 port->portsc |= PORTSC_PED; in xhci_port_update()
2659 set_field(&port->portsc, pls, PORTSC_PLS); in xhci_port_update()
[all …]
H A Dhcd-xhci.h125 uint32_t portsc; member
H A Dhcd-ehci.h291 uint32_t portsc[EHCI_PORTS]; member