Lines Matching refs:cmd
163 static void encx24j600_cmd(struct encx24j600_priv *priv, u8 cmd) in encx24j600_cmd() argument
166 int ret = regmap_write(priv->ctx.regmap, cmd, 0); in encx24j600_cmd()
170 __func__, ret, cmd); in encx24j600_cmd()
935 struct ethtool_link_ksettings *cmd) in encx24j600_get_link_ksettings() argument
944 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in encx24j600_get_link_ksettings()
947 cmd->base.speed = priv->speed; in encx24j600_get_link_ksettings()
948 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in encx24j600_get_link_ksettings()
949 cmd->base.port = PORT_TP; in encx24j600_get_link_ksettings()
950 cmd->base.autoneg = priv->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in encx24j600_get_link_ksettings()
957 const struct ethtool_link_ksettings *cmd) in encx24j600_set_link_ksettings() argument
959 return encx24j600_setlink(dev, cmd->base.autoneg, in encx24j600_set_link_ksettings()
960 cmd->base.speed, cmd->base.duplex); in encx24j600_set_link_ksettings()