Lines Matching refs:phys
52 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys()
56 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys()
58 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
62 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys()
64 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
73 phy_power_off(hpriv->phys[i]); in ahci_platform_enable_phys()
74 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
91 phy_power_off(hpriv->phys[i]); in ahci_platform_disable_phys()
92 phy_exit(hpriv->phys[i]); in ahci_platform_disable_phys()
358 hpriv->phys[port] = devm_of_phy_get(dev, node, NULL); in ahci_platform_get_phy()
360 if (!IS_ERR(hpriv->phys[port])) in ahci_platform_get_phy()
363 rc = PTR_ERR(hpriv->phys[port]); in ahci_platform_get_phy()
376 hpriv->phys[port] = NULL; in ahci_platform_get_phy()
566 hpriv->phys = devm_kcalloc(dev, hpriv->nports, sizeof(*hpriv->phys), GFP_KERNEL); in ahci_platform_get_resources()
567 if (!hpriv->phys) { in ahci_platform_get_resources()