Lines Matching defs:phydev
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()
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()
473 int __phy_hwtstamp_get(struct phy_device *phydev, in __phy_hwtstamp_get()
489 int __phy_hwtstamp_set(struct phy_device *phydev, in __phy_hwtstamp_set()
508 static void phy_queue_state_machine(struct phy_device *phydev, in phy_queue_state_machine()
520 void phy_trigger_machine(struct phy_device *phydev) in phy_trigger_machine()
526 static void phy_abort_cable_test(struct phy_device *phydev) in phy_abort_cable_test()
543 int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data) in phy_ethtool_get_strings()
561 int phy_ethtool_get_sset_count(struct phy_device *phydev) in phy_ethtool_get_sset_count()
589 int phy_ethtool_get_stats(struct phy_device *phydev, in phy_ethtool_get_stats()
613 void __phy_ethtool_get_phy_stats(struct phy_device *phydev, in __phy_ethtool_get_phy_stats()
633 void __phy_ethtool_get_link_ext_stats(struct phy_device *phydev, in __phy_ethtool_get_link_ext_stats()
654 int phy_ethtool_get_plca_cfg(struct phy_device *phydev, in phy_ethtool_get_plca_cfg()
687 static int plca_check_valid(struct phy_device *phydev, in plca_check_valid()
715 int phy_ethtool_set_plca_cfg(struct phy_device *phydev, in phy_ethtool_set_plca_cfg()
815 int phy_ethtool_get_plca_status(struct phy_device *phydev, in phy_ethtool_get_plca_status()
844 int phy_start_cable_test(struct phy_device *phydev, in phy_start_cable_test()
914 int phy_start_cable_test_tdr(struct phy_device *phydev, in phy_start_cable_test_tdr()
978 int phy_config_aneg(struct phy_device *phydev) in phy_config_aneg()
1000 static int phy_check_link_status(struct phy_device *phydev) in phy_check_link_status()
1046 unsigned int phy_inband_caps(struct phy_device *phydev, in phy_inband_caps()
1066 int phy_config_inband(struct phy_device *phydev, unsigned int modes) in phy_config_inband()
1097 int _phy_start_aneg(struct phy_device *phydev) in _phy_start_aneg()
1129 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
1141 static int phy_poll_aneg_done(struct phy_device *phydev) in phy_poll_aneg_done()
1157 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
1233 int phy_speed_down(struct phy_device *phydev, bool sync) in phy_speed_down()
1274 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
1312 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
1326 void phy_stop_machine(struct phy_device *phydev) in phy_stop_machine()
1336 static void phy_process_error(struct phy_device *phydev) in phy_process_error()
1347 static void phy_error_precise(struct phy_device *phydev, in phy_error_precise()
1362 void phy_error(struct phy_device *phydev) in phy_error()
1373 int phy_disable_interrupts(struct phy_device *phydev) in phy_disable_interrupts()
1388 struct phy_device *phydev = phy_dat; in phy_interrupt() local
1424 static int phy_enable_interrupts(struct phy_device *phydev) in phy_enable_interrupts()
1438 static int phy_update_stats(struct phy_device *phydev) in phy_update_stats()
1454 void phy_request_interrupt(struct phy_device *phydev) in phy_request_interrupt()
1482 void phy_free_interrupt(struct phy_device *phydev) in phy_free_interrupt()
1499 static unsigned int phy_get_next_update_time(struct phy_device *phydev) in phy_get_next_update_time()
1513 static enum phy_state_work _phy_state_machine(struct phy_device *phydev) in _phy_state_machine()
1593 static void _phy_state_machine_post_work(struct phy_device *phydev, in _phy_state_machine_post_work()
1607 struct phy_device *phydev = in phy_state_machine() local
1622 void phy_stop(struct phy_device *phydev) in phy_stop()
1672 void phy_start(struct phy_device *phydev) in phy_start()
1703 void phy_mac_interrupt(struct phy_device *phydev) in phy_mac_interrupt()
1721 int phy_loopback(struct phy_device *phydev, bool enable, int speed) in phy_loopback()
1805 int phy_eee_tx_clock_stop_capable(struct phy_device *phydev) in phy_eee_tx_clock_stop_capable()
1827 int phy_eee_rx_clock_stop(struct phy_device *phydev, bool clk_stop_enable) in phy_eee_rx_clock_stop()
1848 int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable) in phy_init_eee()
1875 int phy_get_eee_err(struct phy_device *phydev) in phy_get_eee_err()
1898 int phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data) in phy_ethtool_get_eee()
1928 static void phy_ethtool_set_eee_noneg(struct phy_device *phydev, in phy_ethtool_set_eee_noneg()
1956 int phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_keee *data) in phy_ethtool_set_eee()
1987 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_set_wol()
2009 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_get_wol()
2022 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings() local
2036 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings() local
2051 struct phy_device *phydev = ndev->phydev; in phy_ethtool_nway_reset() local