Lines Matching refs:u_phy
198 static inline struct tegra_usb_phy *to_tegra_usb_phy(struct usb_phy *u_phy) in to_tegra_usb_phy() argument
200 return container_of(u_phy, struct tegra_usb_phy, u_phy); in to_tegra_usb_phy()
250 dev_err(phy->u_phy.dev, in utmip_pad_open()
259 dev_err(phy->u_phy.dev, in utmip_pad_open()
266 dev_err(phy->u_phy.dev, in utmip_pad_open()
275 dev_err(phy->u_phy.dev, in utmip_pad_open()
291 dev_err(phy->u_phy.dev, in utmip_pad_close()
298 dev_err(phy->u_phy.dev, in utmip_pad_close()
357 dev_err(phy->u_phy.dev, "UTMIP pad already powered off\n"); in utmip_pad_power_off()
411 dev_err(phy->u_phy.dev, in utmi_phy_clk_disable()
445 dev_err(phy->u_phy.dev, in utmi_phy_clk_enable()
735 dev_err(phy->u_phy.dev, "ULPI write failed: %d\n", err); in ulpi_phy_power_on()
741 dev_err(phy->u_phy.dev, "ULPI write failed: %d\n", err); in ulpi_phy_power_on()
809 static void tegra_usb_phy_shutdown(struct usb_phy *u_phy) in tegra_usb_phy_shutdown() argument
811 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_shutdown()
827 static int tegra_usb_phy_set_suspend(struct usb_phy *u_phy, int suspend) in tegra_usb_phy_set_suspend() argument
829 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_set_suspend()
840 static int tegra_usb_phy_init(struct usb_phy *u_phy) in tegra_usb_phy_init() argument
842 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_init()
862 dev_err(phy->u_phy.dev, "Invalid pll_u parent rate %ld\n", in tegra_usb_phy_init()
870 dev_err(phy->u_phy.dev, in tegra_usb_phy_init()
902 void tegra_usb_phy_preresume(struct usb_phy *u_phy) in tegra_usb_phy_preresume() argument
904 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_preresume()
911 void tegra_usb_phy_postresume(struct usb_phy *u_phy) in tegra_usb_phy_postresume() argument
913 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_postresume()
920 void tegra_ehci_phy_restore_start(struct usb_phy *u_phy, in tegra_ehci_phy_restore_start() argument
923 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_ehci_phy_restore_start()
930 void tegra_ehci_phy_restore_end(struct usb_phy *u_phy) in tegra_ehci_phy_restore_end() argument
932 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_ehci_phy_restore_end()
1195 tegra_phy->u_phy.dev = &pdev->dev; in tegra_usb_phy_probe()
1196 tegra_phy->u_phy.init = tegra_usb_phy_init; in tegra_usb_phy_probe()
1197 tegra_phy->u_phy.shutdown = tegra_usb_phy_shutdown; in tegra_usb_phy_probe()
1198 tegra_phy->u_phy.set_suspend = tegra_usb_phy_set_suspend; in tegra_usb_phy_probe()
1202 return usb_add_phy_dev(&tegra_phy->u_phy); in tegra_usb_phy_probe()
1209 usb_remove_phy(&tegra_phy->u_phy); in tegra_usb_phy_remove()