Lines Matching defs:portsc
2045 static enum usb_device_speed tegra_xhci_portsc_to_speed(struct tegra_xusb *tegra, u32 portsc)
2047 if (DEV_LOWSPEED(portsc))
2050 if (DEV_HIGHSPEED(portsc))
2053 if (DEV_FULLSPEED(portsc))
2056 if (DEV_SUPERSPEED_ANY(portsc))
2071 u32 portsc;
2098 portsc = readl(rhub->ports[index]->addr);
2099 speed = tegra_xhci_portsc_to_speed(tegra, portsc);
2176 u32 portsc;
2193 portsc = readl(xhci->usb2_rhub.ports[i]->addr);
2195 if (((portsc & PORT_PLS_MASK) == XDEV_U3) || ((portsc & DEV_SPEED_MASK) == XDEV_FS))
2703 u32 portsc;
2715 portsc = readl(ports[i]->addr);
2716 if ((portsc & PORT_PLS_MASK) == XDEV_RESUME)
2733 portsc = readl(ports[port]->addr);
2734 if (portsc & PORT_CONNECT)
2752 portsc = readl(ports[port]->addr);
2753 if (!(portsc & PORT_CONNECT)) {