Lines Matching refs:utmi_phy
509 struct phy **utmi_phy; member
818 xudc->curr_utmi_phy = xudc->utmi_phy[phy_index]; in tegra_xudc_update_data_role()
3497 xudc->utmi_phy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, in tegra_xudc_phy_get()
3498 sizeof(*xudc->utmi_phy), GFP_KERNEL); in tegra_xudc_phy_get()
3499 if (!xudc->utmi_phy) in tegra_xudc_phy_get()
3519 xudc->utmi_phy[i] = devm_phy_optional_get(xudc->dev, phy_name); in tegra_xudc_phy_get()
3520 if (IS_ERR(xudc->utmi_phy[i])) { in tegra_xudc_phy_get()
3521 err = PTR_ERR(xudc->utmi_phy[i]); in tegra_xudc_phy_get()
3525 } else if (xudc->utmi_phy[i]) { in tegra_xudc_phy_get()
3528 xudc->utmi_phy[i]->dev.of_node, in tegra_xudc_phy_get()
3536 } else if (!xudc->utmi_phy[i]) { in tegra_xudc_phy_get()
3556 tegra_xusb_padctl_get_port_number(xudc->utmi_phy[i]); in tegra_xudc_phy_get()
3573 xudc->utmi_phy[i] = NULL; in tegra_xudc_phy_get()
3586 phy_exit(xudc->utmi_phy[i]); in tegra_xudc_phy_exit()
3596 err = phy_init(xudc->utmi_phy[i]); in tegra_xudc_phy_init()
3939 phy_power_off(xudc->utmi_phy[i]); in tegra_xudc_remove()