Lines Matching refs:phy_device
200 void phy_device_free(struct phy_device *phydev) in phy_device_free()
208 struct phy_device *phydev; in phy_mdio_device_free()
210 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_free()
221 struct phy_device *phydev; in phy_mdio_device_remove()
223 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_remove()
234 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
274 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend()
292 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume()
311 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_restore()
354 int (*run)(struct phy_device *)) in phy_register_fixup() argument
376 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
384 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
440 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
455 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
478 struct phy_device *phydev = to_phy_device(dev); in phy_bus_match()
509 struct phy_device *phydev = to_phy_device(dev); in phy_id_show()
518 struct phy_device *phydev = to_phy_device(dev); in phy_interface_show()
534 struct phy_device *phydev = to_phy_device(dev); in phy_has_fixups_show()
555 static int phy_request_driver_module(struct phy_device *dev, int phy_id) in phy_request_driver_module()
575 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, in phy_device_create()
579 struct phy_device *dev; in phy_device_create()
813 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device()
835 int phy_device_register(struct phy_device *phydev) in phy_device_register()
878 void phy_device_remove(struct phy_device *phydev) in phy_device_remove()
893 struct phy_device *phy_find_first(struct mii_bus *bus) in phy_find_first()
895 struct phy_device *phydev; in phy_find_first()
907 static void phy_link_change(struct phy_device *phydev, bool up, bool do_carrier) in phy_link_change()
932 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
945 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
981 struct phy_device *phy_connect(struct net_device *dev, const char *bus_id, in phy_connect()
985 struct phy_device *phydev; in phy_connect()
1013 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
1045 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
1067 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
1094 void phy_attached_info(struct phy_device *phydev) in phy_attached_info()
1101 void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) in phy_attached_print()
1139 static void phy_sysfs_create_links(struct phy_device *phydev) in phy_sysfs_create_links()
1171 struct phy_device *phydev = to_phy_device(dev); in phy_standalone_show()
1192 int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
1322 struct phy_device *phy_attach(struct net_device *dev, const char *bus_id, in phy_attach()
1326 struct phy_device *phydev; in phy_attach()
1352 static bool phy_driver_is_genphy_kind(struct phy_device *phydev, in phy_driver_is_genphy_kind()
1368 bool phy_driver_is_genphy(struct phy_device *phydev) in phy_driver_is_genphy()
1375 bool phy_driver_is_genphy_10g(struct phy_device *phydev) in phy_driver_is_genphy_10g()
1389 void phy_detach(struct phy_device *phydev) in phy_detach()
1442 int phy_suspend(struct phy_device *phydev) in phy_suspend()
1466 int __phy_resume(struct phy_device *phydev) in __phy_resume()
1485 int phy_resume(struct phy_device *phydev) in phy_resume()
1497 int phy_loopback(struct phy_device *phydev, bool enable) in phy_loopback()
1539 int phy_reset_after_clk_enable(struct phy_device *phydev) in phy_reset_after_clk_enable()
1565 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
1618 int genphy_config_eee_advert(struct phy_device *phydev) in genphy_config_eee_advert()
1641 int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
1665 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
1682 int __genphy_config_aneg(struct phy_device *phydev, bool changed) in __genphy_config_aneg()
1726 int genphy_aneg_done(struct phy_device *phydev) in genphy_aneg_done()
1742 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
1786 int genphy_read_lpa(struct phy_device *phydev) in genphy_read_lpa()
1842 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
1898 int genphy_soft_reset(struct phy_device *phydev) in genphy_soft_reset()
1931 int genphy_read_abilities(struct phy_device *phydev) in genphy_read_abilities()
1976 int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, u16 regnum) in genphy_read_mmd_unsupported()
1982 int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, in genphy_write_mmd_unsupported()
1989 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
1995 int genphy_resume(struct phy_device *phydev) in genphy_resume()
2001 int genphy_loopback(struct phy_device *phydev, bool enable) in genphy_loopback()
2017 void phy_remove_link_mode(struct phy_device *phydev, u32 link_mode) in phy_remove_link_mode()
2039 void phy_advertise_supported(struct phy_device *phydev) in phy_advertise_supported()
2056 void phy_support_sym_pause(struct phy_device *phydev) in phy_support_sym_pause()
2069 void phy_support_asym_pause(struct phy_device *phydev) in phy_support_asym_pause()
2086 void phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, in phy_set_sym_pause()
2110 void phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx) in phy_set_asym_pause()
2147 bool phy_validate_pause(struct phy_device *phydev, in phy_validate_pause()
2178 struct phy_device *phydev = to_phy_device(dev); in phy_probe()
2274 struct phy_device *phydev = to_phy_device(dev); in phy_remove()