Lines Matching refs:link_settings

197 static void hinic_add_ethtool_link_mode(struct cmd_link_settings *link_settings,  in hinic_add_ethtool_link_mode()  argument
212 (link_settings, idx); in hinic_add_ethtool_link_mode()
215 (link_settings, idx); in hinic_add_ethtool_link_mode()
220 static void hinic_link_port_type(struct cmd_link_settings *link_settings, in hinic_link_port_type() argument
226 ETHTOOL_ADD_SUPPORTED_LINK_MODE(link_settings, TP); in hinic_link_port_type()
227 ETHTOOL_ADD_ADVERTISED_LINK_MODE(link_settings, TP); in hinic_link_port_type()
228 link_settings->port = PORT_TP; in hinic_link_port_type()
233 ETHTOOL_ADD_SUPPORTED_LINK_MODE(link_settings, FIBRE); in hinic_link_port_type()
234 ETHTOOL_ADD_ADVERTISED_LINK_MODE(link_settings, FIBRE); in hinic_link_port_type()
235 link_settings->port = PORT_FIBRE; in hinic_link_port_type()
239 ETHTOOL_ADD_SUPPORTED_LINK_MODE(link_settings, FIBRE); in hinic_link_port_type()
240 ETHTOOL_ADD_ADVERTISED_LINK_MODE(link_settings, FIBRE); in hinic_link_port_type()
241 link_settings->port = PORT_DA; in hinic_link_port_type()
245 ETHTOOL_ADD_SUPPORTED_LINK_MODE(link_settings, Backplane); in hinic_link_port_type()
246 ETHTOOL_ADD_ADVERTISED_LINK_MODE(link_settings, Backplane); in hinic_link_port_type()
247 link_settings->port = PORT_NONE; in hinic_link_port_type()
251 link_settings->port = PORT_OTHER; in hinic_link_port_type()
523 ethtool_link_ksettings *link_settings) in hinic_set_link_ksettings() argument
526 return set_link_settings(netdev, link_settings->base.autoneg, in hinic_set_link_ksettings()
527 link_settings->base.speed); in hinic_set_link_ksettings()