Lines Matching defs:ethtool_ops

217 struct ethtool_ops {  struct
218 int (*get_settings)(struct net_device *, struct ethtool_cmd *);
219 int (*set_settings)(struct net_device *, struct ethtool_cmd *);
220 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
221 int (*get_regs_len)(struct net_device *);
222 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
223 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
224 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
225 u32 (*get_msglevel)(struct net_device *);
226 void (*set_msglevel)(struct net_device *, u32);
227 int (*nway_reset)(struct net_device *);
228 u32 (*get_link)(struct net_device *);
229 int (*get_eeprom_len)(struct net_device *);
230 int (*get_eeprom)(struct net_device *,
232 int (*set_eeprom)(struct net_device *,
234 int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *);
235 int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *);
236 void (*get_ringparam)(struct net_device *,
238 int (*set_ringparam)(struct net_device *,
240 void (*get_pauseparam)(struct net_device *,
242 int (*set_pauseparam)(struct net_device *,
244 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
245 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
246 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
247 void (*get_ethtool_stats)(struct net_device *,
249 int (*begin)(struct net_device *);
250 void (*complete)(struct net_device *);
251 u32 (*get_priv_flags)(struct net_device *);
252 int (*set_priv_flags)(struct net_device *, u32);
253 int (*get_sset_count)(struct net_device *, int);
254 int (*get_rxnfc)(struct net_device *,
256 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
257 int (*flash_device)(struct net_device *, struct ethtool_flash *);
258 int (*reset)(struct net_device *, u32 *);
259 u32 (*get_rxfh_key_size)(struct net_device *);
260 u32 (*get_rxfh_indir_size)(struct net_device *);
261 int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key,
263 int (*set_rxfh)(struct net_device *, const u32 *indir,
265 void (*get_channels)(struct net_device *, struct ethtool_channels *);
266 int (*set_channels)(struct net_device *, struct ethtool_channels *);
267 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
268 int (*get_dump_data)(struct net_device *,
270 int (*set_dump)(struct net_device *, struct ethtool_dump *);
271 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
272 int (*get_module_info)(struct net_device *,
274 int (*get_module_eeprom)(struct net_device *,
276 int (*get_eee)(struct net_device *, struct ethtool_eee *);
277 int (*set_eee)(struct net_device *, struct ethtool_eee *);
278 int (*get_tunable)(struct net_device *,
280 int (*set_tunable)(struct net_device *,