Lines Matching refs:phy_device
70 void phy_print_status(struct phy_device *phydev) in phy_print_status()
93 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt()
108 static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) in phy_config_interrupt()
124 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
145 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
191 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds()
224 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
257 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_sset()
304 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
358 void phy_ethtool_ksettings_get(struct phy_device *phydev, in phy_ethtool_ksettings_get()
395 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
470 static int phy_config_aneg(struct phy_device *phydev) in phy_config_aneg()
494 static int phy_start_aneg_priv(struct phy_device *phydev, bool sync) in phy_start_aneg_priv()
554 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
560 static int phy_poll_aneg_done(struct phy_device *phydev) in phy_poll_aneg_done()
589 int phy_speed_down(struct phy_device *phydev, bool sync) in phy_speed_down()
621 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
648 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
664 void phy_trigger_machine(struct phy_device *phydev, bool sync) in phy_trigger_machine()
681 void phy_stop_machine(struct phy_device *phydev) in phy_stop_machine()
700 static void phy_error(struct phy_device *phydev) in phy_error()
713 static int phy_disable_interrupts(struct phy_device *phydev) in phy_disable_interrupts()
730 static irqreturn_t phy_change(struct phy_device *phydev) in phy_change()
765 struct phy_device *phydev = in phy_change_work()
766 container_of(work, struct phy_device, phy_queue); in phy_change_work()
781 struct phy_device *phydev = phy_dat; in phy_interrupt()
793 static int phy_enable_interrupts(struct phy_device *phydev) in phy_enable_interrupts()
813 int phy_start_interrupts(struct phy_device *phydev) in phy_start_interrupts()
832 int phy_stop_interrupts(struct phy_device *phydev) in phy_stop_interrupts()
849 void phy_stop(struct phy_device *phydev) in phy_stop()
881 void phy_start(struct phy_device *phydev) in phy_start()
916 static void phy_link_up(struct phy_device *phydev) in phy_link_up()
922 static void phy_link_down(struct phy_device *phydev, bool do_carrier) in phy_link_down()
935 struct phy_device *phydev = in phy_state_machine()
936 container_of(dwork, struct phy_device, state_queue); in phy_state_machine()
1138 void phy_mac_interrupt(struct phy_device *phydev) in phy_mac_interrupt()
1155 int phy_init_eee(struct phy_device *phydev, bool clk_stop_enable) in phy_init_eee()
1223 int phy_get_eee_err(struct phy_device *phydev) in phy_get_eee_err()
1240 int phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_get_eee()
1276 int phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_eee *data) in phy_ethtool_set_eee()
1314 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_set_wol()
1323 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in phy_ethtool_get_wol()
1333 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
1347 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
1358 struct phy_device *phydev = ndev->phydev; in phy_ethtool_nway_reset()