Lines Matching refs:phylink
2290 err = phylink_of_phy_connect(mac->phylink, mac->of_node, 0); in mtk_open()
2320 phylink_start(mac->phylink); in mtk_open()
2353 phylink_stop(mac->phylink); in mtk_stop()
2357 phylink_disconnect_phy(mac->phylink); in mtk_stop()
2607 phylink_disconnect_phy(mac->phylink); in mtk_uninit()
2649 return phylink_mii_ioctl(mac->phylink, ifr, cmd); in mtk_do_ioctl()
2752 return phylink_ethtool_ksettings_get(mac->phylink, cmd); in mtk_get_link_ksettings()
2763 return phylink_ethtool_ksettings_set(mac->phylink, cmd); in mtk_set_link_ksettings()
2797 if (!mac->phylink) in mtk_nway_reset()
2800 return phylink_ethtool_nway_reset(mac->phylink); in mtk_nway_reset()
2952 struct phylink *phylink; in mtk_add_mac() local
3013 phylink = phylink_create(&mac->phylink_config, in mtk_add_mac()
3016 if (IS_ERR(phylink)) { in mtk_add_mac()
3017 err = PTR_ERR(phylink); in mtk_add_mac()
3021 mac->phylink = phylink; in mtk_add_mac()
3269 phylink_disconnect_phy(mac->phylink); in mtk_remove()