Lines Matching refs:IS_ERR
370 if (IS_ERR(phy_provider) || !try_module_get(phy_provider->owner)) { in _of_phy_get()
403 if (IS_ERR(phy)) in of_phy_get()
423 if (!phy || IS_ERR(phy)) in phy_put()
509 if (IS_ERR(phy)) in phy_get()
535 if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV)) in phy_optional_get()
561 if (!IS_ERR(phy)) { in devm_phy_get()
589 if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV)) in devm_phy_optional_get()
616 if (!IS_ERR(phy)) { in devm_of_phy_get()
658 if (IS_ERR(phy->pwr)) { in phy_create()
724 if (!IS_ERR(phy)) { in devm_phy_create()
821 if (!IS_ERR(phy_provider)) { in __devm_of_phy_provider_register()
840 if (IS_ERR(phy_provider)) in of_phy_provider_unregister()
888 if (IS_ERR(phy_class)) { in phy_core_init()