Lines Matching refs:cmd
48 struct ethtool_link_ksettings *cmd) in aq_ethtool_get_link_ksettings() argument
52 aq_nic_get_link_ksettings(aq_nic, cmd); in aq_ethtool_get_link_ksettings()
53 cmd->base.speed = netif_carrier_ok(ndev) ? in aq_ethtool_get_link_ksettings()
61 const struct ethtool_link_ksettings *cmd) in aq_ethtool_set_link_ksettings() argument
65 return aq_nic_set_link_ksettings(aq_nic, cmd); in aq_ethtool_set_link_ksettings()
508 struct ethtool_rxnfc *cmd, in aq_ethtool_get_rxnfc() argument
517 switch (cmd->cmd) { in aq_ethtool_get_rxnfc()
519 cmd->data = cfg->vecs; in aq_ethtool_get_rxnfc()
522 cmd->rule_cnt = aq_get_rxnfc_count_all_rules(aq_nic); in aq_ethtool_get_rxnfc()
525 err = aq_get_rxnfc_rule(aq_nic, cmd); in aq_ethtool_get_rxnfc()
528 err = aq_get_rxnfc_all_rules(aq_nic, cmd, rule_locs); in aq_ethtool_get_rxnfc()
539 struct ethtool_rxnfc *cmd) in aq_ethtool_set_rxnfc() argument
544 switch (cmd->cmd) { in aq_ethtool_set_rxnfc()
546 err = aq_add_rxnfc_rule(aq_nic, cmd); in aq_ethtool_set_rxnfc()
549 err = aq_del_rxnfc_rule(aq_nic, cmd); in aq_ethtool_set_rxnfc()