Lines Matching defs:phy_device

100 struct phy_device;
112 struct phy_device *phymap[PHY_MAX_ADDR];
136 int (*probe)(struct phy_device *phydev);
140 int (*config)(struct phy_device *phydev);
143 int (*startup)(struct phy_device *phydev);
146 int (*shutdown)(struct phy_device *phydev);
148 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
149 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
154 struct phy_device {
198 static inline int phy_read(struct phy_device *phydev, int devad, int regnum)
205 static inline int phy_write(struct phy_device *phydev, int devad, int regnum,
225 int phy_reset(struct phy_device *phydev);
226 struct phy_device *phy_find_by_mask(struct mii_dev *bus, unsigned phy_mask,
229 void phy_connect_dev(struct phy_device *phydev, struct udevice *dev);
230 struct phy_device *phy_connect(struct mii_dev *bus, int addr,
234 void phy_connect_dev(struct phy_device *phydev, struct eth_device *dev);
235 struct phy_device *phy_connect(struct mii_dev *bus, int addr,
239 int phy_startup(struct phy_device *phydev);
240 int phy_config(struct phy_device *phydev);
241 int phy_shutdown(struct phy_device *phydev);
243 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
244 int genphy_config_aneg(struct phy_device *phydev);
245 int genphy_restart_aneg(struct phy_device *phydev);
246 int genphy_update_link(struct phy_device *phydev);
247 int genphy_parse_link(struct phy_device *phydev);
248 int genphy_config(struct phy_device *phydev);
249 int genphy_startup(struct phy_device *phydev);
250 int genphy_shutdown(struct phy_device *phydev);
251 int gen10g_config(struct phy_device *phydev);
252 int gen10g_startup(struct phy_device *phydev);
253 int gen10g_shutdown(struct phy_device *phydev);
254 int gen10g_discover_mmds(struct phy_device *phydev);
274 int board_phy_config(struct phy_device *phydev);
288 * @phydev: the phy_device struct
290 static inline u8 phy_interface_is_rgmii(struct phy_device *phydev)
299 * @phydev: the phy_device struct
301 static inline u8 phy_interface_is_sgmii(struct phy_device *phydev)