Lines Matching refs:phy_device

202 void phy_device_free(struct phy_device *phydev)  in phy_device_free()
210 struct phy_device *phydev; in phy_mdio_device_free()
212 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_free()
223 struct phy_device *phydev; in phy_mdio_device_remove()
225 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()
275 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend()
298 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume()
336 int (*run)(struct phy_device *)) in phy_register_fixup() argument
358 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
366 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
422 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
437 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
460 struct phy_device *phydev = to_phy_device(dev); in phy_bus_match()
491 struct phy_device *phydev = to_phy_device(dev); in phy_id_show()
500 struct phy_device *phydev = to_phy_device(dev); in phy_interface_show()
516 struct phy_device *phydev = to_phy_device(dev); in phy_has_fixups_show()
526 struct phy_device *phydev = to_phy_device(dev); in phy_dev_flags_show()
548 static int phy_request_driver_module(struct phy_device *dev, u32 phy_id) in phy_request_driver_module()
568 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, in phy_device_create()
572 struct phy_device *dev; in phy_device_create()
877 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device()
915 int phy_device_register(struct phy_device *phydev) in phy_device_register()
958 void phy_device_remove(struct phy_device *phydev) in phy_device_remove()
978 int phy_get_c45_ids(struct phy_device *phydev) in phy_get_c45_ids()
989 struct phy_device *phy_find_first(struct mii_bus *bus) in phy_find_first()
991 struct phy_device *phydev; in phy_find_first()
1003 static void phy_link_change(struct phy_device *phydev, bool up) in phy_link_change()
1028 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
1041 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
1077 struct phy_device *phy_connect(struct net_device *dev, const char *bus_id, in phy_connect()
1081 struct phy_device *phydev; in phy_connect()
1109 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
1141 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
1157 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
1197 void phy_attached_info(struct phy_device *phydev) in phy_attached_info()
1204 char *phy_attached_info_irq(struct phy_device *phydev) in phy_attached_info_irq()
1226 void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) in phy_attached_print()
1248 static void phy_sysfs_create_links(struct phy_device *phydev) in phy_sysfs_create_links()
1280 struct phy_device *phydev = to_phy_device(dev); in phy_standalone_show()
1295 struct phy_device *phydev = upstream; in phy_sfp_attach()
1312 struct phy_device *phydev = upstream; in phy_sfp_detach()
1325 int phy_sfp_probe(struct phy_device *phydev, in phy_sfp_probe()
1360 int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
1507 struct phy_device *phy_attach(struct net_device *dev, const char *bus_id, in phy_attach()
1511 struct phy_device *phydev; in phy_attach()
1537 static bool phy_driver_is_genphy_kind(struct phy_device *phydev, in phy_driver_is_genphy_kind()
1553 bool phy_driver_is_genphy(struct phy_device *phydev) in phy_driver_is_genphy()
1560 bool phy_driver_is_genphy_10g(struct phy_device *phydev) in phy_driver_is_genphy_10g()
1593 int phy_package_join(struct phy_device *phydev, int addr, size_t priv_size) in phy_package_join()
1646 void phy_package_leave(struct phy_device *phydev) in phy_package_leave()
1667 phy_package_leave(*(struct phy_device **)res); in devm_phy_package_leave()
1681 int devm_phy_package_join(struct device *dev, struct phy_device *phydev, in devm_phy_package_join()
1684 struct phy_device **ptr; in devm_phy_package_join()
1712 void phy_detach(struct phy_device *phydev) in phy_detach()
1766 int phy_suspend(struct phy_device *phydev) in phy_suspend()
1792 int __phy_resume(struct phy_device *phydev) in __phy_resume()
1810 int phy_resume(struct phy_device *phydev) in phy_resume()
1822 int phy_loopback(struct phy_device *phydev, bool enable) in phy_loopback()
1866 int phy_reset_after_clk_enable(struct phy_device *phydev) in phy_reset_after_clk_enable()
1892 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
1947 static int genphy_c37_config_advert(struct phy_device *phydev) in genphy_c37_config_advert()
1979 int genphy_config_eee_advert(struct phy_device *phydev) in genphy_config_eee_advert()
2002 int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
2022 static int genphy_setup_master_slave(struct phy_device *phydev) in genphy_setup_master_slave()
2054 static int genphy_read_master_slave(struct phy_device *phydev) in genphy_read_master_slave()
2110 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
2125 int genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart) in genphy_check_and_restart_aneg()
2157 int __genphy_config_aneg(struct phy_device *phydev, bool changed) in __genphy_config_aneg()
2192 int genphy_c37_config_aneg(struct phy_device *phydev) in genphy_c37_config_aneg()
2239 int genphy_aneg_done(struct phy_device *phydev) in genphy_aneg_done()
2255 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
2300 int genphy_read_lpa(struct phy_device *phydev) in genphy_read_lpa()
2354 int genphy_read_status_fixed(struct phy_device *phydev) in genphy_read_status_fixed()
2386 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
2432 int genphy_c37_read_status(struct phy_device *phydev) in genphy_c37_read_status()
2490 int genphy_soft_reset(struct phy_device *phydev) in genphy_soft_reset()
2520 irqreturn_t genphy_handle_interrupt_no_ack(struct phy_device *phydev) in genphy_handle_interrupt_no_ack()
2542 int genphy_read_abilities(struct phy_device *phydev) in genphy_read_abilities()
2587 int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, u16 regnum) in genphy_read_mmd_unsupported()
2593 int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, in genphy_write_mmd_unsupported()
2600 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
2606 int genphy_resume(struct phy_device *phydev) in genphy_resume()
2612 int genphy_loopback(struct phy_device *phydev, bool enable) in genphy_loopback()
2652 void phy_remove_link_mode(struct phy_device *phydev, u32 link_mode) in phy_remove_link_mode()
2674 void phy_advertise_supported(struct phy_device *phydev) in phy_advertise_supported()
2691 void phy_support_sym_pause(struct phy_device *phydev) in phy_support_sym_pause()
2704 void phy_support_asym_pause(struct phy_device *phydev) in phy_support_asym_pause()
2721 void phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, in phy_set_sym_pause()
2745 void phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx) in phy_set_asym_pause()
2767 bool phy_validate_pause(struct phy_device *phydev, in phy_validate_pause()
2795 void phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause) in phy_get_pause()
2844 s32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev, in phy_get_internal_delay()
2943 struct phy_device *fwnode_phy_find_device(struct fwnode_handle *phy_fwnode) in fwnode_phy_find_device()
2966 struct phy_device *device_phy_find_device(struct device *dev) in device_phy_find_device()
3006 struct phy_device *phydev = to_phy_device(dev); in phy_probe()
3102 struct phy_device *phydev = to_phy_device(dev); in phy_remove()
3126 struct phy_device *phydev = to_phy_device(dev); in phy_shutdown()