Lines Matching refs:phy_device

65 struct phy_device;
77 struct phy_device *phymap[PHY_MAX_ADDR];
101 int (*probe)(struct phy_device *phydev);
105 int (*config)(struct phy_device *phydev);
108 int (*startup)(struct phy_device *phydev);
111 int (*shutdown)(struct phy_device *phydev);
113 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
114 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
118 int (*read_mmd)(struct phy_device *phydev, int devad, int reg);
121 int (*write_mmd)(struct phy_device *phydev, int devad, int reg,
130 struct phy_device { struct
183 static inline int phy_read(struct phy_device *phydev, int devad, int regnum) in phy_read()
203 static inline int phy_write(struct phy_device *phydev, int devad, int regnum, in phy_write()
223 static inline void phy_mmd_start_indirect(struct phy_device *phydev, int devad, in phy_mmd_start_indirect()
245 static inline int phy_read_mmd(struct phy_device *phydev, int devad, in phy_read_mmd()
278 static inline int phy_write_mmd(struct phy_device *phydev, int devad, in phy_write_mmd()
311 static inline int phy_set_bits_mmd(struct phy_device *phydev, int devad, in phy_set_bits_mmd()
338 static inline int phy_clear_bits_mmd(struct phy_device *phydev, int devad, in phy_clear_bits_mmd()
387 int phy_reset(struct phy_device *phydev);
402 struct phy_device *phy_find_by_mask(struct mii_dev *bus, unsigned phy_mask,
415 struct phy_device *fixed_phy_create(ofnode node);
419 static inline struct phy_device *fixed_phy_create(ofnode node) in fixed_phy_create()
433 void phy_connect_dev(struct phy_device *phydev, struct udevice *dev);
450 struct phy_device *phy_connect(struct mii_dev *bus, int addr,
454 static inline ofnode phy_get_ofnode(struct phy_device *phydev) in phy_get_ofnode()
468 void phy_connect_dev(struct phy_device *phydev, struct eth_device *dev);
485 struct phy_device *phy_connect(struct mii_dev *bus, int addr,
489 static inline ofnode phy_get_ofnode(struct phy_device *phydev) in phy_get_ofnode()
494 int phy_startup(struct phy_device *phydev);
495 int phy_config(struct phy_device *phydev);
496 int phy_shutdown(struct phy_device *phydev);
498 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
499 int genphy_config_aneg(struct phy_device *phydev);
500 int genphy_restart_aneg(struct phy_device *phydev);
501 int genphy_update_link(struct phy_device *phydev);
502 int genphy_parse_link(struct phy_device *phydev);
503 int genphy_config(struct phy_device *phydev);
504 int genphy_startup(struct phy_device *phydev);
505 int genphy_shutdown(struct phy_device *phydev);
506 int gen10g_config(struct phy_device *phydev);
507 int gen10g_startup(struct phy_device *phydev);
508 int gen10g_shutdown(struct phy_device *phydev);
509 int gen10g_discover_mmds(struct phy_device *phydev);
537 int board_phy_config(struct phy_device *phydev);
554 static inline bool phy_interface_is_rgmii(struct phy_device *phydev) in phy_interface_is_rgmii()
566 static inline bool phy_interface_is_sgmii(struct phy_device *phydev) in phy_interface_is_sgmii()