Lines Matching defs:ethtool_ops

418 struct ethtool_ops {  struct
419 u32 supported_coalesce_params;
420 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
421 int (*get_regs_len)(struct net_device *);
422 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
423 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
424 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
425 u32 (*get_msglevel)(struct net_device *);
426 void (*set_msglevel)(struct net_device *, u32);
427 int (*nway_reset)(struct net_device *);
428 u32 (*get_link)(struct net_device *);
429 int (*get_link_ext_state)(struct net_device *,
431 int (*get_eeprom_len)(struct net_device *);
432 int (*get_eeprom)(struct net_device *,
434 int (*set_eeprom)(struct net_device *,
436 int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *);
437 int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *);
438 void (*get_ringparam)(struct net_device *,
440 int (*set_ringparam)(struct net_device *,
442 void (*get_pause_stats)(struct net_device *dev,
444 void (*get_pauseparam)(struct net_device *,
446 int (*set_pauseparam)(struct net_device *,
448 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
449 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
450 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
451 void (*get_ethtool_stats)(struct net_device *,
453 int (*begin)(struct net_device *);
454 void (*complete)(struct net_device *);
455 u32 (*get_priv_flags)(struct net_device *);
456 int (*set_priv_flags)(struct net_device *, u32);
457 int (*get_sset_count)(struct net_device *, int);
458 int (*get_rxnfc)(struct net_device *,
460 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
461 int (*flash_device)(struct net_device *, struct ethtool_flash *);
462 int (*reset)(struct net_device *, u32 *);
463 u32 (*get_rxfh_key_size)(struct net_device *);
464 u32 (*get_rxfh_indir_size)(struct net_device *);
465 int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key,
467 int (*set_rxfh)(struct net_device *, const u32 *indir,
469 int (*get_rxfh_context)(struct net_device *, u32 *indir, u8 *key,
471 int (*set_rxfh_context)(struct net_device *, const u32 *indir,
474 void (*get_channels)(struct net_device *, struct ethtool_channels *);
475 int (*set_channels)(struct net_device *, struct ethtool_channels *);
476 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
477 int (*get_dump_data)(struct net_device *,
479 int (*set_dump)(struct net_device *, struct ethtool_dump *);
480 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
481 int (*get_module_info)(struct net_device *,
483 int (*get_module_eeprom)(struct net_device *,
485 int (*get_eee)(struct net_device *, struct ethtool_eee *);
486 int (*set_eee)(struct net_device *, struct ethtool_eee *);
487 int (*get_tunable)(struct net_device *,
489 int (*set_tunable)(struct net_device *,
491 int (*get_per_queue_coalesce)(struct net_device *, u32,
516 int ethtool_check_ops(const struct ethtool_ops *ops); argument