Lines Matching refs:cmd
4507 static int bond_eth_ioctl(struct net_device *bond_dev, struct ifreq *ifr, int cmd) in bond_eth_ioctl() argument
4512 netdev_dbg(bond_dev, "bond_eth_ioctl: cmd=%d\n", cmd); in bond_eth_ioctl()
4514 switch (cmd) { in bond_eth_ioctl()
4544 static int bond_do_ioctl(struct net_device *bond_dev, struct ifreq *ifr, int cmd) in bond_do_ioctl() argument
4556 netdev_dbg(bond_dev, "bond_ioctl: cmd=%d\n", cmd); in bond_do_ioctl()
4558 switch (cmd) { in bond_do_ioctl()
4598 switch (cmd) { in bond_do_ioctl()
4621 void __user *data, int cmd) in bond_siocdevprivate() argument
4625 switch (cmd) { in bond_siocdevprivate()
5765 struct ethtool_link_ksettings *cmd) in bond_ethtool_get_link_ksettings() argument
5772 cmd->base.duplex = DUPLEX_UNKNOWN; in bond_ethtool_get_link_ksettings()
5773 cmd->base.port = PORT_OTHER; in bond_ethtool_get_link_ksettings()
5790 if (cmd->base.duplex == DUPLEX_UNKNOWN && in bond_ethtool_get_link_ksettings()
5792 cmd->base.duplex = slave->duplex; in bond_ethtool_get_link_ksettings()
5795 cmd->base.speed = speed ? : SPEED_UNKNOWN; in bond_ethtool_get_link_ksettings()