Lines Matching refs:phy_device
42 void phy_device_free(struct phy_device *phydev) in phy_device_free()
60 static int phy_attach_direct(struct net_device *dev, struct phy_device *phydev,
73 int (*run)(struct phy_device *)) in phy_register_fixup() argument
96 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
104 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
114 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
129 int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
152 static struct phy_device* phy_device_create(struct mii_bus *bus, in phy_device_create()
155 struct phy_device *dev; in phy_device_create()
162 return (struct phy_device*) PTR_ERR((void*)-ENOMEM); in phy_device_create()
243 struct phy_device * get_phy_device(struct mii_bus *bus, int addr) in get_phy_device()
245 struct phy_device *dev = NULL; in get_phy_device()
267 int phy_device_register(struct phy_device *phydev) in phy_device_register()
298 struct phy_device *phy_find_first(struct mii_bus *bus) in phy_find_first()
322 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
336 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
371 struct phy_device * phy_connect(struct net_device *dev, const char *bus_id, in phy_connect()
375 struct phy_device *phydev; in phy_connect()
400 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
413 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
441 static int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
494 struct phy_device *phy_attach(struct net_device *dev, in phy_attach()
498 struct phy_device *phydev; in phy_attach()
523 void phy_detach(struct phy_device *phydev) in phy_detach()
549 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
609 static int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
634 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
663 int genphy_config_aneg(struct phy_device *phydev) in genphy_config_aneg()
704 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
738 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
825 static int genphy_config_init(struct phy_device *phydev) in genphy_config_init()
871 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
886 int genphy_resume(struct phy_device *phydev) in genphy_resume()
911 struct phy_device *phydev; in phy_probe()
948 struct phy_device *phydev; in phy_remove()