Lines Matching refs:netdev
220 static void be_get_drvinfo(struct net_device *netdev, in be_get_drvinfo() argument
223 struct be_adapter *adapter = netdev_priv(netdev); in be_get_drvinfo()
298 static int be_get_reg_len(struct net_device *netdev) in be_get_reg_len() argument
300 struct be_adapter *adapter = netdev_priv(netdev); in be_get_reg_len()
317 be_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *buf) in be_get_regs() argument
319 struct be_adapter *adapter = netdev_priv(netdev); in be_get_regs()
331 static int be_get_coalesce(struct net_device *netdev, in be_get_coalesce() argument
334 struct be_adapter *adapter = netdev_priv(netdev); in be_get_coalesce()
354 static int be_set_coalesce(struct net_device *netdev, in be_set_coalesce() argument
357 struct be_adapter *adapter = netdev_priv(netdev); in be_set_coalesce()
374 static void be_get_ethtool_stats(struct net_device *netdev, in be_get_ethtool_stats() argument
377 struct be_adapter *adapter = netdev_priv(netdev); in be_get_ethtool_stats()
426 static void be_get_stat_strings(struct net_device *netdev, uint32_t stringset, in be_get_stat_strings() argument
429 struct be_adapter *adapter = netdev_priv(netdev); in be_get_stat_strings()
462 static int be_get_sset_count(struct net_device *netdev, int stringset) in be_get_sset_count() argument
464 struct be_adapter *adapter = netdev_priv(netdev); in be_get_sset_count()
601 static int be_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in be_get_settings() argument
603 struct be_adapter *adapter = netdev_priv(netdev); in be_get_settings()
674 ecmd->duplex = netif_carrier_ok(netdev) ? DUPLEX_FULL : DUPLEX_UNKNOWN; in be_get_settings()
680 static void be_get_ringparam(struct net_device *netdev, in be_get_ringparam() argument
683 struct be_adapter *adapter = netdev_priv(netdev); in be_get_ringparam()
692 be_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) in be_get_pauseparam() argument
694 struct be_adapter *adapter = netdev_priv(netdev); in be_get_pauseparam()
701 be_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) in be_set_pauseparam() argument
703 struct be_adapter *adapter = netdev_priv(netdev); in be_set_pauseparam()
721 static int be_set_phys_id(struct net_device *netdev, in be_set_phys_id() argument
724 struct be_adapter *adapter = netdev_priv(netdev); in be_set_phys_id()
750 static int be_set_dump(struct net_device *netdev, struct ethtool_dump *dump) in be_set_dump() argument
752 struct be_adapter *adapter = netdev_priv(netdev); in be_set_dump()
778 static void be_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in be_get_wol() argument
780 struct be_adapter *adapter = netdev_priv(netdev); in be_get_wol()
792 static int be_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in be_set_wol() argument
794 struct be_adapter *adapter = netdev_priv(netdev); in be_set_wol()
850 static void be_self_test(struct net_device *netdev, struct ethtool_test *test, in be_self_test() argument
853 struct be_adapter *adapter = netdev_priv(netdev); in be_self_test()
895 static int be_do_flash(struct net_device *netdev, struct ethtool_flash *efl) in be_do_flash() argument
897 struct be_adapter *adapter = netdev_priv(netdev); in be_do_flash()
902 static int be_get_eeprom_len(struct net_device *netdev) in be_get_eeprom_len() argument
904 struct be_adapter *adapter = netdev_priv(netdev); in be_get_eeprom_len()
921 static int be_read_eeprom(struct net_device *netdev, in be_read_eeprom() argument
924 struct be_adapter *adapter = netdev_priv(netdev); in be_read_eeprom()
964 static u32 be_get_msg_level(struct net_device *netdev) in be_get_msg_level() argument
966 struct be_adapter *adapter = netdev_priv(netdev); in be_get_msg_level()
971 static void be_set_msg_level(struct net_device *netdev, u32 level) in be_set_msg_level() argument
973 struct be_adapter *adapter = netdev_priv(netdev); in be_set_msg_level()
1020 static int be_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in be_get_rxnfc() argument
1023 struct be_adapter *adapter = netdev_priv(netdev); in be_get_rxnfc()
1119 static int be_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in be_set_rxnfc() argument
1121 struct be_adapter *adapter = netdev_priv(netdev); in be_set_rxnfc()
1141 static void be_get_channels(struct net_device *netdev, in be_get_channels() argument
1144 struct be_adapter *adapter = netdev_priv(netdev); in be_get_channels()
1150 static int be_set_channels(struct net_device *netdev, in be_set_channels() argument
1153 struct be_adapter *adapter = netdev_priv(netdev); in be_set_channels()
1166 static u32 be_get_rxfh_indir_size(struct net_device *netdev) in be_get_rxfh_indir_size() argument
1171 static u32 be_get_rxfh_key_size(struct net_device *netdev) in be_get_rxfh_key_size() argument
1176 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument
1179 struct be_adapter *adapter = netdev_priv(netdev); in be_get_rxfh()
1197 static int be_set_rxfh(struct net_device *netdev, const u32 *indir, in be_set_rxfh() argument
1201 struct be_adapter *adapter = netdev_priv(netdev); in be_set_rxfh()
1238 static int be_get_module_info(struct net_device *netdev, in be_get_module_info() argument
1241 struct be_adapter *adapter = netdev_priv(netdev); in be_get_module_info()
1262 static int be_get_module_eeprom(struct net_device *netdev, in be_get_module_eeprom() argument
1265 struct be_adapter *adapter = netdev_priv(netdev); in be_get_module_eeprom()