Lines Matching refs:tegra_usb_phy
198 static inline struct tegra_usb_phy *to_tegra_usb_phy(struct usb_phy *u_phy) in to_tegra_usb_phy()
200 return container_of(u_phy, struct tegra_usb_phy, u_phy); in to_tegra_usb_phy()
203 static void set_pts(struct tegra_usb_phy *phy, u8 pts_val) in set_pts()
222 static void set_phcd(struct tegra_usb_phy *phy, bool enable) in set_phcd()
244 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open()
285 static int utmip_pad_close(struct tegra_usb_phy *phy) in utmip_pad_close()
308 static int utmip_pad_power_on(struct tegra_usb_phy *phy) in utmip_pad_power_on()
344 static int utmip_pad_power_off(struct tegra_usb_phy *phy) in utmip_pad_power_off()
383 static void utmi_phy_clk_disable(struct tegra_usb_phy *phy) in utmi_phy_clk_disable()
415 static void utmi_phy_clk_enable(struct tegra_usb_phy *phy) in utmi_phy_clk_enable()
449 static int utmi_phy_power_on(struct tegra_usb_phy *phy) in utmi_phy_power_on()
601 static int utmi_phy_power_off(struct tegra_usb_phy *phy) in utmi_phy_power_off()
636 static void utmi_phy_preresume(struct tegra_usb_phy *phy) in utmi_phy_preresume()
646 static void utmi_phy_postresume(struct tegra_usb_phy *phy) in utmi_phy_postresume()
656 static void utmi_phy_restore_start(struct tegra_usb_phy *phy, in utmi_phy_restore_start()
677 static void utmi_phy_restore_end(struct tegra_usb_phy *phy) in utmi_phy_restore_end()
688 static int ulpi_phy_power_on(struct tegra_usb_phy *phy) in ulpi_phy_power_on()
762 static int ulpi_phy_power_off(struct tegra_usb_phy *phy) in ulpi_phy_power_off()
771 static int tegra_usb_phy_power_on(struct tegra_usb_phy *phy) in tegra_usb_phy_power_on()
790 static int tegra_usb_phy_power_off(struct tegra_usb_phy *phy) in tegra_usb_phy_power_off()
811 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_shutdown()
829 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_set_suspend()
842 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_init()
904 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_preresume()
913 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_postresume()
923 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_ehci_phy_restore_start()
932 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_ehci_phy_restore_end()
956 static int utmi_phy_probe(struct tegra_usb_phy *tegra_phy, in utmi_phy_probe()
1073 struct tegra_usb_phy *tegra_phy; in tegra_usb_phy_probe()
1207 struct tegra_usb_phy *tegra_phy = platform_get_drvdata(pdev); in tegra_usb_phy_remove()