Lines Matching refs:phy_device
201 void phy_device_free(struct phy_device *phydev) in phy_device_free()
209 struct phy_device *phydev; in phy_mdio_device_free()
211 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_free()
222 struct phy_device *phydev; in phy_mdio_device_remove()
224 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_remove()
233 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()
294 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume()
329 int (*run)(struct phy_device *)) in phy_register_fixup() argument
351 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
359 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
415 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
430 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
453 struct phy_device *phydev = to_phy_device(dev); in phy_bus_match()
484 struct phy_device *phydev = to_phy_device(dev); in phy_id_show()
493 struct phy_device *phydev = to_phy_device(dev); in phy_interface_show()
509 struct phy_device *phydev = to_phy_device(dev); in phy_has_fixups_show()
530 static int phy_request_driver_module(struct phy_device *dev, u32 phy_id) in phy_request_driver_module()
550 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, in phy_device_create()
554 struct phy_device *dev; in phy_device_create()
838 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device()
864 int phy_device_register(struct phy_device *phydev) in phy_device_register()
907 void phy_device_remove(struct phy_device *phydev) in phy_device_remove()
925 struct phy_device *phy_find_first(struct mii_bus *bus) in phy_find_first()
927 struct phy_device *phydev; in phy_find_first()
939 static void phy_link_change(struct phy_device *phydev, bool up) in phy_link_change()
964 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
977 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
1013 struct phy_device *phy_connect(struct net_device *dev, const char *bus_id, in phy_connect()
1017 struct phy_device *phydev; in phy_connect()
1045 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
1077 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
1093 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
1133 void phy_attached_info(struct phy_device *phydev) in phy_attached_info()
1140 char *phy_attached_info_irq(struct phy_device *phydev) in phy_attached_info_irq()
1162 void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) in phy_attached_print()
1186 static void phy_sysfs_create_links(struct phy_device *phydev) in phy_sysfs_create_links()
1218 struct phy_device *phydev = to_phy_device(dev); in phy_standalone_show()
1233 struct phy_device *phydev = upstream; in phy_sfp_attach()
1250 struct phy_device *phydev = upstream; in phy_sfp_detach()
1263 int phy_sfp_probe(struct phy_device *phydev, in phy_sfp_probe()
1298 int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
1444 struct phy_device *phy_attach(struct net_device *dev, const char *bus_id, in phy_attach()
1448 struct phy_device *phydev; in phy_attach()
1474 static bool phy_driver_is_genphy_kind(struct phy_device *phydev, in phy_driver_is_genphy_kind()
1490 bool phy_driver_is_genphy(struct phy_device *phydev) in phy_driver_is_genphy()
1497 bool phy_driver_is_genphy_10g(struct phy_device *phydev) in phy_driver_is_genphy_10g()
1530 int phy_package_join(struct phy_device *phydev, int addr, size_t priv_size) in phy_package_join()
1583 void phy_package_leave(struct phy_device *phydev) in phy_package_leave()
1604 phy_package_leave(*(struct phy_device **)res); in devm_phy_package_leave()
1618 int devm_phy_package_join(struct device *dev, struct phy_device *phydev, in devm_phy_package_join()
1621 struct phy_device **ptr; in devm_phy_package_join()
1649 void phy_detach(struct phy_device *phydev) in phy_detach()
1703 int phy_suspend(struct phy_device *phydev) in phy_suspend()
1729 int __phy_resume(struct phy_device *phydev) in __phy_resume()
1747 int phy_resume(struct phy_device *phydev) in phy_resume()
1759 int phy_loopback(struct phy_device *phydev, bool enable) in phy_loopback()
1801 int phy_reset_after_clk_enable(struct phy_device *phydev) in phy_reset_after_clk_enable()
1827 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
1882 static int genphy_c37_config_advert(struct phy_device *phydev) in genphy_c37_config_advert()
1914 int genphy_config_eee_advert(struct phy_device *phydev) in genphy_config_eee_advert()
1937 int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
1957 static int genphy_setup_master_slave(struct phy_device *phydev) in genphy_setup_master_slave()
1989 static int genphy_read_master_slave(struct phy_device *phydev) in genphy_read_master_slave()
2045 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
2060 int genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart) in genphy_check_and_restart_aneg()
2092 int __genphy_config_aneg(struct phy_device *phydev, bool changed) in __genphy_config_aneg()
2127 int genphy_c37_config_aneg(struct phy_device *phydev) in genphy_c37_config_aneg()
2174 int genphy_aneg_done(struct phy_device *phydev) in genphy_aneg_done()
2190 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
2235 int genphy_read_lpa(struct phy_device *phydev) in genphy_read_lpa()
2289 int genphy_read_status_fixed(struct phy_device *phydev) in genphy_read_status_fixed()
2321 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
2367 int genphy_c37_read_status(struct phy_device *phydev) in genphy_c37_read_status()
2425 int genphy_soft_reset(struct phy_device *phydev) in genphy_soft_reset()
2464 int genphy_read_abilities(struct phy_device *phydev) in genphy_read_abilities()
2509 int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, u16 regnum) in genphy_read_mmd_unsupported()
2515 int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, in genphy_write_mmd_unsupported()
2522 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
2528 int genphy_resume(struct phy_device *phydev) in genphy_resume()
2534 int genphy_loopback(struct phy_device *phydev, bool enable) in genphy_loopback()
2550 void phy_remove_link_mode(struct phy_device *phydev, u32 link_mode) in phy_remove_link_mode()
2572 void phy_advertise_supported(struct phy_device *phydev) in phy_advertise_supported()
2589 void phy_support_sym_pause(struct phy_device *phydev) in phy_support_sym_pause()
2602 void phy_support_asym_pause(struct phy_device *phydev) in phy_support_asym_pause()
2619 void phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, in phy_set_sym_pause()
2643 void phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx) in phy_set_asym_pause()
2665 bool phy_validate_pause(struct phy_device *phydev, in phy_validate_pause()
2693 void phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause) in phy_get_pause()
2742 s32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev, in phy_get_internal_delay()
2820 struct phy_device *phydev = to_phy_device(dev); in phy_probe()
2917 struct phy_device *phydev = to_phy_device(dev); in phy_remove()