Lines Matching refs:cmd
8740 struct ethtool_link_ksettings *cmd) in rtl8152_get_link_ksettings() argument
8754 mii_ethtool_get_link_ksettings(&tp->mii, cmd); in rtl8152_get_link_ksettings()
8757 cmd->link_modes.supported, tp->support_2500full); in rtl8152_get_link_ksettings()
8761 cmd->link_modes.advertising, in rtl8152_get_link_ksettings()
8765 cmd->link_modes.lp_advertising, in rtl8152_get_link_ksettings()
8769 cmd->base.speed = SPEED_2500; in rtl8152_get_link_ksettings()
8781 const struct ethtool_link_ksettings *cmd) in rtl8152_set_link_ksettings() argument
8792 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8796 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8800 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8804 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8808 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8812 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8816 cmd->link_modes.advertising)) in rtl8152_set_link_ksettings()
8821 ret = rtl8152_set_speed(tp, cmd->base.autoneg, cmd->base.speed, in rtl8152_set_link_ksettings()
8822 cmd->base.duplex, advertising); in rtl8152_set_link_ksettings()
8824 tp->autoneg = cmd->base.autoneg; in rtl8152_set_link_ksettings()
8825 tp->speed = cmd->base.speed; in rtl8152_set_link_ksettings()
8826 tp->duplex = cmd->base.duplex; in rtl8152_set_link_ksettings()
9292 static int rtl8152_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in rtl8152_ioctl() argument
9305 switch (cmd) { in rtl8152_ioctl()