Lines Matching refs:phy_device
61 struct phy_device;
73 struct phy_device *phymap[PHY_MAX_ADDR];
103 int (*probe)(struct phy_device *phydev);
107 int (*config)(struct phy_device *phydev);
110 int (*startup)(struct phy_device *phydev);
113 int (*shutdown)(struct phy_device *phydev);
115 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
116 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
120 int (*read_mmd)(struct phy_device *phydev, int devad, int reg);
123 int (*write_mmd)(struct phy_device *phydev, int devad, int reg,
130 struct phy_device { struct
179 int phy_reset(struct phy_device *phydev); argument
202 struct phy_device *phy_find_by_mask(struct mii_dev *bus, unsigned phy_mask);
214 struct phy_device *fixed_phy_create(ofnode node);
218 static inline struct phy_device *fixed_phy_create(ofnode node) in fixed_phy_create()
240 struct phy_device *phy_connect(struct mii_dev *bus, int addr,
252 struct phy_device *phy_device_create(struct mii_dev *bus, int addr,
264 struct phy_device *phy_connect_phy_id(struct mii_dev *bus, struct udevice *dev,
267 static inline ofnode phy_get_ofnode(struct phy_device *phydev) in phy_get_ofnode()
306 int phy_read(struct phy_device *phydev, int devad, int regnum);
307 int phy_write(struct phy_device *phydev, int devad, int regnum, u16 val);
308 void phy_mmd_start_indirect(struct phy_device *phydev, int devad, int regnum);
309 int phy_read_mmd(struct phy_device *phydev, int devad, int regnum);
310 int phy_write_mmd(struct phy_device *phydev, int devad, int regnum, u16 val);
311 int phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val);
312 int phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val);
313 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum,
315 int phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum,
318 int phy_startup(struct phy_device *phydev);
319 int phy_config(struct phy_device *phydev);
320 int phy_shutdown(struct phy_device *phydev);
321 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
322 int phy_modify(struct phy_device *phydev, int devad, int regnum, u16 mask,
324 int genphy_config_aneg(struct phy_device *phydev);
325 int genphy_restart_aneg(struct phy_device *phydev);
326 int genphy_update_link(struct phy_device *phydev);
327 int genphy_parse_link(struct phy_device *phydev);
328 int genphy_config(struct phy_device *phydev);
329 int genphy_startup(struct phy_device *phydev);
330 int genphy_shutdown(struct phy_device *phydev);
331 int gen10g_config(struct phy_device *phydev);
332 int gen10g_startup(struct phy_device *phydev);
333 int gen10g_shutdown(struct phy_device *phydev);
334 int gen10g_discover_mmds(struct phy_device *phydev);
343 static inline int phy_set_bits(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_set_bits()
355 static inline int phy_clear_bits(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_clear_bits()
367 int board_phy_config(struct phy_device *phydev);
376 static inline bool phy_interface_is_rgmii(struct phy_device *phydev) in phy_interface_is_rgmii()