Lines Matching defs:ethtool_ops
421 struct ethtool_ops { struct
422 u32 supported_coalesce_params;
423 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
424 int (*get_regs_len)(struct net_device *);
425 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
426 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
427 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
428 u32 (*get_msglevel)(struct net_device *);
429 void (*set_msglevel)(struct net_device *, u32);
430 int (*nway_reset)(struct net_device *);
431 u32 (*get_link)(struct net_device *);
432 int (*get_link_ext_state)(struct net_device *,
434 int (*get_eeprom_len)(struct net_device *);
435 int (*get_eeprom)(struct net_device *,
437 int (*set_eeprom)(struct net_device *,
439 int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *);
440 int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *);
441 void (*get_ringparam)(struct net_device *,
443 int (*set_ringparam)(struct net_device *,
445 void (*get_pause_stats)(struct net_device *dev,
447 void (*get_pauseparam)(struct net_device *,
449 int (*set_pauseparam)(struct net_device *,
451 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
452 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
453 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
454 void (*get_ethtool_stats)(struct net_device *,
456 int (*begin)(struct net_device *);
457 void (*complete)(struct net_device *);
458 u32 (*get_priv_flags)(struct net_device *);
459 int (*set_priv_flags)(struct net_device *, u32);
460 int (*get_sset_count)(struct net_device *, int);
461 int (*get_rxnfc)(struct net_device *,
463 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
464 int (*flash_device)(struct net_device *, struct ethtool_flash *);
465 int (*reset)(struct net_device *, u32 *);
466 u32 (*get_rxfh_key_size)(struct net_device *);
467 u32 (*get_rxfh_indir_size)(struct net_device *);
468 int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key,
470 int (*set_rxfh)(struct net_device *, const u32 *indir,
472 int (*get_rxfh_context)(struct net_device *, u32 *indir, u8 *key,
474 int (*set_rxfh_context)(struct net_device *, const u32 *indir,
477 void (*get_channels)(struct net_device *, struct ethtool_channels *);
478 int (*set_channels)(struct net_device *, struct ethtool_channels *);
479 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
480 int (*get_dump_data)(struct net_device *,
482 int (*set_dump)(struct net_device *, struct ethtool_dump *);
483 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
484 int (*get_module_info)(struct net_device *,
486 int (*get_module_eeprom)(struct net_device *,
488 int (*get_eee)(struct net_device *, struct ethtool_eee *);
489 int (*set_eee)(struct net_device *, struct ethtool_eee *);
490 int (*get_tunable)(struct net_device *,
514 int ethtool_check_ops(const struct ethtool_ops *ops); argument