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()
235 #define phy_set_mode(phy, mode) \ argument
243 static inline enum phy_mode phy_get_mode(struct phy *phy) in phy_get_mode()
251 static inline int phy_get_bus_width(struct phy *phy) in phy_get_bus_width()
255 static inline void phy_set_bus_width(struct phy *phy, int bus_width) in phy_set_bus_width()
294 static inline int phy_pm_runtime_get(struct phy *phy) in phy_pm_runtime_get()
301 static inline int phy_pm_runtime_get_sync(struct phy *phy) in phy_pm_runtime_get_sync()
308 static inline int phy_pm_runtime_put(struct phy *phy) in phy_pm_runtime_put()
315 static inline int phy_pm_runtime_put_sync(struct phy *phy) in phy_pm_runtime_put_sync()
322 static inline int phy_init(struct phy *phy) in phy_init()
329 static inline int phy_exit(struct phy *phy) in phy_exit()
336 static inline int phy_power_on(struct phy *phy) in phy_power_on()
343 static inline int phy_power_off(struct phy *phy) in phy_power_off()
350 static inline int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, in phy_set_mode_ext()
358 #define phy_set_mode(phy, mode) \ argument
361 static inline int phy_set_media(struct phy *phy, enum phy_media media) in phy_set_media()
368 static inline int phy_set_speed(struct phy *phy, int speed) in phy_set_speed()
375 static inline enum phy_mode phy_get_mode(struct phy *phy) in phy_get_mode()
380 static inline int phy_reset(struct phy *phy) in phy_reset()
387 static inline int phy_calibrate(struct phy *phy) in phy_calibrate()
394 static inline int phy_notify_connect(struct phy *phy, int index) in phy_notify_connect()
401 static inline int phy_notify_disconnect(struct phy *phy, int index) in phy_notify_disconnect()
408 static inline int phy_configure(struct phy *phy, in phy_configure()
417 static inline int phy_validate(struct phy *phy, enum phy_mode mode, int submode, in phy_validate()
426 static inline int phy_get_bus_width(struct phy *phy) in phy_get_bus_width()
431 static inline void phy_set_bus_width(struct phy *phy, int bus_width) in phy_set_bus_width()
473 static inline void of_phy_put(struct phy *phy) in of_phy_put()
477 static inline void phy_put(struct device *dev, struct phy *phy) in phy_put()
481 static inline void devm_phy_put(struct device *dev, struct phy *phy) in devm_phy_put()
510 static inline void phy_destroy(struct phy *phy) in phy_destroy()
514 static inline void devm_phy_destroy(struct device *dev, struct phy *phy) in devm_phy_destroy()
543 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup()
547 static inline void phy_remove_lookup(struct phy *phy, const char *con_id, in phy_remove_lookup()