Lines Matching full:lane
323 static void tegra186_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb2_lane_remove() argument
325 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_usb2_lane_remove()
330 static int tegra186_utmi_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_utmi_enable_phy_sleepwalk() argument
333 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_enable_phy_sleepwalk()
335 unsigned int index = lane->index; in tegra186_utmi_enable_phy_sleepwalk()
479 static int tegra186_utmi_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_sleepwalk() argument
481 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_disable_phy_sleepwalk()
483 unsigned int index = lane->index; in tegra186_utmi_disable_phy_sleepwalk()
527 static int tegra186_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_enable_phy_wake() argument
529 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_enable_phy_wake()
530 unsigned int index = lane->index; in tegra186_utmi_enable_phy_wake()
552 static int tegra186_utmi_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_wake() argument
554 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_disable_phy_wake()
555 unsigned int index = lane->index; in tegra186_utmi_disable_phy_wake()
577 static bool tegra186_utmi_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_utmi_phy_remote_wake_detected() argument
579 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_remote_wake_detected()
580 unsigned int index = lane->index; in tegra186_utmi_phy_remote_wake_detected()
684 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_on() local
685 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_pad_power_on()
689 unsigned int index = lane->index; in tegra186_utmi_pad_power_on()
703 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_pad_power_on()
728 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_down() local
729 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_pad_power_down()
731 unsigned int index = lane->index; in tegra186_utmi_pad_power_down()
817 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_set_mode() local
818 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_set_mode()
820 lane->index); in tegra186_utmi_phy_set_mode()
855 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_power_on() local
856 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_utmi_phy_power_on()
857 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_power_on()
860 unsigned int index = lane->index; in tegra186_utmi_phy_power_on()
866 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_power_on()
933 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_init() local
934 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_init()
936 unsigned int index = lane->index; in tegra186_utmi_phy_init()
943 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_init()
971 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_exit() local
972 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_exit()
974 unsigned int index = lane->index; in tegra186_utmi_phy_exit()
980 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_exit()
1116 static void tegra186_usb3_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb3_lane_remove() argument
1118 struct tegra_xusb_usb3_lane *usb3 = to_usb3_lane(lane); in tegra186_usb3_lane_remove()
1123 static int tegra186_usb3_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_usb3_enable_phy_sleepwalk() argument
1126 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_enable_phy_sleepwalk()
1127 unsigned int index = lane->index; in tegra186_usb3_enable_phy_sleepwalk()
1149 static int tegra186_usb3_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_usb3_disable_phy_sleepwalk() argument
1151 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_disable_phy_sleepwalk()
1152 unsigned int index = lane->index; in tegra186_usb3_disable_phy_sleepwalk()
1172 static int tegra186_usb3_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_usb3_enable_phy_wake() argument
1174 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_enable_phy_wake()
1175 unsigned int index = lane->index; in tegra186_usb3_enable_phy_wake()
1197 static int tegra186_usb3_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_usb3_disable_phy_wake() argument
1199 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_disable_phy_wake()
1200 unsigned int index = lane->index; in tegra186_usb3_disable_phy_wake()
1222 static bool tegra186_usb3_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_usb3_phy_remote_wake_detected() argument
1224 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_remote_wake_detected()
1225 unsigned int index = lane->index; in tegra186_usb3_phy_remote_wake_detected()
1269 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_on() local
1270 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_on()
1273 unsigned int index = lane->index; in tegra186_usb3_phy_power_on()
1279 dev_err(dev, "no port found for USB3 lane %u\n", index); in tegra186_usb3_phy_power_on()
1285 dev_err(dev, "no companion port found for USB3 lane %u\n", in tegra186_usb3_phy_power_on()
1338 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_off() local
1339 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_off()
1341 unsigned int index = lane->index; in tegra186_usb3_phy_power_off()
1347 dev_err(dev, "no port found for USB3 lane %u\n", index); in tegra186_usb3_phy_power_off()