Lines Matching refs:lane
806 struct tegra_xusb_lane *lane; in tegra210_usb3_set_lfps_detect() local
813 lane = port->lane; in tegra210_usb3_set_lfps_detect()
815 if (lane->pad == padctl->pcie) in tegra210_usb3_set_lfps_detect()
816 offset = XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL1(lane->index); in tegra210_usb3_set_lfps_detect()
888 static void tegra210_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra210_usb2_lane_remove() argument
890 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra210_usb2_lane_remove()
902 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_init() local
903 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb2_phy_init()
918 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_exit() local
920 return tegra210_xusb_padctl_disable(lane->pad->padctl); in tegra210_usb2_phy_exit()
925 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_power_on() local
926 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra210_usb2_phy_power_on()
927 struct tegra_xusb_usb2_pad *pad = to_usb2_pad(lane->pad); in tegra210_usb2_phy_power_on()
928 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb2_phy_power_on()
931 unsigned int index = lane->index; in tegra210_usb2_phy_power_on()
1050 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_power_off() local
1051 struct tegra_xusb_usb2_pad *pad = to_usb2_pad(lane->pad); in tegra210_usb2_phy_power_off()
1052 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb2_phy_power_off()
1056 port = tegra_xusb_find_usb2_port(padctl, lane->index); in tegra210_usb2_phy_power_off()
1059 lane->index); in tegra210_usb2_phy_power_off()
1187 static void tegra210_hsic_lane_remove(struct tegra_xusb_lane *lane) in tegra210_hsic_lane_remove() argument
1189 struct tegra_xusb_hsic_lane *hsic = to_hsic_lane(lane); in tegra210_hsic_lane_remove()
1201 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_init() local
1202 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_hsic_phy_init()
1217 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_exit() local
1219 return tegra210_xusb_padctl_disable(lane->pad->padctl); in tegra210_hsic_phy_exit()
1224 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_power_on() local
1225 struct tegra_xusb_hsic_lane *hsic = to_hsic_lane(lane); in tegra210_hsic_phy_power_on()
1226 struct tegra_xusb_hsic_pad *pad = to_hsic_pad(lane->pad); in tegra210_hsic_phy_power_on()
1227 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_hsic_phy_power_on()
1229 unsigned int index = lane->index; in tegra210_hsic_phy_power_on()
1312 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_power_off() local
1313 struct tegra_xusb_hsic_pad *pad = to_hsic_pad(lane->pad); in tegra210_hsic_phy_power_off()
1314 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_hsic_phy_power_off()
1315 unsigned int index = lane->index; in tegra210_hsic_phy_power_off()
1449 static void tegra210_pcie_lane_remove(struct tegra_xusb_lane *lane) in tegra210_pcie_lane_remove() argument
1451 struct tegra_xusb_pcie_lane *pcie = to_pcie_lane(lane); in tegra210_pcie_lane_remove()
1463 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_pcie_phy_init() local
1465 return tegra210_xusb_padctl_enable(lane->pad->padctl); in tegra210_pcie_phy_init()
1470 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_pcie_phy_exit() local
1472 return tegra210_xusb_padctl_disable(lane->pad->padctl); in tegra210_pcie_phy_exit()
1477 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_pcie_phy_power_on() local
1478 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_pcie_phy_power_on()
1489 value |= XUSB_PADCTL_USB3_PAD_MUX_PCIE_IDDQ_DISABLE(lane->index); in tegra210_pcie_phy_power_on()
1499 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_pcie_phy_power_off() local
1500 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_pcie_phy_power_off()
1504 value &= ~XUSB_PADCTL_USB3_PAD_MUX_PCIE_IDDQ_DISABLE(lane->index); in tegra210_pcie_phy_power_off()
1620 static void tegra210_sata_lane_remove(struct tegra_xusb_lane *lane) in tegra210_sata_lane_remove() argument
1622 struct tegra_xusb_sata_lane *sata = to_sata_lane(lane); in tegra210_sata_lane_remove()
1634 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_sata_phy_init() local
1636 return tegra210_xusb_padctl_enable(lane->pad->padctl); in tegra210_sata_phy_init()
1641 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_sata_phy_exit() local
1643 return tegra210_xusb_padctl_disable(lane->pad->padctl); in tegra210_sata_phy_exit()
1648 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_sata_phy_power_on() local
1649 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_sata_phy_power_on()
1660 value |= XUSB_PADCTL_USB3_PAD_MUX_SATA_IDDQ_DISABLE(lane->index); in tegra210_sata_phy_power_on()
1670 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_sata_phy_power_off() local
1671 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_sata_phy_power_off()
1675 value &= ~XUSB_PADCTL_USB3_PAD_MUX_SATA_IDDQ_DISABLE(lane->index); in tegra210_sata_phy_power_off()
1678 tegra210_sata_uphy_disable(lane->pad->padctl); in tegra210_sata_phy_power_off()
1807 struct tegra_xusb_lane *lane = usb3->base.lane; in tegra210_usb3_port_enable() local
1859 if (lane->pad == padctl->sata) in tegra210_usb3_port_enable()
1893 struct tegra_xusb_lane *lane = port->lane; in tegra210_usb3_port_disable() local
1913 if (lane->pad == padctl->sata) in tegra210_usb3_port_disable()