Lines Matching refs:net_device
127 struct net_device;
211 void ethtool_rxfh_context_lost(struct net_device *dev, u32 context_id);
281 __ethtool_get_link_ksettings(struct net_device *dev,
1017 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
1018 int (*get_regs_len)(struct net_device *);
1019 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
1020 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
1021 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
1022 u32 (*get_msglevel)(struct net_device *);
1023 void (*set_msglevel)(struct net_device *, u32);
1024 int (*nway_reset)(struct net_device *);
1025 u32 (*get_link)(struct net_device *);
1026 int (*get_link_ext_state)(struct net_device *,
1028 void (*get_link_ext_stats)(struct net_device *dev,
1030 int (*get_eeprom_len)(struct net_device *);
1031 int (*get_eeprom)(struct net_device *,
1033 int (*set_eeprom)(struct net_device *,
1035 int (*get_coalesce)(struct net_device *,
1039 int (*set_coalesce)(struct net_device *,
1043 void (*get_ringparam)(struct net_device *,
1047 int (*set_ringparam)(struct net_device *,
1051 void (*get_pause_stats)(struct net_device *dev,
1053 void (*get_pauseparam)(struct net_device *,
1055 int (*set_pauseparam)(struct net_device *,
1057 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1058 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
1059 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1060 void (*get_ethtool_stats)(struct net_device *,
1062 int (*begin)(struct net_device *);
1063 void (*complete)(struct net_device *);
1064 u32 (*get_priv_flags)(struct net_device *);
1065 int (*set_priv_flags)(struct net_device *, u32);
1066 int (*get_sset_count)(struct net_device *, int);
1067 int (*get_rxnfc)(struct net_device *,
1069 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1070 int (*flash_device)(struct net_device *, struct ethtool_flash *);
1071 int (*reset)(struct net_device *, u32 *);
1072 u32 (*get_rxfh_key_size)(struct net_device *);
1073 u32 (*get_rxfh_indir_size)(struct net_device *);
1074 int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *);
1075 int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *,
1077 int (*create_rxfh_context)(struct net_device *,
1081 int (*modify_rxfh_context)(struct net_device *,
1085 int (*remove_rxfh_context)(struct net_device *,
1089 void (*get_channels)(struct net_device *, struct ethtool_channels *);
1090 int (*set_channels)(struct net_device *, struct ethtool_channels *);
1091 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1092 int (*get_dump_data)(struct net_device *,
1094 int (*set_dump)(struct net_device *, struct ethtool_dump *);
1095 int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *);
1096 void (*get_ts_stats)(struct net_device *dev,
1098 int (*get_module_info)(struct net_device *,
1100 int (*get_module_eeprom)(struct net_device *,
1102 int (*get_eee)(struct net_device *dev, struct ethtool_keee *eee);
1103 int (*set_eee)(struct net_device *dev, struct ethtool_keee *eee);
1104 int (*get_tunable)(struct net_device *,
1106 int (*set_tunable)(struct net_device *,
1108 int (*get_per_queue_coalesce)(struct net_device *, u32,
1110 int (*set_per_queue_coalesce)(struct net_device *, u32,
1112 int (*get_link_ksettings)(struct net_device *,
1114 int (*set_link_ksettings)(struct net_device *,
1116 void (*get_fec_stats)(struct net_device *dev,
1118 int (*get_fecparam)(struct net_device *,
1120 int (*set_fecparam)(struct net_device *,
1122 void (*get_ethtool_phy_stats)(struct net_device *,
1124 int (*get_phy_tunable)(struct net_device *,
1126 int (*set_phy_tunable)(struct net_device *,
1128 int (*get_module_eeprom_by_page)(struct net_device *dev,
1131 int (*set_module_eeprom_by_page)(struct net_device *dev,
1134 void (*get_eth_phy_stats)(struct net_device *dev,
1136 void (*get_eth_mac_stats)(struct net_device *dev,
1138 void (*get_eth_ctrl_stats)(struct net_device *dev,
1140 void (*get_rmon_stats)(struct net_device *dev,
1143 int (*get_module_power_mode)(struct net_device *dev,
1146 int (*set_module_power_mode)(struct net_device *dev,
1149 int (*get_mm)(struct net_device *dev, struct ethtool_mm_state *state);
1150 int (*set_mm)(struct net_device *dev, struct ethtool_mm_cfg *cfg,
1152 void (*get_mm_stats)(struct net_device *dev, struct ethtool_mm_stats *stats);
1172 int ethtool_virtdev_set_link_ksettings(struct net_device *dev,
1252 int ethtool_get_phc_vclocks(struct net_device *dev, int **vclock_index);
1255 u32 ethtool_op_get_link(struct net_device *dev);
1256 int ethtool_op_get_ts_info(struct net_device *dev,
1306 int ethtool_get_ts_info_by_layer(struct net_device *dev,