Lines Matching full:lane

308 static void tegra186_usb2_lane_remove(struct tegra_xusb_lane *lane)  in tegra186_usb2_lane_remove()  argument
310 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_usb2_lane_remove()
315 static int tegra186_utmi_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_utmi_enable_phy_sleepwalk() argument
318 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_enable_phy_sleepwalk()
320 unsigned int index = lane->index; in tegra186_utmi_enable_phy_sleepwalk()
460 static int tegra186_utmi_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_sleepwalk() argument
462 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_disable_phy_sleepwalk()
464 unsigned int index = lane->index; in tegra186_utmi_disable_phy_sleepwalk()
501 static int tegra186_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_enable_phy_wake() argument
503 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_enable_phy_wake()
504 unsigned int index = lane->index; in tegra186_utmi_enable_phy_wake()
526 static int tegra186_utmi_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_wake() argument
528 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_disable_phy_wake()
529 unsigned int index = lane->index; in tegra186_utmi_disable_phy_wake()
551 static bool tegra186_utmi_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_utmi_phy_remote_wake_detected() argument
553 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_remote_wake_detected()
554 unsigned int index = lane->index; in tegra186_utmi_phy_remote_wake_detected()
643 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_on() local
644 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_pad_power_on()
647 unsigned int index = lane->index; in tegra186_utmi_pad_power_on()
655 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_pad_power_on()
676 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_down() local
677 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_pad_power_down()
678 unsigned int index = lane->index; in tegra186_utmi_pad_power_down()
754 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_set_mode() local
755 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_set_mode()
757 lane->index); in tegra186_utmi_phy_set_mode()
792 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_power_on() local
793 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_utmi_phy_power_on()
794 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_power_on()
797 unsigned int index = lane->index; in tegra186_utmi_phy_power_on()
803 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_power_on()
870 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_init() local
871 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_init()
873 unsigned int index = lane->index; in tegra186_utmi_phy_init()
879 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_init()
897 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_exit() local
898 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_exit()
900 unsigned int index = lane->index; in tegra186_utmi_phy_exit()
906 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_exit()
1042 static void tegra186_usb3_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb3_lane_remove() argument
1044 struct tegra_xusb_usb3_lane *usb3 = to_usb3_lane(lane); in tegra186_usb3_lane_remove()
1049 static int tegra186_usb3_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_usb3_enable_phy_sleepwalk() argument
1052 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_enable_phy_sleepwalk()
1053 unsigned int index = lane->index; in tegra186_usb3_enable_phy_sleepwalk()
1075 static int tegra186_usb3_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_usb3_disable_phy_sleepwalk() argument
1077 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_disable_phy_sleepwalk()
1078 unsigned int index = lane->index; in tegra186_usb3_disable_phy_sleepwalk()
1098 static int tegra186_usb3_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_usb3_enable_phy_wake() argument
1100 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_enable_phy_wake()
1101 unsigned int index = lane->index; in tegra186_usb3_enable_phy_wake()
1123 static int tegra186_usb3_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_usb3_disable_phy_wake() argument
1125 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_disable_phy_wake()
1126 unsigned int index = lane->index; in tegra186_usb3_disable_phy_wake()
1148 static bool tegra186_usb3_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_usb3_phy_remote_wake_detected() argument
1150 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_remote_wake_detected()
1151 unsigned int index = lane->index; in tegra186_usb3_phy_remote_wake_detected()
1196 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_on() local
1197 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_on()
1200 unsigned int index = lane->index; in tegra186_usb3_phy_power_on()
1206 dev_err(dev, "no port found for USB3 lane %u\n", index); in tegra186_usb3_phy_power_on()
1212 dev_err(dev, "no companion port found for USB3 lane %u\n", in tegra186_usb3_phy_power_on()
1265 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_off() local
1266 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_off()
1268 unsigned int index = lane->index; in tegra186_usb3_phy_power_off()
1274 dev_err(dev, "no port found for USB3 lane %u\n", index); in tegra186_usb3_phy_power_off()