Lines Matching refs:phy
26 struct phy { struct
55 int (*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args);
69 int (*init)(struct phy *phy);
84 int (*exit)(struct phy *phy);
96 int (*reset)(struct phy *phy);
110 int (*power_on)(struct phy *phy);
124 int (*power_off)(struct phy *phy);
138 int (*configure)(struct phy *phy, void *params);
154 struct phy *phys;
166 int generic_phy_init(struct phy *phy);
174 int generic_phy_exit(struct phy *phy);
182 int generic_phy_reset(struct phy *phy);
190 int generic_phy_power_on(struct phy *phy);
198 int generic_phy_power_off(struct phy *phy);
207 int generic_phy_configure(struct phy *phy, void *params);
236 struct phy *phy);
266 int generic_phy_get_by_index_nodev(ofnode node, int index, struct phy *phy);
294 struct phy *phy);
347 static inline int generic_phy_init(struct phy *phy) in generic_phy_init() argument
352 static inline int generic_phy_exit(struct phy *phy) in generic_phy_exit() argument
357 static inline int generic_phy_reset(struct phy *phy) in generic_phy_reset() argument
362 static inline int generic_phy_power_on(struct phy *phy) in generic_phy_power_on() argument
367 static inline int generic_phy_power_off(struct phy *phy) in generic_phy_power_off() argument
373 struct phy *phy) in generic_phy_get_by_index() argument
379 struct phy *phy) in generic_phy_get_by_name() argument
418 static inline bool generic_phy_valid(struct phy *phy) in generic_phy_valid() argument
420 return phy && phy->dev; in generic_phy_valid()