Lines Matching refs:phy_device
60 static void phy_link_up(struct phy_device *phydev) in phy_link_up()
66 static void phy_link_down(struct phy_device *phydev) in phy_link_down()
73 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str()
103 void phy_print_status(struct phy_device *phydev) in phy_print_status()
130 int phy_get_rate_matching(struct phy_device *phydev, in phy_get_rate_matching()
152 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt()
168 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
189 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
229 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds()
259 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
275 void phy_ethtool_ksettings_get(struct phy_device *phydev, in phy_ethtool_ksettings_get()
312 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
451 void phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies) in phy_queue_state_machine()
463 void phy_trigger_machine(struct phy_device *phydev) in phy_trigger_machine()
469 static void phy_abort_cable_test(struct phy_device *phydev) in phy_abort_cable_test()
486 int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data) in phy_ethtool_get_strings()
504 int phy_ethtool_get_sset_count(struct phy_device *phydev) in phy_ethtool_get_sset_count()
532 int phy_ethtool_get_stats(struct phy_device *phydev, in phy_ethtool_get_stats()
554 int phy_ethtool_get_plca_cfg(struct phy_device *phydev, in phy_ethtool_get_plca_cfg()
587 static int plca_check_valid(struct phy_device *phydev, in plca_check_valid()
615 int phy_ethtool_set_plca_cfg(struct phy_device *phydev, in phy_ethtool_set_plca_cfg()
715 int phy_ethtool_get_plca_status(struct phy_device *phydev, in phy_ethtool_get_plca_status()
744 int phy_start_cable_test(struct phy_device *phydev, in phy_start_cable_test()
814 int phy_start_cable_test_tdr(struct phy_device *phydev, in phy_start_cable_test_tdr()
878 int phy_config_aneg(struct phy_device *phydev) in phy_config_aneg()
900 static int phy_check_link_status(struct phy_device *phydev) in phy_check_link_status()
937 static int _phy_start_aneg(struct phy_device *phydev) in _phy_start_aneg()
968 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
980 static int phy_poll_aneg_done(struct phy_device *phydev) in phy_poll_aneg_done()
996 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
1069 int phy_speed_down(struct phy_device *phydev, bool sync) in phy_speed_down()
1110 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
1148 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
1162 void phy_stop_machine(struct phy_device *phydev) in phy_stop_machine()
1181 void phy_error(struct phy_device *phydev) in phy_error()
1197 int phy_disable_interrupts(struct phy_device *phydev) in phy_disable_interrupts()
1212 struct phy_device *phydev = phy_dat; in phy_interrupt()
1249 static int phy_enable_interrupts(struct phy_device *phydev) in phy_enable_interrupts()
1262 void phy_request_interrupt(struct phy_device *phydev) in phy_request_interrupt()
1290 void phy_free_interrupt(struct phy_device *phydev) in phy_free_interrupt()
1301 void phy_stop(struct phy_device *phydev) in phy_stop()
1345 void phy_start(struct phy_device *phydev) in phy_start()
1376 struct phy_device *phydev = in phy_state_machine()
1377 container_of(dwork, struct phy_device, state_queue); in phy_state_machine()
1468 void phy_mac_interrupt(struct phy_device *phydev) in phy_mac_interrupt()
1485 int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable) in phy_init_eee()
1516 int phy_get_eee_err(struct phy_device *phydev) in phy_get_eee_err()
1539 int phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_get_eee()
1561 int phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_set_eee()
1582 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_set_wol()
1604 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_get_wol()
1617 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
1631 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
1646 struct phy_device *phydev = ndev->phydev; in phy_ethtool_nway_reset()