Lines Matching refs:portsc
2041 static enum usb_device_speed tegra_xhci_portsc_to_speed(struct tegra_xusb *tegra, u32 portsc)
2043 if (DEV_LOWSPEED(portsc))
2046 if (DEV_HIGHSPEED(portsc))
2049 if (DEV_FULLSPEED(portsc))
2052 if (DEV_SUPERSPEED_ANY(portsc))
2067 u32 portsc;
2094 portsc = readl(rhub->ports[index]->addr);
2095 speed = tegra_xhci_portsc_to_speed(tegra, portsc);
2172 u32 portsc;
2189 portsc = readl(xhci->usb2_rhub.ports[i]->addr);
2191 if (((portsc & PORT_PLS_MASK) == XDEV_U3) || ((portsc & DEV_SPEED_MASK) == XDEV_FS))
2699 u32 portsc;
2711 portsc = readl(ports[i]->addr);
2712 if ((portsc & PORT_PLS_MASK) == XDEV_RESUME)
2729 portsc = readl(ports[port]->addr);
2730 if (portsc & PORT_CONNECT)
2748 portsc = readl(ports[port]->addr);
2749 if (!(portsc & PORT_CONNECT)) {