Lines Matching refs:phy_device

59 static void phy_link_up(struct phy_device *phydev)  in phy_link_up()
65 static void phy_link_down(struct phy_device *phydev) in phy_link_down()
71 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str()
101 void phy_print_status(struct phy_device *phydev) in phy_print_status()
123 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt()
139 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
160 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
200 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds()
230 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
246 void phy_ethtool_ksettings_get(struct phy_device *phydev, in phy_ethtool_ksettings_get()
282 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
417 void phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies) in phy_queue_state_machine()
429 void phy_trigger_machine(struct phy_device *phydev) in phy_trigger_machine()
435 static void phy_abort_cable_test(struct phy_device *phydev) in phy_abort_cable_test()
452 int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data) in phy_ethtool_get_strings()
470 int phy_ethtool_get_sset_count(struct phy_device *phydev) in phy_ethtool_get_sset_count()
498 int phy_ethtool_get_stats(struct phy_device *phydev, in phy_ethtool_get_stats()
518 int phy_start_cable_test(struct phy_device *phydev, in phy_start_cable_test()
588 int phy_start_cable_test_tdr(struct phy_device *phydev, in phy_start_cable_test_tdr()
652 int phy_config_aneg(struct phy_device *phydev) in phy_config_aneg()
674 static int phy_check_link_status(struct phy_device *phydev) in phy_check_link_status()
711 static int _phy_start_aneg(struct phy_device *phydev) in _phy_start_aneg()
742 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
754 static int phy_poll_aneg_done(struct phy_device *phydev) in phy_poll_aneg_done()
770 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
843 int phy_speed_down(struct phy_device *phydev, bool sync) in phy_speed_down()
876 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
907 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
921 void phy_stop_machine(struct phy_device *phydev) in phy_stop_machine()
940 void phy_error(struct phy_device *phydev) in phy_error()
956 int phy_disable_interrupts(struct phy_device *phydev) in phy_disable_interrupts()
971 struct phy_device *phydev = phy_dat; in phy_interrupt()
981 static int phy_enable_interrupts(struct phy_device *phydev) in phy_enable_interrupts()
994 void phy_request_interrupt(struct phy_device *phydev) in phy_request_interrupt()
1022 void phy_free_interrupt(struct phy_device *phydev) in phy_free_interrupt()
1033 void phy_stop(struct phy_device *phydev) in phy_stop()
1077 void phy_start(struct phy_device *phydev) in phy_start()
1108 struct phy_device *phydev = in phy_state_machine()
1109 container_of(dwork, struct phy_device, state_queue); in phy_state_machine()
1200 void phy_mac_interrupt(struct phy_device *phydev) in phy_mac_interrupt()
1241 int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable) in phy_init_eee()
1309 int phy_get_eee_err(struct phy_device *phydev) in phy_get_eee_err()
1326 int phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_get_eee()
1365 int phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_set_eee()
1413 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_set_wol()
1428 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_get_wol()
1438 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
1452 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
1467 struct phy_device *phydev = ndev->phydev; in phy_ethtool_nway_reset()