Lines Matching refs:cmd
2567 struct ethtool_link_ksettings *cmd) in jme_get_link_ksettings() argument
2572 mii_ethtool_get_link_ksettings(&jme->mii_if, cmd); in jme_get_link_ksettings()
2579 const struct ethtool_link_ksettings *cmd) in jme_set_link_ksettings() argument
2584 if (cmd->base.speed == SPEED_1000 && in jme_set_link_ksettings()
2585 cmd->base.autoneg != AUTONEG_ENABLE) in jme_set_link_ksettings()
2593 cmd->base.autoneg != AUTONEG_ENABLE && in jme_set_link_ksettings()
2594 (jme->mii_if.full_duplex != cmd->base.duplex)) in jme_set_link_ksettings()
2598 rc = mii_ethtool_set_link_ksettings(&jme->mii_if, cmd); in jme_set_link_ksettings()
2604 jme->old_cmd = *cmd; in jme_set_link_ksettings()
2612 jme_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in jme_ioctl() argument
2619 if (cmd == SIOCSMIIREG) { in jme_ioctl()
2627 rc = generic_mii_ioctl(&jme->mii_if, mii_data, cmd, &duplex_chg); in jme_ioctl()
2630 if (!rc && (cmd == SIOCSMIIREG)) { in jme_ioctl()