Lines Matching refs:phydev
105 int (*probe)(struct phy_device *phydev);
109 int (*config)(struct phy_device *phydev);
112 int (*startup)(struct phy_device *phydev);
115 int (*shutdown)(struct phy_device *phydev);
117 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
118 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
122 int (*read_mmd)(struct phy_device *phydev, int devad, int reg);
125 int (*write_mmd)(struct phy_device *phydev, int devad, int reg,
189 int phy_reset(struct phy_device *phydev);
232 void phy_connect_dev(struct phy_device *phydev, struct udevice *dev,
277 static inline ofnode phy_get_ofnode(struct phy_device *phydev) in phy_get_ofnode() argument
279 if (ofnode_valid(phydev->node)) in phy_get_ofnode()
280 return phydev->node; in phy_get_ofnode()
282 return dev_ofnode(phydev->dev); in phy_get_ofnode()
303 #define phy_read_mmd_poll_timeout(phydev, devaddr, regnum, val, cond, \ argument
308 phydev, devaddr, regnum); \
312 dev_err(phydev->dev, "%s failed: %d\n", __func__, __ret); \
316 int phy_read(struct phy_device *phydev, int devad, int regnum);
317 int phy_write(struct phy_device *phydev, int devad, int regnum, u16 val);
318 void phy_mmd_start_indirect(struct phy_device *phydev, int devad, int regnum);
319 int phy_read_mmd(struct phy_device *phydev, int devad, int regnum);
320 int phy_write_mmd(struct phy_device *phydev, int devad, int regnum, u16 val);
321 int phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val);
322 int phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val);
323 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum,
325 int phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum,
328 int phy_startup(struct phy_device *phydev);
329 int phy_config(struct phy_device *phydev);
330 int phy_shutdown(struct phy_device *phydev);
331 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
332 int phy_modify(struct phy_device *phydev, int devad, int regnum, u16 mask,
334 int genphy_config_aneg(struct phy_device *phydev);
335 int genphy_restart_aneg(struct phy_device *phydev);
336 int genphy_update_link(struct phy_device *phydev);
337 int genphy_parse_link(struct phy_device *phydev);
338 int genphy_config(struct phy_device *phydev);
339 int genphy_startup(struct phy_device *phydev);
340 int genphy_shutdown(struct phy_device *phydev);
341 int gen10g_config(struct phy_device *phydev);
342 int gen10g_startup(struct phy_device *phydev);
343 int gen10g_shutdown(struct phy_device *phydev);
344 int gen10g_discover_mmds(struct phy_device *phydev);
353 int board_phy_config(struct phy_device *phydev);
362 static inline bool phy_interface_is_rgmii(struct phy_device *phydev) in phy_interface_is_rgmii() argument
364 switch (phydev->interface) { in phy_interface_is_rgmii()