tegra_phy         944 drivers/usb/phy/phy-tegra-usb.c static int utmi_phy_probe(struct tegra_usb_phy *tegra_phy,
tegra_phy         951 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->is_ulpi_phy = false;
tegra_phy         959 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->pad_regs = devm_ioremap(&pdev->dev, res->start,
tegra_phy         961 drivers/usb/phy/phy-tegra-usb.c 	if (!tegra_phy->pad_regs) {
tegra_phy         966 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->config = devm_kzalloc(&pdev->dev, sizeof(*config),
tegra_phy         968 drivers/usb/phy/phy-tegra-usb.c 	if (!tegra_phy->config)
tegra_phy         971 drivers/usb/phy/phy-tegra-usb.c 	config = tegra_phy->config;
tegra_phy        1003 drivers/usb/phy/phy-tegra-usb.c 	if (tegra_phy->soc_config->requires_extra_tuning_parameters) {
tegra_phy        1058 drivers/usb/phy/phy-tegra-usb.c 	struct tegra_usb_phy *tegra_phy = NULL;
tegra_phy        1063 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy = devm_kzalloc(&pdev->dev, sizeof(*tegra_phy), GFP_KERNEL);
tegra_phy        1064 drivers/usb/phy/phy-tegra-usb.c 	if (!tegra_phy)
tegra_phy        1072 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->soc_config = match->data;
tegra_phy        1080 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->regs = devm_ioremap(&pdev->dev, res->start,
tegra_phy        1082 drivers/usb/phy/phy-tegra-usb.c 	if (!tegra_phy->regs) {
tegra_phy        1087 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->is_legacy_phy =
tegra_phy        1093 drivers/usb/phy/phy-tegra-usb.c 		err = utmi_phy_probe(tegra_phy, pdev);
tegra_phy        1099 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->is_ulpi_phy = true;
tegra_phy        1101 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->reset_gpio =
tegra_phy        1103 drivers/usb/phy/phy-tegra-usb.c 		if (!gpio_is_valid(tegra_phy->reset_gpio)) {
tegra_phy        1105 drivers/usb/phy/phy-tegra-usb.c 				"Invalid GPIO: %d\n", tegra_phy->reset_gpio);
tegra_phy        1106 drivers/usb/phy/phy-tegra-usb.c 			return tegra_phy->reset_gpio;
tegra_phy        1108 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->config = NULL;
tegra_phy        1118 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->mode = usb_get_dr_mode(&pdev->dev);
tegra_phy        1120 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->mode = USB_DR_MODE_HOST;
tegra_phy        1122 drivers/usb/phy/phy-tegra-usb.c 	if (tegra_phy->mode == USB_DR_MODE_UNKNOWN) {
tegra_phy        1129 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->vbus = devm_regulator_get(&pdev->dev, "vbus");
tegra_phy        1130 drivers/usb/phy/phy-tegra-usb.c 		if (IS_ERR(tegra_phy->vbus))
tegra_phy        1131 drivers/usb/phy/phy-tegra-usb.c 			return PTR_ERR(tegra_phy->vbus);
tegra_phy        1134 drivers/usb/phy/phy-tegra-usb.c 		tegra_phy->vbus = ERR_PTR(-ENODEV);
tegra_phy        1137 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->u_phy.dev = &pdev->dev;
tegra_phy        1138 drivers/usb/phy/phy-tegra-usb.c 	err = tegra_usb_phy_init(tegra_phy);
tegra_phy        1142 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->u_phy.set_suspend = tegra_usb_phy_suspend;
tegra_phy        1144 drivers/usb/phy/phy-tegra-usb.c 	platform_set_drvdata(pdev, tegra_phy);
tegra_phy        1146 drivers/usb/phy/phy-tegra-usb.c 	err = usb_add_phy_dev(&tegra_phy->u_phy);
tegra_phy        1148 drivers/usb/phy/phy-tegra-usb.c 		tegra_usb_phy_close(tegra_phy);
tegra_phy        1157 drivers/usb/phy/phy-tegra-usb.c 	struct tegra_usb_phy *tegra_phy = platform_get_drvdata(pdev);
tegra_phy        1159 drivers/usb/phy/phy-tegra-usb.c 	usb_remove_phy(&tegra_phy->u_phy);
tegra_phy        1160 drivers/usb/phy/phy-tegra-usb.c 	tegra_usb_phy_close(tegra_phy);