| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_dcbnl.c | 13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() 20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() 27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() 33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() 51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx() 61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx() 69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg() 77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg() 85 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 217 nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_net_get_drvinfo() 232 nfp_net_nway_reset(struct net_device *netdev) in nfp_net_nway_reset() 263 nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_app_get_drvinfo() 484 nfp_net_get_link_ksettings(struct net_device *netdev, in nfp_net_get_link_ksettings() 546 nfp_net_set_link_ksettings(struct net_device *netdev, in nfp_net_set_link_ksettings() 622 static void nfp_net_get_ringparam(struct net_device *netdev, in nfp_net_get_ringparam() 651 static int nfp_net_set_ringparam(struct net_device *netdev, in nfp_net_set_ringparam() 689 static int nfp_test_link(struct net_device *netdev) in nfp_test_link() 697 static int nfp_test_nsp(struct net_device *netdev) in nfp_test_nsp() 733 static int nfp_test_fw(struct net_device *netdev) in nfp_test_fw() [all …]
|
| H A D | nfp_net_repr.c | 27 nfp_repr_inc_tx_stats(struct net_device *netdev, unsigned int len, in nfp_repr_inc_tx_stats() 46 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) in nfp_repr_inc_rx_stats() 90 nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in nfp_repr_get_stats64() 124 nfp_repr_get_host_stats64(const struct net_device *netdev, in nfp_repr_get_host_stats64() 167 static int nfp_repr_change_mtu(struct net_device *netdev, int new_mtu) in nfp_repr_change_mtu() 185 static netdev_tx_t nfp_repr_xmit(struct sk_buff *skb, struct net_device *netdev) in nfp_repr_xmit() 202 static int nfp_repr_stop(struct net_device *netdev) in nfp_repr_stop() 215 static int nfp_repr_open(struct net_device *netdev) in nfp_repr_open() 236 nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) in nfp_repr_fix_features() 280 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower) in nfp_repr_transfer_features() [all …]
|
| /linux/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-ethtool.c | 66 static u32 emac_get_msglevel(struct net_device *netdev) in emac_get_msglevel() 73 static void emac_set_msglevel(struct net_device *netdev, u32 data) in emac_set_msglevel() 80 static int emac_get_sset_count(struct net_device *netdev, int sset) in emac_get_sset_count() 92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() 111 static void emac_get_ethtool_stats(struct net_device *netdev, in emac_get_ethtool_stats() 125 static int emac_nway_reset(struct net_device *netdev) in emac_nway_reset() 135 static void emac_get_ringparam(struct net_device *netdev, in emac_get_ringparam() 148 static int emac_set_ringparam(struct net_device *netdev, in emac_set_ringparam() 173 static void emac_get_pauseparam(struct net_device *netdev, in emac_get_pauseparam() 183 static int emac_set_pauseparam(struct net_device *netdev, in emac_set_pauseparam() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_ethtool.c | 15 static int atl1c_get_link_ksettings(struct net_device *netdev, in atl1c_get_link_ksettings() argument 59 static int atl1c_set_link_ksettings(struct net_device *netdev, in atl1c_set_link_ksettings() argument 109 static u32 atl1c_get_msglevel(struct net_device *netdev) in atl1c_get_msglevel() argument 115 static void atl1c_set_msglevel(struct net_device *netdev, u32 data) in atl1c_set_msglevel() argument 121 static int atl1c_get_regs_len(struct net_device *netdev) in atl1c_get_regs_len() argument 126 static void atl1c_get_regs(struct net_device *netdev, in atl1c_get_regs() argument 166 atl1c_get_eeprom_len(struct net_device * netdev) atl1c_get_eeprom_len() argument 176 atl1c_get_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) atl1c_get_eeprom() argument 218 atl1c_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) atl1c_get_drvinfo() argument 228 atl1c_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) atl1c_get_wol() argument 248 atl1c_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) atl1c_set_wol() argument 268 atl1c_nway_reset(struct net_device * netdev) atl1c_nway_reset() argument 292 atl1c_set_ethtool_ops(struct net_device * netdev) atl1c_set_ethtool_ops() argument [all...] |
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_nl.c | 14 static void ice_dcbnl_devreset(struct net_device *netdev) in ice_dcbnl_devreset() argument 32 static int ice_dcbnl_getets(struct net_device *netdev, struc argument 62 ice_dcbnl_setets(struct net_device * netdev,struct ieee_ets * ets) ice_dcbnl_setets() argument 147 ice_dcbnl_getdcbx(struct net_device * netdev) ice_dcbnl_getdcbx() argument 159 ice_dcbnl_setdcbx(struct net_device * netdev,u8 mode) ice_dcbnl_setdcbx() argument 205 ice_dcbnl_get_perm_hw_addr(struct net_device * netdev,u8 * perm_addr) ice_dcbnl_get_perm_hw_addr() argument 238 ice_dcbnl_getpfc(struct net_device * netdev,struct ieee_pfc * pfc) ice_dcbnl_getpfc() argument 264 ice_dcbnl_setpfc(struct net_device * netdev,struct ieee_pfc * pfc) ice_dcbnl_setpfc() argument 306 ice_dcbnl_get_pfc_cfg(struct net_device * netdev,int prio,u8 * setting) ice_dcbnl_get_pfc_cfg() argument 329 ice_dcbnl_set_pfc_cfg(struct net_device * netdev,int prio,u8 set) ice_dcbnl_set_pfc_cfg() argument 362 ice_dcbnl_getpfcstate(struct net_device * netdev) ice_dcbnl_getpfcstate() argument 378 ice_dcbnl_getstate(struct net_device * netdev) ice_dcbnl_getstate() argument 394 ice_dcbnl_setstate(struct net_device * netdev,u8 state) ice_dcbnl_setstate() argument 433 ice_dcbnl_get_pg_tc_cfg_tx(struct net_device * netdev,int prio,u8 __always_unused * prio_type,u8 * pgid,u8 __always_unused * bw_pct,u8 __always_unused * up_map) ice_dcbnl_get_pg_tc_cfg_tx() argument 463 ice_dcbnl_set_pg_tc_cfg_tx(struct net_device * netdev,int tc,u8 __always_unused prio_type,u8 __always_unused bwg_id,u8 __always_unused bw_pct,u8 up_map) ice_dcbnl_set_pg_tc_cfg_tx() argument 502 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device * netdev,int pgid,u8 * bw_pct) ice_dcbnl_get_pg_bwg_cfg_tx() argument 526 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device * netdev,int pgid,u8 bw_pct) ice_dcbnl_set_pg_bwg_cfg_tx() argument 558 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device * netdev,int prio,u8 __always_unused * prio_type,u8 * pgid,u8 __always_unused * bw_pct,u8 __always_unused * up_map) ice_dcbnl_get_pg_tc_cfg_rx() argument 588 ice_dcbnl_set_pg_tc_cfg_rx(struct net_device * netdev,int __always_unused prio,u8 __always_unused prio_type,u8 __always_unused pgid,u8 __always_unused bw_pct,u8 __always_unused up_map) ice_dcbnl_set_pg_tc_cfg_rx() argument 607 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device * netdev,int __always_unused pgid,u8 * bw_pct) ice_dcbnl_get_pg_bwg_cfg_rx() argument 628 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device * netdev,int __always_unused pgid,u8 __always_unused bw_pct) ice_dcbnl_set_pg_bwg_cfg_rx() argument 642 ice_dcbnl_get_cap(struct net_device * netdev,int capid,u8 * cap) ice_dcbnl_get_cap() argument 690 ice_dcbnl_getapp(struct net_device * netdev,u8 idtype,u16 id) ice_dcbnl_getapp() argument 733 ice_dcbnl_setapp(struct net_device * netdev,struct dcb_app * app) ice_dcbnl_setapp() argument 867 ice_dcbnl_delapp(struct net_device * netdev,struct dcb_app * app) ice_dcbnl_delapp() argument 975 ice_dcbnl_cee_set_all(struct net_device * netdev) ice_dcbnl_cee_set_all() argument 1040 struct net_device *netdev = vsi->netdev; ice_dcbnl_set_all() local 1137 struct net_device *netdev = vsi->netdev; ice_dcbnl_setup() local [all...] |
| H A D | ice_ethtool.c | 32 static int ice_q_stats_len(struct net_device *netdev) in ice_q_stats_len() argument 431 __ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo, in __ice_get_drvinfo() argument 456 ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in ice_get_drvinfo() argument 464 static int ice_get_regs_len(struct net_device __always_unused *netdev) in ice_get_regs_len() argument 753 ice_get_extended_regs(struct net_device * netdev,void * p) ice_get_extended_regs() argument 795 ice_get_regs(struct net_device * netdev,struct ethtool_regs * regs,void * p) ice_get_regs() argument 810 ice_get_msglevel(struct net_device * netdev) ice_get_msglevel() argument 823 ice_set_msglevel(struct net_device * netdev,u32 data) ice_set_msglevel() argument 837 ice_get_link_ext_stats(struct net_device * netdev,struct ethtool_link_ext_stats * stats) ice_get_link_ext_stats() argument 845 ice_get_eeprom_len(struct net_device * netdev) ice_get_eeprom_len() argument 853 ice_get_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) ice_get_eeprom() argument 918 ice_link_test(struct net_device * netdev) ice_link_test() argument 945 ice_eeprom_test(struct net_device * netdev) ice_eeprom_test() argument 1001 ice_reg_test(struct net_device * netdev) ice_reg_test() argument 1262 ice_loopback_test(struct net_device * netdev) ice_loopback_test() argument 1356 ice_intr_test(struct net_device * netdev) ice_intr_test() argument 1383 ice_self_test(struct net_device * netdev,struct ethtool_test * eth_test,u64 * data) ice_self_test() argument 1456 __ice_get_strings(struct net_device * netdev,u32 stringset,u8 * data,struct ice_vsi * vsi) __ice_get_strings() argument 1507 ice_get_strings(struct net_device * netdev,u32 stringset,u8 * data) ice_get_strings() argument 1515 ice_set_phys_id(struct net_device * netdev,enum ethtool_phys_id_state state) ice_set_phys_id() argument 1542 ice_set_fec_cfg(struct net_device * netdev,enum ice_fec_mode req_fec) ice_set_fec_cfg() argument 1587 ice_set_fecparam(struct net_device * netdev,struct ethtool_fecparam * fecparam) ice_set_fecparam() argument 1622 ice_get_fecparam(struct net_device * netdev,struct ethtool_fecparam * fecparam) ice_get_fecparam() argument 1684 ice_nway_reset(struct net_device * netdev) ice_nway_reset() argument 1709 ice_get_priv_flags(struct net_device * netdev) ice_get_priv_flags() argument 1731 ice_set_priv_flags(struct net_device * netdev,u32 flags) ice_set_priv_flags() argument 1881 ice_get_sset_count(struct net_device * netdev,int sset) ice_get_sset_count() argument 1914 __ice_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data,struct ice_vsi * vsi) __ice_get_ethtool_stats() argument 2003 ice_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) ice_get_ethtool_stats() argument 2111 ice_phy_type_to_ethtool(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_phy_type_to_ethtool() argument 2208 ice_get_settings_link_up(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_up() argument 2297 ice_get_settings_link_down(struct ethtool_link_ksettings * ks,struct net_device * netdev) ice_get_settings_link_down() argument 2317 ice_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * ks) ice_get_link_ksettings() argument 2518 ice_setup_autoneg(struct ice_port_info * p,struct ethtool_link_ksettings * ks,struct ice_aqc_set_phy_cfg_data * config,u8 autoneg_enabled,u8 * autoneg_changed,struct net_device * netdev) ice_setup_autoneg() argument 2606 ice_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * ks) ice_set_link_ksettings() argument 2964 ice_set_rxfh_fields(struct net_device * netdev,const struct ethtool_rxfh_fields * nfc,struct netlink_ext_ack * extack) ice_set_rxfh_fields() argument 3016 ice_get_rxfh_fields(struct net_device * netdev,struct ethtool_rxfh_fields * nfc) ice_get_rxfh_fields() argument 3084 ice_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) ice_set_rxnfc() argument 3106 ice_get_rx_ring_count(struct net_device * netdev) ice_get_rx_ring_count() argument 3123 ice_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 __always_unused * rule_locs) ice_get_rxnfc() argument 3154 ice_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) ice_get_ringparam() argument 3185 ice_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) ice_set_ringparam() argument 3447 ice_get_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) ice_get_pauseparam() argument 3493 ice_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) ice_set_pauseparam() argument 3601 ice_get_rxfh_key_size(struct net_device __always_unused * netdev) ice_get_rxfh_key_size() argument 3612 ice_get_rxfh_indir_size(struct net_device * netdev) ice_get_rxfh_indir_size() argument 3627 ice_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) ice_get_rxfh() argument 3683 ice_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) ice_set_rxfh() argument 3979 ice_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) ice_get_wol() argument 4002 ice_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) ice_set_wol() argument 4106 __ice_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int q_num) __ice_get_coalesce() argument 4121 ice_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) ice_get_coalesce() argument 4130 ice_get_per_q_coalesce(struct net_device * netdev,u32 q_num,struct ethtool_coalesce * ec) ice_get_per_q_coalesce() argument 4278 ice_print_if_odd_usecs(struct net_device * netdev,u16 itr_setting,u32 use_adaptive_coalesce,u32 coalesce_usecs,const char * c_type_str) ice_print_if_odd_usecs() argument 4301 __ice_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,int q_num) __ice_set_coalesce() argument 4346 ice_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) ice_set_coalesce() argument 4355 ice_set_per_q_coalesce(struct net_device * netdev,u32 q_num,struct ethtool_coalesce * ec) ice_set_per_q_coalesce() argument 4362 ice_repr_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) ice_repr_get_drvinfo() argument 4374 ice_repr_get_strings(struct net_device * netdev,u32 stringset,u8 * data) ice_repr_get_strings() argument 4386 ice_repr_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats __always_unused * stats,u64 * data) ice_repr_get_ethtool_stats() argument 4398 ice_repr_get_sset_count(struct net_device * netdev,int sset) ice_repr_get_sset_count() argument 4426 ice_get_module_info(struct net_device * netdev,struct ethtool_modinfo * modinfo) ice_get_module_info() argument 4498 ice_get_module_eeprom(struct net_device * netdev,struct ethtool_eeprom * ee,u8 * data) ice_get_module_eeprom() argument 4628 ice_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) ice_get_fec_stats() argument 4662 ice_get_eth_mac_stats(struct net_device * netdev,struct ethtool_eth_mac_stats * mac_stats) ice_get_eth_mac_stats() argument 4685 ice_get_pause_stats(struct net_device * netdev,struct ethtool_pause_stats * pause_stats) ice_get_pause_stats() argument 4706 ice_get_rmon_stats(struct net_device * netdev,struct ethtool_rmon_stats * rmon,const struct ethtool_rmon_hist_range ** ranges) ice_get_rmon_stats() argument 4741 ice_get_ts_stats(struct net_device * netdev,struct ethtool_ts_stats * ts_stats) ice_get_ts_stats() argument 4913 ice_set_ethtool_safe_mode_ops(struct net_device * netdev) ice_set_ethtool_safe_mode_ops() argument 4931 ice_set_ethtool_repr_ops(struct net_device * netdev) ice_set_ethtool_repr_ops() argument 4942 ice_set_ethtool_ops(struct net_device * netdev) ice_set_ethtool_ops() argument [all...] |
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ethtool.c | 77 int wx_get_sset_count(struct net_device *netdev, int sset) in wx_get_sset_count() 95 void wx_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in wx_get_strings() 126 void wx_get_ethtool_stats(struct net_device *netdev, in wx_get_ethtool_stats() 190 void wx_get_mac_stats(struct net_device *netdev, in wx_get_mac_stats() 206 void wx_get_pause_stats(struct net_device *netdev, in wx_get_pause_stats() 220 void wx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) in wx_get_drvinfo() 241 int wx_nway_reset(struct net_device *netdev) in wx_nway_reset() 249 int wx_get_link_ksettings(struct net_device *netdev, in wx_get_link_ksettings() 258 int wx_set_link_ksettings(struct net_device *netdev, in wx_set_link_ksettings() 267 void wx_get_wol(struct net_device *netdev, in wx_get_wol() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_ethtool.c | 15 static int atl1e_get_link_ksettings(struct net_device *netdev, in atl1e_get_link_ksettings() argument 60 static int atl1e_set_link_ksettings(struct net_device *netdev, in atl1e_set_link_ksettings() argument 131 static u32 atl1e_get_msglevel(struct net_device *netdev) in atl1e_get_msglevel() argument 140 static int atl1e_get_regs_len(struct net_device *netdev) in atl1e_get_regs_len() argument 145 static void atl1e_get_regs(struct net_device *netdev, in atl1e_get_regs() argument 194 static int atl1e_get_eeprom_len(struct net_device *netdev) in atl1e_get_eeprom_len() argument 204 atl1e_get_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) atl1e_get_eeprom() argument 244 atl1e_set_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) atl1e_set_eeprom() argument 304 atl1e_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) atl1e_get_drvinfo() argument 315 atl1e_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) atl1e_get_wol() argument 335 atl1e_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) atl1e_set_wol() argument 355 atl1e_nway_reset(struct net_device * netdev) atl1e_nway_reset() argument 379 atl1e_set_ethtool_ops(struct net_device * netdev) atl1e_set_ethtool_ops() argument [all...] |
| H A D | atl1e_main.c | 148 struct net_device *netdev = adapter->netdev; in atl1e_check_link() local 212 struct net_device *netdev = adapter->netdev; atl1e_link_chg_event() local 249 atl1e_tx_timeout(struct net_device * netdev,unsigned int txqueue) atl1e_tx_timeout() argument 266 atl1e_set_multi(struct net_device * netdev) atl1e_set_multi() argument 311 atl1e_rx_mode(struct net_device * netdev,netdev_features_t features) atl1e_rx_mode() argument 338 atl1e_vlan_mode(struct net_device * netdev,netdev_features_t features) atl1e_vlan_mode() argument 366 atl1e_set_mac_addr(struct net_device * netdev,void * p) atl1e_set_mac_addr() argument 385 atl1e_fix_features(struct net_device * netdev,netdev_features_t features) atl1e_fix_features() argument 400 atl1e_set_features(struct net_device * netdev,netdev_features_t features) atl1e_set_features() argument 422 atl1e_change_mtu(struct net_device * netdev,int new_mtu) atl1e_change_mtu() argument 444 atl1e_mdio_read(struct net_device * netdev,int phy_id,int reg_num) atl1e_mdio_read() argument 453 atl1e_mdio_write(struct net_device * netdev,int phy_id,int reg_num,int val) atl1e_mdio_write() argument 463 atl1e_mii_ioctl(struct net_device * netdev,struct ifreq * ifr,int cmd) atl1e_mii_ioctl() argument 513 atl1e_ioctl(struct net_device * netdev,struct ifreq * ifr,int cmd) atl1e_ioctl() argument 1048 struct net_device *netdev = adapter->netdev; atl1e_setup_mac_ctrl() local 1155 atl1e_get_stats(struct net_device * netdev) atl1e_get_stats() argument 1282 struct net_device *netdev = data; atl1e_intr() local 1403 struct net_device *netdev = adapter->netdev; atl1e_clean_rx_irq() local 1552 atl1e_netpoll(struct net_device * netdev) atl1e_netpoll() argument 1865 atl1e_xmit_frame(struct sk_buff * skb,struct net_device * netdev) atl1e_xmit_frame() argument 1924 struct net_device *netdev = adapter->netdev; atl1e_free_irq() local 1932 struct net_device *netdev = adapter->netdev; atl1e_request_irq() local 1948 struct net_device *netdev = adapter->netdev; atl1e_up() local 1980 struct net_device *netdev = adapter->netdev; atl1e_down() local 2015 atl1e_open(struct net_device * netdev) atl1e_open() argument 2060 atl1e_close(struct net_device * netdev) atl1e_close() argument 2074 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_suspend() local 2203 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_resume() local 2267 atl1e_init_netdev(struct net_device * netdev,struct pci_dev * pdev) atl1e_init_netdev() argument 2302 struct net_device *netdev; atl1e_probe() local 2449 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_remove() local 2481 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_error_detected() local 2507 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_slot_reset() local 2535 struct net_device *netdev = pci_get_drvdata(pdev); atl1e_io_resume() local [all...] |
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 105 static int i40e_dcbnl_ieee_setets(struct net_device *netdev, in i40e_dcbnl_ieee_setets() 153 static int i40e_dcbnl_ieee_setpfc(struct net_device *netdev, in i40e_dcbnl_ieee_setpfc() 192 static int i40e_dcbnl_ieee_setapp(struct net_device *netdev, in i40e_dcbnl_ieee_setapp() 244 static int i40e_dcbnl_ieee_delapp(struct net_device *netdev, in i40e_dcbnl_ieee_delapp() 307 static u8 i40e_dcbnl_getstate(struct net_device *netdev) in i40e_dcbnl_getstate() 323 static u8 i40e_dcbnl_setstate(struct net_device *netdev, u8 state) in i40e_dcbnl_setstate() 365 static void i40e_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in i40e_dcbnl_set_pg_tc_cfg_tx() 401 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_tx() 431 static void i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, in i40e_dcbnl_set_pg_tc_cfg_rx() 452 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_rx() [all …]
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_ethtool.c | 74 static int pch_gbe_get_link_ksettings(struct net_device *netdev, in pch_gbe_get_link_ksettings() 109 static int pch_gbe_set_link_ksettings(struct net_device *netdev, in pch_gbe_set_link_ksettings() 157 static int pch_gbe_get_regs_len(struct net_device *netdev) in pch_gbe_get_regs_len() 167 static void pch_gbe_get_drvinfo(struct net_device *netdev, in pch_gbe_get_drvinfo() 184 static void pch_gbe_get_regs(struct net_device *netdev, in pch_gbe_get_regs() 208 static void pch_gbe_get_wol(struct net_device *netdev, in pch_gbe_get_wol() 234 static int pch_gbe_set_wol(struct net_device *netdev, in pch_gbe_set_wol() 262 static int pch_gbe_nway_reset(struct net_device *netdev) in pch_gbe_nway_reset() 276 static void pch_gbe_get_ringparam(struct net_device *netdev, in pch_gbe_get_ringparam() 301 static int pch_gbe_set_ringparam(struct net_device *netdev, in pch_gbe_set_ringparam() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 472 static void hns3_update_limit_promisc_mode(struct net_device *netdev, in hns3_update_limit_promisc_mode() argument 600 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_stats() argument 489 hns3_get_sset_count(struct net_device * netdev,int stringset) hns3_get_sset_count() argument 540 hns3_get_strings(struct net_device * netdev,u32 stringset,u8 * data) hns3_get_strings() argument 625 hns3_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * drvinfo) hns3_get_drvinfo() argument 657 hns3_get_link(struct net_device * netdev) hns3_get_link() argument 667 hns3_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * param,struct kernel_ethtool_ringparam * kernel_param,struct netlink_ext_ack * extack) hns3_get_ringparam() argument 691 hns3_get_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * param) hns3_get_pauseparam() argument 705 hns3_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * param) hns3_set_pauseparam() argument 750 hns3_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) hns3_get_link_ksettings() argument 813 hns3_check_ksettings_param(const struct net_device * netdev,const struct ethtool_link_ksettings * cmd,u8 media_type) hns3_check_ksettings_param() argument 856 hns3_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * cmd) hns3_set_link_ksettings() argument 921 hns3_get_rss_key_size(struct net_device * netdev) hns3_get_rss_key_size() argument 931 hns3_get_rss_indir_size(struct net_device * netdev) hns3_get_rss_indir_size() argument 939 hns3_get_rss(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) hns3_get_rss() argument 951 hns3_set_rss(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) hns3_set_rss() argument 980 hns3_get_rxfh_fields(struct net_device * netdev,struct ethtool_rxfh_fields * cmd) hns3_get_rxfh_fields() argument 990 hns3_get_rx_ring_count(struct net_device * netdev) hns3_get_rx_ring_count() argument 997 hns3_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 * rule_locs) hns3_get_rxnfc() argument 1032 hns3_set_reset(struct net_device * netdev,u32 * flags) hns3_set_reset() argument 1197 hns3_set_tx_push(struct net_device * netdev,u32 tx_push) hns3_set_tx_push() argument 1287 hns3_set_rxfh_fields(struct net_device * netdev,const struct ethtool_rxfh_fields * cmd,struct netlink_ext_ack * extack) hns3_set_rxfh_fields() argument 1298 hns3_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) hns3_set_rxnfc() argument 1316 hns3_nway_reset(struct net_device * netdev) hns3_nway_reset() argument 1350 hns3_get_channels(struct net_device * netdev,struct ethtool_channels * ch) hns3_get_channels() argument 1359 hns3_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * cmd,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) hns3_get_coalesce() argument 1392 hns3_check_gl_coalesce_para(struct net_device * netdev,struct ethtool_coalesce * cmd) hns3_check_gl_coalesce_para() argument 1436 hns3_check_rl_coalesce_para(struct net_device * netdev,struct ethtool_coalesce * cmd) hns3_check_rl_coalesce_para() argument 1464 hns3_check_ql_coalesce_param(struct net_device * netdev,struct ethtool_coalesce * cmd) hns3_check_ql_coalesce_param() argument 1488 hns3_check_cqe_coalesce_param(struct net_device * netdev,struct kernel_ethtool_coalesce * kernel_coal) hns3_check_cqe_coalesce_param() argument 1504 hns3_check_coalesce_para(struct net_device * netdev,struct ethtool_coalesce * cmd,struct kernel_ethtool_coalesce * kernel_coal) hns3_check_coalesce_para() argument 1531 hns3_set_coalesce_per_queue(struct net_device * netdev,struct ethtool_coalesce * cmd,u32 queue) hns3_set_coalesce_per_queue() argument 1570 hns3_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * cmd,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) hns3_set_coalesce() argument 1618 hns3_get_regs_len(struct net_device * netdev) hns3_get_regs_len() argument 1628 hns3_get_regs(struct net_device * netdev,struct ethtool_regs * cmd,void * data) hns3_get_regs() argument 1639 hns3_set_phys_id(struct net_device * netdev,enum ethtool_phys_id_state state) hns3_set_phys_id() argument 1650 hns3_get_msglevel(struct net_device * netdev) hns3_get_msglevel() argument 1657 hns3_set_msglevel(struct net_device * netdev,u32 msg_level) hns3_set_msglevel() argument 1664 hns3_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) hns3_get_fec_stats() argument 1716 hns3_get_fecparam(struct net_device * netdev,struct ethtool_fecparam * fec) hns3_get_fecparam() argument 1741 hns3_set_fecparam(struct net_device * netdev,struct ethtool_fecparam * fec) hns3_set_fecparam() argument 1761 hns3_get_module_info(struct net_device * netdev,struct ethtool_modinfo * modinfo) hns3_get_module_info() argument 1813 hns3_get_module_eeprom(struct net_device * netdev,struct ethtool_eeprom * ee,u8 * data) hns3_get_module_eeprom() argument 1832 hns3_get_priv_flags(struct net_device * netdev) hns3_get_priv_flags() argument 1853 hns3_set_priv_flags(struct net_device * netdev,u32 pflags) hns3_set_priv_flags() argument 1879 hns3_get_tunable(struct net_device * netdev,const struct ethtool_tunable * tuna,void * data) hns3_get_tunable() argument 1912 hns3_set_tx_spare_buf_size(struct net_device * netdev,u32 data) hns3_set_tx_spare_buf_size() argument 1940 hns3_check_tx_copybreak(struct net_device * netdev,u32 copybreak) hns3_check_tx_copybreak() argument 1952 hns3_check_tx_spare_buf_size(struct net_device * netdev,u32 buf_size) hns3_check_tx_spare_buf_size() argument 1965 hns3_set_tunable(struct net_device * netdev,const struct ethtool_tunable * tuna,const void * data) hns3_set_tunable() argument 2054 hns3_get_ts_info(struct net_device * netdev,struct kernel_ethtool_ts_info * info) hns3_get_ts_info() argument 2100 hns3_get_link_ext_state(struct net_device * netdev,struct ethtool_link_ext_state_info * info) hns3_get_link_ext_state() argument 2130 hns3_get_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) hns3_get_wol() argument 2142 hns3_set_wol(struct net_device * netdev,struct ethtool_wolinfo * wol) hns3_set_wol() argument 2241 hns3_ethtool_set_ops(struct net_device * netdev) hns3_ethtool_set_ops() argument [all...] |
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 13 static void gve_get_drvinfo(struct net_device *netdev, in gve_get_drvinfo() argument 23 static void gve_set_msglevel(struct net_device *netdev, u32 value) in gve_set_msglevel() argument 30 static u32 gve_get_msglevel(struct net_device *netdev) in gve_get_msglevel() argument 92 static void gve_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in gve_get_strings() argument 130 static int gve_get_sset_count(struct net_device *netdev, int sset) in gve_get_sset_count() argument 149 gve_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats * stats,u64 * data) gve_get_ethtool_stats() argument 485 gve_get_channels(struct net_device * netdev,struct ethtool_channels * cmd) gve_get_channels() argument 500 gve_set_channels(struct net_device * netdev,struct ethtool_channels * cmd) gve_set_channels() argument 543 gve_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * cmd,struct kernel_ethtool_ringparam * kernel_cmd,struct netlink_ext_ack * extack) gve_get_ringparam() argument 606 gve_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * cmd,struct kernel_ethtool_ringparam * kernel_cmd,struct netlink_ext_ack * extack) gve_set_ringparam() argument 648 gve_user_reset(struct net_device * netdev,u32 * flags) gve_user_reset() argument 660 gve_get_tunable(struct net_device * netdev,const struct ethtool_tunable * etuna,void * value) gve_get_tunable() argument 674 gve_set_tunable(struct net_device * netdev,const struct ethtool_tunable * etuna,const void * value) gve_set_tunable() argument 697 gve_get_priv_flags(struct net_device * netdev) gve_get_priv_flags() argument 708 gve_set_priv_flags(struct net_device * netdev,u32 flags) gve_set_priv_flags() argument 745 gve_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) gve_get_link_ksettings() argument 761 gve_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_ec,struct netlink_ext_ack * extack) gve_get_coalesce() argument 776 gve_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_ec,struct netlink_ext_ack * extack) gve_set_coalesce() argument 818 gve_set_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd) gve_set_rxnfc() argument 841 gve_get_rx_ring_count(struct net_device * netdev) gve_get_rx_ring_count() argument 848 gve_get_rxnfc(struct net_device * netdev,struct ethtool_rxnfc * cmd,u32 * rule_locs) gve_get_rxnfc() argument 879 gve_get_rxfh_key_size(struct net_device * netdev) gve_get_rxfh_key_size() argument 886 gve_get_rxfh_indir_size(struct net_device * netdev) gve_get_rxfh_indir_size() argument 912 gve_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) gve_get_rxfh() argument 940 gve_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) gve_set_rxfh() argument 961 gve_get_ts_info(struct net_device * netdev,struct kernel_ethtool_ts_info * info) gve_get_ts_info() argument [all...] |
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 134 static void igc_ethtool_get_drvinfo(struct net_device *netdev, in igc_ethtool_get_drvinfo() argument 165 static int igc_ethtool_get_regs_len(struct net_device *netdev) in igc_ethtool_get_regs_len() argument 170 static void igc_ethtool_get_regs(struct net_device *netdev, in igc_ethtool_get_regs() argument 352 static void igc_ethtool_get_wol(struct net_device *netdev, in igc_ethtool_get_wol() argument 384 static int igc_ethtool_set_wol(struct net_device *netdev, in igc_ethtool_set_wol() argument 413 igc_ethtool_get_msglevel(struct net_device * netdev) igc_ethtool_get_msglevel() argument 420 igc_ethtool_set_msglevel(struct net_device * netdev,u32 data) igc_ethtool_set_msglevel() argument 427 igc_ethtool_nway_reset(struct net_device * netdev) igc_ethtool_nway_reset() argument 436 igc_ethtool_get_link(struct net_device * netdev) igc_ethtool_get_link() argument 453 igc_ethtool_get_eeprom_len(struct net_device * netdev) igc_ethtool_get_eeprom_len() argument 460 igc_ethtool_get_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) igc_ethtool_get_eeprom() argument 507 igc_ethtool_set_eeprom(struct net_device * netdev,struct ethtool_eeprom * eeprom,u8 * bytes) igc_ethtool_set_eeprom() argument 575 igc_ethtool_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ering,struct netlink_ext_ack * extack) igc_ethtool_get_ringparam() argument 589 igc_ethtool_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ering,struct netlink_ext_ack * extack) igc_ethtool_set_ringparam() argument 706 igc_ethtool_get_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) igc_ethtool_get_pauseparam() argument 725 igc_ethtool_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) igc_ethtool_set_pauseparam() argument 765 igc_ethtool_get_strings(struct net_device * netdev,u32 stringset,u8 * data) igc_ethtool_get_strings() argument 803 igc_ethtool_get_sset_count(struct net_device * netdev,int sset) igc_ethtool_get_sset_count() argument 817 igc_ethtool_get_stats(struct net_device * netdev,struct ethtool_stats * stats,u64 * data) igc_ethtool_get_stats() argument 885 igc_ethtool_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) igc_ethtool_get_coalesce() argument 898 igc_ethtool_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) igc_ethtool_set_coalesce() argument 1352 struct net_device *netdev = adapter->netdev; igc_ethtool_add_nfc_rule() local 1505 igc_ethtool_get_rxfh_key_size(struct net_device * netdev) igc_ethtool_get_rxfh_key_size() argument 1510 igc_ethtool_get_rxfh_indir_size(struct net_device * netdev) igc_ethtool_get_rxfh_indir_size() argument 1515 igc_ethtool_get_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh) igc_ethtool_get_rxfh() argument 1533 igc_ethtool_set_rxfh(struct net_device * netdev,struct ethtool_rxfh_param * rxfh,struct netlink_ext_ack * extack) igc_ethtool_set_rxfh() argument 1568 igc_ethtool_get_channels(struct net_device * netdev,struct ethtool_channels * ch) igc_ethtool_get_channels() argument 1585 igc_ethtool_set_channels(struct net_device * netdev,struct ethtool_channels * ch) igc_ethtool_set_channels() argument 1651 igc_ethtool_get_priv_flags(struct net_device * netdev) igc_ethtool_get_priv_flags() argument 1665 igc_ethtool_set_priv_flags(struct net_device * netdev,u32 priv_flags) igc_ethtool_set_priv_flags() argument 1688 igc_ethtool_get_eee(struct net_device * netdev,struct ethtool_keee * edata) igc_ethtool_get_eee() argument 1797 igc_ethtool_set_eee(struct net_device * netdev,struct ethtool_keee * edata) igc_ethtool_set_eee() argument 1847 igc_ethtool_get_mm(struct net_device * netdev,struct ethtool_mm_state * cmd) igc_ethtool_get_mm() argument 1860 igc_ethtool_set_mm(struct net_device * netdev,struct ethtool_mm_cfg * cmd,struct netlink_ext_ack * extack) igc_ethtool_set_mm() argument 1924 igc_ethtool_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) igc_ethtool_get_link_ksettings() argument 2124 igc_ethtool_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * cmd) igc_ethtool_set_link_ksettings() argument 2201 igc_ethtool_diag_test(struct net_device * netdev,struct ethtool_test * eth_test,u64 * data) igc_ethtool_diag_test() argument 2309 igc_ethtool_set_ops(struct net_device * netdev) igc_ethtool_set_ops() argument [all...] |
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 255 static int hinic_get_link_ksettings(struct net_device *netdev, in hinic_get_link_ksettings() 368 struct net_device *netdev = nic_dev->netdev; in hinic_is_speed_legal() local 463 struct net_device *netdev = nic_dev->netdev; in hinic_set_settings_to_hw() local 502 static int set_link_settings(struct net_device *netdev, u8 autoneg, u32 speed) in set_link_settings() 521 static int hinic_set_link_ksettings(struct net_device *netdev, const struct in hinic_set_link_ksettings() 529 static void hinic_get_drvinfo(struct net_device *netdev, in hinic_get_drvinfo() 548 static void hinic_get_ringparam(struct net_device *netdev, in hinic_get_ringparam() 583 static int hinic_set_ringparam(struct net_device *netdev, in hinic_set_ringparam() 631 static int __hinic_get_coalesce(struct net_device *netdev, in __hinic_get_coalesce() 683 struct net_device *netdev = nic_dev->netdev; in set_queue_coalesce() local [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_ethtool.c | 235 bnad_get_link_ksettings(struct net_device *netdev, in bnad_get_link_ksettings() 265 bnad_set_link_ksettings(struct net_device *netdev, in bnad_set_link_ksettings() 280 bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in bnad_get_drvinfo() 304 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() 310 static int bnad_get_coalesce(struct net_device *netdev, in bnad_get_coalesce() 333 static int bnad_set_coalesce(struct net_device *netdev, in bnad_set_coalesce() 407 bnad_get_ringparam(struct net_device *netdev, in bnad_get_ringparam() 422 bnad_set_ringparam(struct net_device *netdev, in bnad_set_ringparam() 501 bnad_get_pauseparam(struct net_device *netdev, in bnad_get_pauseparam() 512 bnad_set_pauseparam(struct net_device *netdev, in bnad_set_pauseparam() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 253 static int iavf_get_link_ksettings(struct net_device *netdev, in iavf_get_link_ksettings() 312 static int iavf_get_sset_count(struct net_device *netdev, int sset) in iavf_get_sset_count() 335 static void iavf_get_ethtool_stats(struct net_device *netdev, in iavf_get_ethtool_stats() 371 static void iavf_get_stat_strings(struct net_device *netdev, u8 *data) in iavf_get_stat_strings() 396 static void iavf_get_strings(struct net_device *netdev, u32 sset, u8 *data) in iavf_get_strings() 413 static u32 iavf_get_msglevel(struct net_device *netdev) in iavf_get_msglevel() 428 static void iavf_set_msglevel(struct net_device *netdev, u32 data) in iavf_set_msglevel() 444 static void iavf_get_drvinfo(struct net_device *netdev, in iavf_get_drvinfo() 464 static void iavf_get_ringparam(struct net_device *netdev, in iavf_get_ringparam() 487 static int iavf_set_ringparam(struct net_device *netdev, in iavf_set_ringparam() [all …]
|
| /linux/net/openvswitch/ |
| H A D | vport-internal_dev.c | 27 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv() argument 34 internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() argument 53 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() argument 59 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() argument 65 internal_dev_getinfo(struct net_device * netdev,struct ethtool_drvinfo * info) internal_dev_getinfo() argument 94 do_setup(struct net_device * netdev) do_setup() argument 188 struct net_device *netdev = skb->dev; internal_dev_recv() local 215 ovs_is_internal_dev(const struct net_device * netdev) ovs_is_internal_dev() argument 220 ovs_internal_dev_get_vport(struct net_device * netdev) ovs_internal_dev_get_vport() argument [all...] |
| /linux/drivers/net/ethernet/faraday/ |
| H A D | ftmac100.c | 65 struct net_device *netdev; member 115 struct net_device *netdev = priv->netdev; in ftmac100_reset() local 168 struct net_device *netdev = priv->netdev; in ftmac100_set_rx_bits() local 196 struct net_device *netdev = priv->netdev; in ftmac100_start_hw() local 358 struct net_device *netdev = priv->netdev; in ftmac100_rx_packet_error() local 401 struct net_device *netdev = priv->netdev; in ftmac100_rx_drop_packet() local 422 struct net_device *netdev = priv->netdev; in ftmac100_rx_packet() local 611 struct net_device *netdev = priv->netdev; in ftmac100_tx_complete_packet() local 663 struct net_device *netdev = priv->netdev; in ftmac100_xmit() local 698 struct net_device *netdev = priv->netdev; in ftmac100_alloc_rx_page() local [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 77 static void otx2_get_drvinfo(struct net_device *netdev, in otx2_get_drvinfo() argument 109 static void otx2_get_strings(struct net_device *netdev, u32 sset, u8 *data) in otx2_get_strings() argument 186 static void otx2_get_ethtool_stats(struct net_device *netdev, in otx2_get_ethtool_stats() argument 242 static int otx2_get_sset_count(struct net_device *netdev, int sset) in otx2_get_sset_count() argument 315 static void otx2_get_pauseparam(struct net_device *netdev, in otx2_get_pauseparam() argument 345 otx2_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pause) otx2_set_pauseparam() argument 369 otx2_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) otx2_get_ringparam() argument 385 otx2_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) otx2_set_ringparam() argument 461 otx2_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * cmd,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) otx2_get_coalesce() argument 485 otx2_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ec,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) otx2_set_coalesce() argument 797 otx2_get_rxfh_key_size(struct net_device * netdev) otx2_get_rxfh_key_size() argument 953 otx2_get_msglevel(struct net_device * netdev) otx2_get_msglevel() argument 960 otx2_set_msglevel(struct net_device * netdev,u32 val) otx2_set_msglevel() argument 967 otx2_get_link(struct net_device * netdev) otx2_get_link() argument 977 otx2_get_ts_info(struct net_device * netdev,struct kernel_ethtool_ts_info * info) otx2_get_ts_info() argument 1027 otx2_get_fecparam(struct net_device * netdev,struct ethtool_fecparam * fecparam) otx2_get_fecparam() argument 1053 otx2_set_fecparam(struct net_device * netdev,struct ethtool_fecparam * fecparam) otx2_set_fecparam() argument 1207 otx2_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) otx2_get_link_ksettings() argument 1237 otx2_set_link_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * cmd) otx2_set_link_ksettings() argument 1298 otx2_get_fec_stats(struct net_device * netdev,struct ethtool_fec_stats * fec_stats,struct ethtool_fec_hist * hist) otx2_get_fec_stats() argument 1374 otx2_set_ethtool_ops(struct net_device * netdev) otx2_set_ethtool_ops() argument 1380 otx2vf_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * info) otx2vf_get_drvinfo() argument 1389 otx2vf_get_strings(struct net_device * netdev,u32 sset,u8 * data) otx2vf_get_strings() argument 1408 otx2vf_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats * stats,u64 * data) otx2vf_get_ethtool_stats() argument 1427 otx2vf_get_sset_count(struct net_device * netdev,int sset) otx2vf_get_sset_count() argument 1441 otx2vf_get_link_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) otx2vf_get_link_ksettings() argument 1493 otx2vf_set_ethtool_ops(struct net_device * netdev) otx2vf_set_ethtool_ops() argument [all...] |
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | ethtool.c | 128 static int alx_get_link_ksettings(struct net_device *netdev, in alx_get_link_ksettings() 179 static int alx_set_link_ksettings(struct net_device *netdev, in alx_set_link_ksettings() 212 static void alx_get_pauseparam(struct net_device *netdev, in alx_get_pauseparam() 227 static int alx_set_pauseparam(struct net_device *netdev, in alx_set_pauseparam() 272 static u32 alx_get_msglevel(struct net_device *netdev) in alx_get_msglevel() 279 static void alx_set_msglevel(struct net_device *netdev, u32 data) in alx_set_msglevel() 286 static void alx_get_ethtool_stats(struct net_device *netdev, in alx_get_ethtool_stats() 301 static void alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in alx_get_strings() 313 static int alx_get_sset_count(struct net_device *netdev, int sset) in alx_get_sset_count()
|
| /linux/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb_core.c | 60 struct net_device *netdev = to_net_dev(dev); in can_channel_id_show() local 236 struct net_device *netdev; in peak_usb_read_bulk_callback() local 302 struct net_device *netdev; in peak_usb_write_bulk_callback() local 353 struct net_device *netdev) in peak_usb_ndo_start_xmit() 437 struct net_device *netdev = dev->netdev; in peak_usb_start() local 572 static int peak_usb_ndo_open(struct net_device *netdev) in peak_usb_ndo_open() 630 static int peak_usb_ndo_stop(struct net_device *netdev) in peak_usb_ndo_stop() 722 static int peak_usb_set_mode(struct net_device *netdev, enum can_mode mode) in peak_usb_set_mode() 745 static int peak_usb_set_bittiming(struct net_device *netdev) in peak_usb_set_bittiming() 766 static int peak_usb_set_data_bittiming(struct net_device *netdev) in peak_usb_set_data_bittiming() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_ethtool.c | 14 static int mlxbf_gige_get_regs_len(struct net_device *netdev) in mlxbf_gige_get_regs_len() 19 static void mlxbf_gige_get_regs(struct net_device *netdev, in mlxbf_gige_get_regs() 35 mlxbf_gige_get_ringparam(struct net_device *netdev, in mlxbf_gige_get_ringparam() 65 static int mlxbf_gige_get_sset_count(struct net_device *netdev, int stringset) in mlxbf_gige_get_sset_count() 72 static void mlxbf_gige_get_strings(struct net_device *netdev, u32 stringset, in mlxbf_gige_get_strings() 81 static void mlxbf_gige_get_ethtool_stats(struct net_device *netdev, in mlxbf_gige_get_ethtool_stats() 119 static void mlxbf_gige_get_pauseparam(struct net_device *netdev, in mlxbf_gige_get_pauseparam() 144 static void mlxbf_gige_get_pause_stats(struct net_device *netdev, in mlxbf_gige_get_pause_stats()
|
| /linux/drivers/net/ethernet/cortina/ |
| H A D | gemini.c | 109 struct net_device *netdev; global() member 229 gmac_update_config0_reg(struct net_device * netdev,u32 val,u32 vmask) gmac_update_config0_reg() argument 245 gmac_enable_tx_rx(struct net_device * netdev) gmac_enable_tx_rx() argument 260 gmac_disable_tx_rx(struct net_device * netdev) gmac_disable_tx_rx() argument 277 gmac_set_flow_control(struct net_device * netdev,bool tx,bool rx) gmac_set_flow_control() argument 296 gmac_adjust_link(struct net_device * netdev) gmac_adjust_link() argument 361 gmac_setup_phy(struct net_device * netdev) gmac_setup_phy() argument 465 gmac_init(struct net_device * netdev) gmac_init() argument 545 gmac_setup_txqs(struct net_device * netdev) gmac_setup_txqs() argument 603 gmac_clean_txq(struct net_device * netdev,struct gmac_txq * txq,unsigned int r) gmac_clean_txq() argument 675 gmac_cleanup_txqs(struct net_device * netdev) gmac_cleanup_txqs() argument 701 gmac_setup_rxq(struct net_device * netdev) gmac_setup_rxq() argument 753 gmac_cleanup_rxq(struct net_device * netdev) gmac_cleanup_rxq() argument 1040 struct net_device *netdev = port->netdev; geth_resize_freeq() local 1105 gmac_tx_irq_enable(struct net_device * netdev,unsigned int txq,int en) gmac_tx_irq_enable() argument 1129 gmac_tx_irq(struct net_device * netdev,unsigned int txq_num) gmac_tx_irq() argument 1137 gmac_map_tx_bufs(struct net_device * netdev,struct sk_buff * skb,struct gmac_txq * txq,unsigned short * desc) gmac_map_tx_bufs() argument 1276 gmac_start_xmit(struct sk_buff * skb,struct net_device * netdev) gmac_start_xmit() argument 1349 gmac_tx_timeout(struct net_device * netdev,unsigned int txqueue) gmac_tx_timeout() argument 1355 gmac_enable_irq(struct net_device * netdev,int enable) gmac_enable_irq() argument 1384 gmac_enable_rx_irq(struct net_device * netdev,int enable) gmac_enable_rx_irq() argument 1443 gmac_rx(struct net_device * netdev,unsigned int budget,unsigned int * freeq_consumed) gmac_rx() argument 1615 gmac_dump_dma_state(struct net_device * netdev) gmac_dump_dma_state() argument 1686 gmac_update_hw_stats(struct net_device * netdev) gmac_update_hw_stats() argument 1722 gmac_get_intr_flags(struct net_device * netdev,int i) gmac_get_intr_flags() argument 1753 struct net_device *netdev = data; gmac_irq() local 1844 gmac_open(struct net_device * netdev) gmac_open() argument 1901 gmac_stop(struct net_device * netdev) gmac_stop() argument 1925 gmac_set_rx_mode(struct net_device * netdev) gmac_set_rx_mode() argument 1960 gmac_write_mac_address(struct net_device * netdev) gmac_write_mac_address() argument 1973 gmac_set_mac_address(struct net_device * netdev,void * addr) gmac_set_mac_address() argument 1983 gmac_clear_hw_stats(struct net_device * netdev) gmac_clear_hw_stats() argument 1995 gmac_get_stats64(struct net_device * netdev,struct rtnl_link_stats64 * stats) gmac_get_stats64() argument 2044 gmac_change_mtu(struct net_device * netdev,int new_mtu) gmac_change_mtu() argument 2064 gmac_set_features(struct net_device * netdev,netdev_features_t features) gmac_set_features() argument 2082 gmac_get_sset_count(struct net_device * netdev,int sset) gmac_get_sset_count() argument 2087 gmac_get_strings(struct net_device * netdev,u32 stringset,u8 * data) gmac_get_strings() argument 2095 gmac_get_ethtool_stats(struct net_device * netdev,struct ethtool_stats * estats,u64 * values) gmac_get_ethtool_stats() argument 2145 gmac_get_ksettings(struct net_device * netdev,struct ethtool_link_ksettings * cmd) gmac_get_ksettings() argument 2155 gmac_set_ksettings(struct net_device * netdev,const struct ethtool_link_ksettings * cmd) gmac_set_ksettings() argument 2163 gmac_nway_reset(struct net_device * netdev) gmac_nway_reset() argument 2170 gmac_get_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pparam) gmac_get_pauseparam() argument 2183 gmac_set_pauseparam(struct net_device * netdev,struct ethtool_pauseparam * pparam) gmac_set_pauseparam() argument 2196 gmac_get_ringparam(struct net_device * netdev,struct ethtool_ringparam * rp,struct kernel_ethtool_ringparam * kernel_rp,struct netlink_ext_ack * extack) gmac_get_ringparam() argument 2216 gmac_set_ringparam(struct net_device * netdev,struct ethtool_ringparam * rp,struct kernel_ethtool_ringparam * kernel_rp,struct netlink_ext_ack * extack) gmac_set_ringparam() argument 2239 gmac_get_coalesce(struct net_device * netdev,struct ethtool_coalesce * ecmd,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) gmac_get_coalesce() argument 2253 gmac_set_coalesce(struct net_device * netdev,struct ethtool_coalesce * ecmd,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) gmac_set_coalesce() argument 2271 gmac_get_msglevel(struct net_device * netdev) gmac_get_msglevel() argument 2278 gmac_set_msglevel(struct net_device * netdev,u32 level) gmac_set_msglevel() argument 2285 gmac_get_drvinfo(struct net_device * netdev,struct ethtool_drvinfo * info) gmac_get_drvinfo() argument 2456 struct net_device *netdev; gemini_ethernet_port_probe() local [all...] |