Lines Matching refs:phy_device

234 void phy_device_free(struct phy_device *phydev)  in phy_device_free()
242 struct phy_device *phydev; in phy_mdio_device_free()
244 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_free()
256 struct phy_device *phydev; in phy_mdio_device_remove()
258 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_remove()
267 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
308 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend()
340 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume()
400 int (*run)(struct phy_device *)) in phy_register_fixup() argument
422 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
430 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
486 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
501 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
524 struct phy_device *phydev = to_phy_device(dev); in phy_bus_match()
555 struct phy_device *phydev = to_phy_device(dev); in phy_id_show()
564 struct phy_device *phydev = to_phy_device(dev); in phy_interface_show()
580 struct phy_device *phydev = to_phy_device(dev); in phy_has_fixups_show()
590 struct phy_device *phydev = to_phy_device(dev); in phy_dev_flags_show()
612 static int phy_request_driver_module(struct phy_device *dev, u32 phy_id) in phy_request_driver_module()
632 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, in phy_device_create()
636 struct phy_device *dev; in phy_device_create()
942 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device()
980 int phy_device_register(struct phy_device *phydev) in phy_device_register()
1023 void phy_device_remove(struct phy_device *phydev) in phy_device_remove()
1044 int phy_get_c45_ids(struct phy_device *phydev) in phy_get_c45_ids()
1055 struct phy_device *phy_find_first(struct mii_bus *bus) in phy_find_first()
1057 struct phy_device *phydev; in phy_find_first()
1069 static void phy_link_change(struct phy_device *phydev, bool up) in phy_link_change()
1094 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
1107 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
1143 struct phy_device *phy_connect(struct net_device *dev, const char *bus_id, in phy_connect()
1147 struct phy_device *phydev; in phy_connect()
1175 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
1207 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
1223 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
1263 void phy_attached_info(struct phy_device *phydev) in phy_attached_info()
1270 char *phy_attached_info_irq(struct phy_device *phydev) in phy_attached_info_irq()
1292 void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) in phy_attached_print()
1314 static void phy_sysfs_create_links(struct phy_device *phydev) in phy_sysfs_create_links()
1346 struct phy_device *phydev = to_phy_device(dev); in phy_standalone_show()
1361 struct phy_device *phydev = upstream; in phy_sfp_attach()
1378 struct phy_device *phydev = upstream; in phy_sfp_detach()
1391 int phy_sfp_probe(struct phy_device *phydev, in phy_sfp_probe()
1426 int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
1588 struct phy_device *phy_attach(struct net_device *dev, const char *bus_id, in phy_attach()
1592 struct phy_device *phydev; in phy_attach()
1618 static bool phy_driver_is_genphy_kind(struct phy_device *phydev, in phy_driver_is_genphy_kind()
1634 bool phy_driver_is_genphy(struct phy_device *phydev) in phy_driver_is_genphy()
1641 bool phy_driver_is_genphy_10g(struct phy_device *phydev) in phy_driver_is_genphy_10g()
1674 int phy_package_join(struct phy_device *phydev, int addr, size_t priv_size) in phy_package_join()
1727 void phy_package_leave(struct phy_device *phydev) in phy_package_leave()
1748 phy_package_leave(*(struct phy_device **)res); in devm_phy_package_leave()
1762 int devm_phy_package_join(struct device *dev, struct phy_device *phydev, in devm_phy_package_join()
1765 struct phy_device **ptr; in devm_phy_package_join()
1793 void phy_detach(struct phy_device *phydev) in phy_detach()
1850 int phy_suspend(struct phy_device *phydev) in phy_suspend()
1876 int __phy_resume(struct phy_device *phydev) in __phy_resume()
1894 int phy_resume(struct phy_device *phydev) in phy_resume()
1906 int phy_loopback(struct phy_device *phydev, bool enable) in phy_loopback()
1950 int phy_reset_after_clk_enable(struct phy_device *phydev) in phy_reset_after_clk_enable()
1976 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
2031 static int genphy_c37_config_advert(struct phy_device *phydev) in genphy_c37_config_advert()
2063 int genphy_config_eee_advert(struct phy_device *phydev) in genphy_config_eee_advert()
2086 int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
2100 static int genphy_setup_master_slave(struct phy_device *phydev) in genphy_setup_master_slave()
2132 int genphy_read_master_slave(struct phy_device *phydev) in genphy_read_master_slave()
2183 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
2198 int genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart) in genphy_check_and_restart_aneg()
2230 int __genphy_config_aneg(struct phy_device *phydev, bool changed) in __genphy_config_aneg()
2268 int genphy_c37_config_aneg(struct phy_device *phydev) in genphy_c37_config_aneg()
2315 int genphy_aneg_done(struct phy_device *phydev) in genphy_aneg_done()
2331 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
2376 int genphy_read_lpa(struct phy_device *phydev) in genphy_read_lpa()
2430 int genphy_read_status_fixed(struct phy_device *phydev) in genphy_read_status_fixed()
2462 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
2512 int genphy_c37_read_status(struct phy_device *phydev) in genphy_c37_read_status()
2570 int genphy_soft_reset(struct phy_device *phydev) in genphy_soft_reset()
2600 irqreturn_t genphy_handle_interrupt_no_ack(struct phy_device *phydev) in genphy_handle_interrupt_no_ack()
2622 int genphy_read_abilities(struct phy_device *phydev) in genphy_read_abilities()
2672 int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, u16 regnum) in genphy_read_mmd_unsupported()
2678 int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, in genphy_write_mmd_unsupported()
2685 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
2691 int genphy_resume(struct phy_device *phydev) in genphy_resume()
2697 int genphy_loopback(struct phy_device *phydev, bool enable) in genphy_loopback()
2731 void phy_remove_link_mode(struct phy_device *phydev, u32 link_mode) in phy_remove_link_mode()
2753 void phy_advertise_supported(struct phy_device *phydev) in phy_advertise_supported()
2770 void phy_support_sym_pause(struct phy_device *phydev) in phy_support_sym_pause()
2783 void phy_support_asym_pause(struct phy_device *phydev) in phy_support_asym_pause()
2800 void phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, in phy_set_sym_pause()
2824 void phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx) in phy_set_asym_pause()
2846 bool phy_validate_pause(struct phy_device *phydev, in phy_validate_pause()
2874 void phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause) in phy_get_pause()
2923 s32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev, in phy_get_internal_delay()
3022 struct phy_device *fwnode_phy_find_device(struct fwnode_handle *phy_fwnode) in fwnode_phy_find_device()
3045 struct phy_device *device_phy_find_device(struct device *dev) in device_phy_find_device()
3085 struct phy_device *phydev = to_phy_device(dev); in phy_probe()
3198 struct phy_device *phydev = to_phy_device(dev); in phy_remove()
3220 struct phy_device *phydev = to_phy_device(dev); in phy_shutdown()