Lines Matching refs:phy_device
64 static void phy_process_state_change(struct phy_device *phydev, in phy_process_state_change()
76 static void phy_link_up(struct phy_device *phydev) in phy_link_up()
82 static void phy_link_down(struct phy_device *phydev) in phy_link_down()
89 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str()
119 void phy_print_status(struct phy_device *phydev) in phy_print_status()
146 int phy_get_rate_matching(struct phy_device *phydev, in phy_get_rate_matching()
168 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt()
184 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
205 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
226 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds()
256 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
273 void phy_ethtool_ksettings_get(struct phy_device *phydev, in phy_ethtool_ksettings_get()
310 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
475 int __phy_hwtstamp_get(struct phy_device *phydev, in __phy_hwtstamp_get()
494 int __phy_hwtstamp_set(struct phy_device *phydev, in __phy_hwtstamp_set()
514 static void phy_queue_state_machine(struct phy_device *phydev, in phy_queue_state_machine()
526 void phy_trigger_machine(struct phy_device *phydev) in phy_trigger_machine()
532 static void phy_abort_cable_test(struct phy_device *phydev) in phy_abort_cable_test()
549 int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data) in phy_ethtool_get_strings()
567 int phy_ethtool_get_sset_count(struct phy_device *phydev) in phy_ethtool_get_sset_count()
595 int phy_ethtool_get_stats(struct phy_device *phydev, in phy_ethtool_get_stats()
619 void __phy_ethtool_get_phy_stats(struct phy_device *phydev, in __phy_ethtool_get_phy_stats()
639 void __phy_ethtool_get_link_ext_stats(struct phy_device *phydev, in __phy_ethtool_get_link_ext_stats()
660 int phy_ethtool_get_plca_cfg(struct phy_device *phydev, in phy_ethtool_get_plca_cfg()
693 static int plca_check_valid(struct phy_device *phydev, in plca_check_valid()
721 int phy_ethtool_set_plca_cfg(struct phy_device *phydev, in phy_ethtool_set_plca_cfg()
821 int phy_ethtool_get_plca_status(struct phy_device *phydev, in phy_ethtool_get_plca_status()
850 int phy_start_cable_test(struct phy_device *phydev, in phy_start_cable_test()
920 int phy_start_cable_test_tdr(struct phy_device *phydev, in phy_start_cable_test_tdr()
984 int phy_config_aneg(struct phy_device *phydev) in phy_config_aneg()
1006 static int phy_check_link_status(struct phy_device *phydev) in phy_check_link_status()
1052 unsigned int phy_inband_caps(struct phy_device *phydev, in phy_inband_caps()
1072 int phy_config_inband(struct phy_device *phydev, unsigned int modes) in phy_config_inband()
1099 int _phy_start_aneg(struct phy_device *phydev) in _phy_start_aneg()
1131 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
1143 static int phy_poll_aneg_done(struct phy_device *phydev) in phy_poll_aneg_done()
1159 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
1235 int phy_speed_down(struct phy_device *phydev, bool sync) in phy_speed_down()
1276 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
1314 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
1328 void phy_stop_machine(struct phy_device *phydev) in phy_stop_machine()
1338 static void phy_process_error(struct phy_device *phydev) in phy_process_error()
1349 static void phy_error_precise(struct phy_device *phydev, in phy_error_precise()
1364 void phy_error(struct phy_device *phydev) in phy_error()
1375 int phy_disable_interrupts(struct phy_device *phydev) in phy_disable_interrupts()
1390 struct phy_device *phydev = phy_dat; in phy_interrupt()
1426 static int phy_enable_interrupts(struct phy_device *phydev) in phy_enable_interrupts()
1440 static int phy_update_stats(struct phy_device *phydev) in phy_update_stats()
1456 void phy_request_interrupt(struct phy_device *phydev) in phy_request_interrupt()
1484 void phy_free_interrupt(struct phy_device *phydev) in phy_free_interrupt()
1501 static unsigned int phy_get_next_update_time(struct phy_device *phydev) in phy_get_next_update_time()
1515 static enum phy_state_work _phy_state_machine(struct phy_device *phydev) in _phy_state_machine()
1610 static void _phy_state_machine_post_work(struct phy_device *phydev, in _phy_state_machine_post_work()
1624 struct phy_device *phydev = in phy_state_machine()
1625 container_of(dwork, struct phy_device, state_queue); in phy_state_machine()
1639 void phy_stop(struct phy_device *phydev) in phy_stop()
1689 void phy_start(struct phy_device *phydev) in phy_start()
1720 void phy_mac_interrupt(struct phy_device *phydev) in phy_mac_interrupt()
1738 int phy_loopback(struct phy_device *phydev, bool enable, int speed) in phy_loopback()
1822 int phy_eee_tx_clock_stop_capable(struct phy_device *phydev) in phy_eee_tx_clock_stop_capable()
1844 int phy_eee_rx_clock_stop(struct phy_device *phydev, bool clk_stop_enable) in phy_eee_rx_clock_stop()
1865 int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable) in phy_init_eee()
1892 int phy_get_eee_err(struct phy_device *phydev) in phy_get_eee_err()
1915 int phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data) in phy_ethtool_get_eee()
1945 static void phy_ethtool_set_eee_noneg(struct phy_device *phydev, in phy_ethtool_set_eee_noneg()
1973 int phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_keee *data) in phy_ethtool_set_eee()
2004 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_set_wol()
2026 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_get_wol()
2039 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
2053 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
2068 struct phy_device *phydev = ndev->phydev; in phy_ethtool_nway_reset()