Lines Matching refs:cmd
920 struct ethtool_link_ksettings *cmd) in ULi_ethtool_get_link_ksettings() argument
938 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in ULi_ethtool_get_link_ksettings()
940 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, in ULi_ethtool_get_link_ksettings()
943 cmd->base.port = PORT_MII; in ULi_ethtool_get_link_ksettings()
944 cmd->base.phy_address = db->phy_addr; in ULi_ethtool_get_link_ksettings()
946 cmd->base.speed = SPEED_10; in ULi_ethtool_get_link_ksettings()
947 cmd->base.duplex = DUPLEX_HALF; in ULi_ethtool_get_link_ksettings()
951 cmd->base.speed = SPEED_100; in ULi_ethtool_get_link_ksettings()
955 cmd->base.duplex = DUPLEX_FULL; in ULi_ethtool_get_link_ksettings()
959 cmd->base.speed = SPEED_UNKNOWN; in ULi_ethtool_get_link_ksettings()
960 cmd->base.duplex = DUPLEX_UNKNOWN; in ULi_ethtool_get_link_ksettings()
965 cmd->base.autoneg = AUTONEG_ENABLE; in ULi_ethtool_get_link_ksettings()
979 struct ethtool_link_ksettings *cmd) in netdev_get_link_ksettings() argument
983 ULi_ethtool_get_link_ksettings(np, cmd); in netdev_get_link_ksettings()