Lines Matching refs:phy_device
52 static void phy_link_up(struct phy_device *phydev) in phy_link_up()
58 static void phy_link_down(struct phy_device *phydev, bool do_carrier) in phy_link_down()
64 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str()
94 void phy_print_status(struct phy_device *phydev) in phy_print_status()
117 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt()
132 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt()
148 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
169 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
209 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds()
239 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
268 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_sset()
315 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
366 void phy_ethtool_ksettings_get(struct phy_device *phydev, in phy_ethtool_ksettings_get()
398 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
494 void phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies) in phy_queue_state_machine()
501 static void phy_trigger_machine(struct phy_device *phydev) in phy_trigger_machine()
506 static int phy_config_aneg(struct phy_device *phydev) in phy_config_aneg()
527 static int phy_check_link_status(struct phy_device *phydev) in phy_check_link_status()
563 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
588 static int phy_poll_aneg_done(struct phy_device *phydev) in phy_poll_aneg_done()
617 int phy_speed_down(struct phy_device *phydev, bool sync) in phy_speed_down()
650 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
681 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
695 void phy_stop_machine(struct phy_device *phydev) in phy_stop_machine()
714 static void phy_error(struct phy_device *phydev) in phy_error()
729 static int phy_disable_interrupts(struct phy_device *phydev) in phy_disable_interrupts()
751 struct phy_device *phydev = phy_dat; in phy_interrupt()
777 static int phy_enable_interrupts(struct phy_device *phydev) in phy_enable_interrupts()
795 void phy_request_interrupt(struct phy_device *phydev) in phy_request_interrupt()
823 void phy_free_interrupt(struct phy_device *phydev) in phy_free_interrupt()
834 void phy_stop(struct phy_device *phydev) in phy_stop()
868 void phy_start(struct phy_device *phydev) in phy_start()
896 struct phy_device *phydev = in phy_state_machine()
897 container_of(dwork, struct phy_device, state_queue); in phy_state_machine()
966 void phy_mac_interrupt(struct phy_device *phydev) in phy_mac_interrupt()
1007 int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable) in phy_init_eee()
1075 int phy_get_eee_err(struct phy_device *phydev) in phy_get_eee_err()
1092 int phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_get_eee()
1131 int phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_set_eee()
1171 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_set_wol()
1180 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_get_wol()
1190 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
1204 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
1215 struct phy_device *phydev = ndev->phydev; in phy_ethtool_nway_reset()