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 tegra_phy_xusb_utmi_pad_power_on() local
644 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra_phy_xusb_utmi_pad_power_on()
647 unsigned int index = lane->index; in tegra_phy_xusb_utmi_pad_power_on()
655 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra_phy_xusb_utmi_pad_power_on()
674 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra_phy_xusb_utmi_pad_power_down() local
675 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra_phy_xusb_utmi_pad_power_down()
676 unsigned int index = lane->index; in tegra_phy_xusb_utmi_pad_power_down()
750 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_set_mode() local
751 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_set_mode()
753 lane->index); in tegra186_utmi_phy_set_mode()
788 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_power_on() local
789 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_utmi_phy_power_on()
790 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_power_on()
793 unsigned int index = lane->index; in tegra186_utmi_phy_power_on()
799 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_power_on()
867 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_init() local
868 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_init()
870 unsigned int index = lane->index; in tegra186_utmi_phy_init()
876 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_init()
894 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_exit() local
895 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_exit()
897 unsigned int index = lane->index; in tegra186_utmi_phy_exit()
903 dev_err(dev, "no port found for USB2 lane %u\n", index); in tegra186_utmi_phy_exit()
1039 static void tegra186_usb3_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb3_lane_remove() argument
1041 struct tegra_xusb_usb3_lane *usb3 = to_usb3_lane(lane); in tegra186_usb3_lane_remove()
1046 static int tegra186_usb3_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_usb3_enable_phy_sleepwalk() argument
1049 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_enable_phy_sleepwalk()
1050 unsigned int index = lane->index; in tegra186_usb3_enable_phy_sleepwalk()
1072 static int tegra186_usb3_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_usb3_disable_phy_sleepwalk() argument
1074 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_disable_phy_sleepwalk()
1075 unsigned int index = lane->index; in tegra186_usb3_disable_phy_sleepwalk()
1095 static int tegra186_usb3_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_usb3_enable_phy_wake() argument
1097 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_enable_phy_wake()
1098 unsigned int index = lane->index; in tegra186_usb3_enable_phy_wake()
1120 static int tegra186_usb3_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_usb3_disable_phy_wake() argument
1122 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_disable_phy_wake()
1123 unsigned int index = lane->index; in tegra186_usb3_disable_phy_wake()
1145 static bool tegra186_usb3_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_usb3_phy_remote_wake_detected() argument
1147 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_remote_wake_detected()
1148 unsigned int index = lane->index; in tegra186_usb3_phy_remote_wake_detected()
1193 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_on() local
1194 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_on()
1197 unsigned int index = lane->index; in tegra186_usb3_phy_power_on()
1203 dev_err(dev, "no port found for USB3 lane %u\n", index); in tegra186_usb3_phy_power_on()
1209 dev_err(dev, "no companion port found for USB3 lane %u\n", in tegra186_usb3_phy_power_on()
1262 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_off() local
1263 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_off()
1265 unsigned int index = lane->index; in tegra186_usb3_phy_power_off()
1271 dev_err(dev, "no port found for USB3 lane %u\n", index); in tegra186_usb3_phy_power_off()