Lines Matching refs:cmd
813 static int e100_exec_cmd(struct nic *nic, u8 cmd, dma_addr_t dma_addr) in e100_exec_cmd() argument
834 if (unlikely(cmd != cuc_resume)) in e100_exec_cmd()
836 iowrite8(cmd, &nic->csr->scb.cmd_lo); in e100_exec_cmd()
1687 struct ethtool_cmd cmd = { .cmd = ETHTOOL_GSET }; in e100_watchdog() local
1695 mii_ethtool_gset(&nic->mii, &cmd); in e100_watchdog()
1696 speed = ethtool_cmd_speed(&cmd); in e100_watchdog()
1701 cmd.duplex == DUPLEX_FULL ? "Full" : "Half"); in e100_watchdog()
1719 e100_adjust_adaptive_ifs(nic, speed, cmd.duplex); in e100_watchdog()
1725 if (nic->flags & ich && speed == SPEED_10 && cmd.duplex == DUPLEX_HALF) in e100_watchdog()
2405 struct ethtool_link_ksettings *cmd) in e100_get_link_ksettings() argument
2409 mii_ethtool_get_link_ksettings(&nic->mii, cmd); in e100_get_link_ksettings()
2415 const struct ethtool_link_ksettings *cmd) in e100_set_link_ksettings() argument
2421 err = mii_ethtool_set_link_ksettings(&nic->mii, cmd); in e100_set_link_ksettings()
2608 struct ethtool_cmd cmd; in e100_diag_test() local
2618 mii_ethtool_gset(&nic->mii, &cmd); in e100_diag_test()
2627 mii_ethtool_sset(&nic->mii, &cmd); in e100_diag_test()
2759 static int e100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in e100_do_ioctl() argument
2763 return generic_mii_ioctl(&nic->mii, if_mii(ifr), cmd, NULL); in e100_do_ioctl()