Lines Matching refs:phy
18 all over the Linux kernel to drivers/phy to increase code re-use and for
56 struct phy *phy_create(struct device *dev, struct device_node *node,
58 struct phy *devm_phy_create(struct device *dev, struct device_node *node,
62 the device pointer and phy ops.
66 Inorder to dereference the private data (in phy_ops), the phy provider driver
75 struct phy *phy_get(struct device *dev, const char *string);
76 struct phy *phy_optional_get(struct device *dev, const char *string);
77 struct phy *devm_phy_get(struct device *dev, const char *string);
78 struct phy *devm_phy_optional_get(struct device *dev, const char *string);
82 should contain the phy name as given in the dt data and in the case of
87 devm_phy_optional_get should be used when the phy is optional. These
89 the phy cannot be found.
91 It should be noted that NULL is a valid phy reference. All phy
92 consumer calls on the NULL phy become NOPs. That is the release calls,
94 phy_power_off() calls are all NOP when applied to a NULL phy. The NULL
95 phy is useful in devices for handling optional phy devices.
103 void phy_put(struct phy *phy);
104 void devm_phy_put(struct device *dev, struct phy *phy);
114 void phy_destroy(struct phy *phy);
115 void devm_phy_destroy(struct device *dev, struct phy *phy);
123 pm_runtime_enable of the phy device created by this subsystem is called and
124 while destroying the PHY, pm_runtime_disable is called. Note that the phy
141 the struct phy already exists.
146 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id);
147 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id);
152 Documentation/devicetree/bindings/phy/phy-bindings.txt