Lines Matching defs:phy
158 struct phy { struct
161 const struct phy_ops *ops; argument
165 struct phy_attrs attrs; argument
171 * struct phy_provider - represents the phy provider argument
198 struct phy *phy; member
215 static inline void phy_set_drvdata(struct phy *phy, void *data) in phy_set_drvdata()
220 static inline void *phy_get_drvdata(struct phy *phy) in phy_get_drvdata()
237 #define phy_set_mode(phy, mode) \ argument
245 static inline enum phy_mode phy_get_mode(struct phy *phy) in phy_get_mode()
253 static inline int phy_get_bus_width(struct phy *phy) in phy_get_bus_width()
257 static inline void phy_set_bus_width(struct phy *phy, int bus_width) in phy_set_bus_width()
296 static inline int phy_pm_runtime_get(struct phy *phy) in phy_pm_runtime_get()
303 static inline int phy_pm_runtime_get_sync(struct phy *phy) in phy_pm_runtime_get_sync()
310 static inline int phy_pm_runtime_put(struct phy *phy) in phy_pm_runtime_put()
317 static inline int phy_pm_runtime_put_sync(struct phy *phy) in phy_pm_runtime_put_sync()
324 static inline void phy_pm_runtime_allow(struct phy *phy) in phy_pm_runtime_allow()
329 static inline void phy_pm_runtime_forbid(struct phy *phy) in phy_pm_runtime_forbid()
334 static inline int phy_init(struct phy *phy) in phy_init()
341 static inline int phy_exit(struct phy *phy) in phy_exit()
348 static inline int phy_power_on(struct phy *phy) in phy_power_on()
355 static inline int phy_power_off(struct phy *phy) in phy_power_off()
362 static inline int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, in phy_set_mode_ext()
370 #define phy_set_mode(phy, mode) \ argument
373 static inline int phy_set_media(struct phy *phy, enum phy_media media) in phy_set_media()
380 static inline int phy_set_speed(struct phy *phy, int speed) in phy_set_speed()
387 static inline enum phy_mode phy_get_mode(struct phy *phy) in phy_get_mode()
392 static inline int phy_reset(struct phy *phy) in phy_reset()
399 static inline int phy_calibrate(struct phy *phy) in phy_calibrate()
406 static inline int phy_notify_connect(struct phy *phy, int index) in phy_notify_connect()
413 static inline int phy_notify_disconnect(struct phy *phy, int index) in phy_notify_disconnect()
420 static inline int phy_configure(struct phy *phy, in phy_configure()
429 static inline int phy_validate(struct phy *phy, enum phy_mode mode, int submode, in phy_validate()
438 static inline int phy_get_bus_width(struct phy *phy) in phy_get_bus_width()
443 static inline void phy_set_bus_width(struct phy *phy, int bus_width) in phy_set_bus_width()
485 static inline void of_phy_put(struct phy *phy) in of_phy_put()
489 static inline void phy_put(struct device *dev, struct phy *phy) in phy_put()
493 static inline void devm_phy_put(struct device *dev, struct phy *phy) in devm_phy_put()
522 static inline void phy_destroy(struct phy *phy) in phy_destroy()
526 static inline void devm_phy_destroy(struct device *dev, struct phy *phy) in devm_phy_destroy()
555 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup()
559 static inline void phy_remove_lookup(struct phy *phy, const char *con_id, in phy_remove_lookup()