Lines Matching refs:phys
54 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys()
58 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys()
60 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
69 phy_power_off(hpriv->phys[i]); in ahci_platform_enable_phys()
70 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
86 phy_power_off(hpriv->phys[i]); in ahci_platform_disable_phys()
87 phy_exit(hpriv->phys[i]); in ahci_platform_disable_phys()
283 hpriv->phys[port] = devm_of_phy_get(dev, node, NULL); in ahci_platform_get_phy()
285 if (!IS_ERR(hpriv->phys[port])) in ahci_platform_get_phy()
288 rc = PTR_ERR(hpriv->phys[port]); in ahci_platform_get_phy()
300 hpriv->phys[port] = NULL; in ahci_platform_get_phy()
405 sz = hpriv->nports * sizeof(*hpriv->phys); in ahci_platform_get_resources()
406 hpriv->phys = devm_kzalloc(dev, sz, GFP_KERNEL); in ahci_platform_get_resources()
407 if (!hpriv->phys) { in ahci_platform_get_resources()