Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Dhcd-xhci.c2653 set_field(&port->portsc, pls, PORTSC_PLS); in xhci_port_update()
2677 set_field(&port->portsc, PLS_U0, PORTSC_PLS); in xhci_port_reset()
2850 uint32_t old_pls = get_field(port->portsc, PORTSC_PLS); in xhci_port_write()
2851 uint32_t new_pls = get_field(val, PORTSC_PLS); in xhci_port_write()
2855 set_field(&portsc, new_pls, PORTSC_PLS); in xhci_port_write()
2862 set_field(&portsc, new_pls, PORTSC_PLS); in xhci_port_write()
3229 if (get_field(port->portsc, PORTSC_PLS) != PLS_U3) { in xhci_wakeup()
3232 set_field(&port->portsc, PLS_RESUME, PORTSC_PLS); in xhci_wakeup()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c82 #define PORTSC_PLS(x) (((x) << PORTSC_PLS_SHIFT) & PORTSC_PLS_MASK) macro
749 val |= PORTSC_LWS | PORTSC_PLS(PORTSC_PLS_U0); in tegra_xudc_device_mode_off()
1986 val |= PORTSC_LWS | PORTSC_PLS(PORTSC_PLS_U0); in tegra_xudc_resume_device_state()
3451 val |= PORTSC_LWS | PORTSC_PLS(PORTSC_PLS_RXDETECT); in tegra_xudc_device_params_init()
3462 val |= PORTSC_LWS | PORTSC_PLS(PORTSC_PLS_RXDETECT); in tegra_xudc_device_params_init()