Lines Matching refs:phy_device
44 void phy_device_free(struct phy_device *phydev) in phy_device_free()
76 int (*run)(struct phy_device *)) in phy_register_fixup() argument
98 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
106 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
115 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
130 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
151 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, in phy_device_create()
155 struct phy_device *dev; in phy_device_create()
358 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device()
380 int phy_device_register(struct phy_device *phydev) in phy_device_register()
418 void phy_device_remove(struct phy_device *phydev) in phy_device_remove()
432 struct phy_device *phy_find_first(struct mii_bus *bus) in phy_find_first()
456 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
469 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
503 struct phy_device *phy_connect(struct net_device *dev, const char *bus_id, in phy_connect()
507 struct phy_device *phydev; in phy_connect()
534 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
565 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
587 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
625 int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
699 struct phy_device *phy_attach(struct net_device *dev, const char *bus_id, in phy_attach()
703 struct phy_device *phydev; in phy_attach()
732 void phy_detach(struct phy_device *phydev) in phy_detach()
764 int phy_suspend(struct phy_device *phydev) in phy_suspend()
787 int phy_resume(struct phy_device *phydev) in phy_resume()
815 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
885 int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
908 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
932 int genphy_config_aneg(struct phy_device *phydev) in genphy_config_aneg()
973 int genphy_aneg_done(struct phy_device *phydev) in genphy_aneg_done()
981 static int gen10g_config_aneg(struct phy_device *phydev) in gen10g_config_aneg()
994 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
1026 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
1119 static int gen10g_read_status(struct phy_device *phydev) in gen10g_read_status()
1155 int genphy_soft_reset(struct phy_device *phydev) in genphy_soft_reset()
1167 int genphy_config_init(struct phy_device *phydev) in genphy_config_init()
1210 static int gen10g_soft_reset(struct phy_device *phydev) in gen10g_soft_reset()
1217 static int gen10g_config_init(struct phy_device *phydev) in gen10g_config_init()
1226 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
1241 static int gen10g_suspend(struct phy_device *phydev) in gen10g_suspend()
1246 int genphy_resume(struct phy_device *phydev) in genphy_resume()
1261 static int gen10g_resume(struct phy_device *phydev) in gen10g_resume()
1266 static int __set_phy_supported(struct phy_device *phydev, u32 max_speed) in __set_phy_supported()
1290 int phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed()
1304 static void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported()
1329 struct phy_device *phydev = to_phy_device(dev); in phy_probe()
1369 struct phy_device *phydev = to_phy_device(dev); in phy_remove()