Lines Matching refs:ks

1488 			ethtool_link_ksettings_add_link_mode(ks, advertising,\
1499 struct ethtool_link_ksettings *ks) in ice_phy_type_to_ethtool() argument
1566 ethtool_link_ksettings_zero_link_mode(ks, supported); in ice_phy_type_to_ethtool()
1567 ethtool_link_ksettings_zero_link_mode(ks, advertising); in ice_phy_type_to_ethtool()
1572 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1582 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1590 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1599 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1607 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1616 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1625 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1636 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1644 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1652 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1660 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1673 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1682 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1692 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1700 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1710 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1718 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1726 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1742 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1751 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1762 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1781 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1790 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1799 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1810 ethtool_link_ksettings_add_link_mode(ks, supported, in ice_phy_type_to_ethtool()
1827 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, in ice_get_settings_link_up() argument
1838 ice_phy_type_to_ethtool(netdev, ks); in ice_get_settings_link_up()
1842 ks->base.speed = SPEED_100000; in ice_get_settings_link_up()
1845 ks->base.speed = SPEED_50000; in ice_get_settings_link_up()
1848 ks->base.speed = SPEED_40000; in ice_get_settings_link_up()
1851 ks->base.speed = SPEED_25000; in ice_get_settings_link_up()
1854 ks->base.speed = SPEED_20000; in ice_get_settings_link_up()
1857 ks->base.speed = SPEED_10000; in ice_get_settings_link_up()
1860 ks->base.speed = SPEED_5000; in ice_get_settings_link_up()
1863 ks->base.speed = SPEED_2500; in ice_get_settings_link_up()
1866 ks->base.speed = SPEED_1000; in ice_get_settings_link_up()
1869 ks->base.speed = SPEED_100; in ice_get_settings_link_up()
1876 ks->base.duplex = DUPLEX_FULL; in ice_get_settings_link_up()
1879 ethtool_link_ksettings_add_link_mode(ks, lp_advertising, in ice_get_settings_link_up()
1885 ethtool_link_ksettings_add_link_mode(ks, lp_advertising, Pause); in ice_get_settings_link_up()
1888 ethtool_link_ksettings_add_link_mode(ks, lp_advertising, Pause); in ice_get_settings_link_up()
1889 ethtool_link_ksettings_add_link_mode(ks, lp_advertising, in ice_get_settings_link_up()
1893 ethtool_link_ksettings_add_link_mode(ks, lp_advertising, in ice_get_settings_link_up()
1898 ethtool_link_ksettings_del_link_mode(ks, lp_advertising, Pause); in ice_get_settings_link_up()
1899 ethtool_link_ksettings_del_link_mode(ks, lp_advertising, in ice_get_settings_link_up()
1913 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, in ice_get_settings_link_down() argument
1919 ice_phy_type_to_ethtool(netdev, ks); in ice_get_settings_link_down()
1922 ks->base.speed = SPEED_UNKNOWN; in ice_get_settings_link_down()
1923 ks->base.duplex = DUPLEX_UNKNOWN; in ice_get_settings_link_down()
1935 struct ethtool_link_ksettings *ks) in ice_get_link_ksettings() argument
1944 ethtool_link_ksettings_zero_link_mode(ks, supported); in ice_get_link_ksettings()
1945 ethtool_link_ksettings_zero_link_mode(ks, advertising); in ice_get_link_ksettings()
1946 ethtool_link_ksettings_zero_link_mode(ks, lp_advertising); in ice_get_link_ksettings()
1951 ice_get_settings_link_up(ks, netdev); in ice_get_link_ksettings()
1953 ice_get_settings_link_down(ks, netdev); in ice_get_link_ksettings()
1956 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? in ice_get_link_ksettings()
1962 ethtool_link_ksettings_add_link_mode(ks, supported, FIBRE); in ice_get_link_ksettings()
1963 ks->base.port = PORT_FIBRE; in ice_get_link_ksettings()
1966 ethtool_link_ksettings_add_link_mode(ks, supported, TP); in ice_get_link_ksettings()
1967 ethtool_link_ksettings_add_link_mode(ks, advertising, TP); in ice_get_link_ksettings()
1968 ks->base.port = PORT_TP; in ice_get_link_ksettings()
1971 ethtool_link_ksettings_add_link_mode(ks, supported, Backplane); in ice_get_link_ksettings()
1972 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
1974 ks->base.port = PORT_NONE; in ice_get_link_ksettings()
1977 ethtool_link_ksettings_add_link_mode(ks, supported, FIBRE); in ice_get_link_ksettings()
1978 ethtool_link_ksettings_add_link_mode(ks, advertising, FIBRE); in ice_get_link_ksettings()
1979 ks->base.port = PORT_DA; in ice_get_link_ksettings()
1982 ks->base.port = PORT_OTHER; in ice_get_link_ksettings()
1987 ethtool_link_ksettings_add_link_mode(ks, supported, Pause); in ice_get_link_ksettings()
2003 ethtool_link_ksettings_add_link_mode(ks, advertising, Pause); in ice_get_link_ksettings()
2004 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2007 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2010 ethtool_link_ksettings_add_link_mode(ks, advertising, Pause); in ice_get_link_ksettings()
2011 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2014 ethtool_link_ksettings_del_link_mode(ks, advertising, Pause); in ice_get_link_ksettings()
2015 ethtool_link_ksettings_del_link_mode(ks, advertising, in ice_get_link_ksettings()
2020 ethtool_link_ksettings_add_link_mode(ks, advertising, FEC_NONE); in ice_get_link_ksettings()
2024 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2028 ethtool_link_ksettings_add_link_mode(ks, advertising, FEC_RS); in ice_get_link_ksettings()
2038 ethtool_link_ksettings_add_link_mode(ks, supported, FEC_NONE); in ice_get_link_ksettings()
2042 ethtool_link_ksettings_add_link_mode(ks, supported, FEC_BASER); in ice_get_link_ksettings()
2044 ethtool_link_ksettings_add_link_mode(ks, supported, FEC_RS); in ice_get_link_ksettings()
2048 ethtool_link_ksettings_add_link_mode(ks, supported, Autoneg); in ice_get_link_ksettings()
2049 ethtool_link_ksettings_add_link_mode(ks, advertising, Autoneg); in ice_get_link_ksettings()
2062 ice_ksettings_find_adv_link_speed(const struct ethtool_link_ksettings *ks) in ice_ksettings_find_adv_link_speed() argument
2066 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2069 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2072 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2074 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2077 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2080 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2083 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2086 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2088 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2091 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2093 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2096 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2098 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2100 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2103 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2105 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2107 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2109 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2112 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2114 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2117 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2120 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2122 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2124 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2126 ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
2145 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, in ice_setup_autoneg() argument
2159 if (!ethtool_link_ksettings_test_link_mode(ks, in ice_setup_autoneg()
2176 if (ethtool_link_ksettings_test_link_mode(ks, in ice_setup_autoneg()
2201 const struct ethtool_link_ksettings *ks) in ice_set_link_ksettings() argument
2205 struct ethtool_link_ksettings copy_ks = *ks; in ice_set_link_ksettings()
2318 adv_link_speed = ice_ksettings_find_adv_link_speed(ks); in ice_set_link_ksettings()