Lines Matching refs:phy

49 struct phy {  struct
78 int (*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args);
92 int (*init)(struct phy *phy);
107 int (*exit)(struct phy *phy);
119 int (*reset)(struct phy *phy);
133 int (*power_on)(struct phy *phy);
147 int (*power_off)(struct phy *phy);
161 int (*configure)(struct phy *phy, void *params);
175 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
187 int (*set_speed)(struct phy *phy, int speed);
203 struct phy *phys;
215 int generic_phy_init(struct phy *phy);
223 int generic_phy_exit(struct phy *phy);
231 int generic_phy_reset(struct phy *phy);
239 int generic_phy_power_on(struct phy *phy);
247 int generic_phy_power_off(struct phy *phy);
256 int generic_phy_configure(struct phy *phy, void *params);
266 int generic_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode);
275 int generic_phy_set_speed(struct phy *phy, int speed);
303 struct phy *phy);
333 int generic_phy_get_by_index_nodev(ofnode node, int index, struct phy *phy);
361 struct phy *phy);
421 int generic_setup_phy(struct udevice *dev, struct phy *phy, int index);
430 int generic_shutdown_phy(struct phy *phy);
434 static inline int generic_phy_init(struct phy *phy) in generic_phy_init() argument
439 static inline int generic_phy_exit(struct phy *phy) in generic_phy_exit() argument
444 static inline int generic_phy_reset(struct phy *phy) in generic_phy_reset() argument
449 static inline int generic_phy_power_on(struct phy *phy) in generic_phy_power_on() argument
454 static inline int generic_phy_power_off(struct phy *phy) in generic_phy_power_off() argument
459 static inline int generic_phy_configure(struct phy *phy, void *params) in generic_phy_configure() argument
464 static inline int generic_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in generic_phy_set_mode() argument
469 static inline int generic_phy_set_speed(struct phy *phy, int speed) in generic_phy_set_speed() argument
475 struct phy *phy) in generic_phy_get_by_index() argument
481 struct phy *phy) in generic_phy_get_by_name() argument
512 static inline int generic_setup_phy(struct udevice *dev, struct phy *phy, int index) in generic_setup_phy() argument
517 static inline int generic_shutdown_phy(struct phy *phy) in generic_shutdown_phy() argument
530 static inline bool generic_phy_valid(struct phy *phy) in generic_phy_valid() argument
532 return phy && phy->dev; in generic_phy_valid()