Lines Matching defs:ethtool_ops

640 struct ethtool_ops {  struct
641 u32 cap_link_lanes_supported:1;
642 u32 supported_coalesce_params;
643 u32 supported_ring_params;
644 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
645 int (*get_regs_len)(struct net_device *);
646 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
647 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
648 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
649 u32 (*get_msglevel)(struct net_device *);
650 void (*set_msglevel)(struct net_device *, u32);
651 int (*nway_reset)(struct net_device *);
652 u32 (*get_link)(struct net_device *);
653 int (*get_link_ext_state)(struct net_device *,
655 int (*get_eeprom_len)(struct net_device *);
656 int (*get_eeprom)(struct net_device *,
658 int (*set_eeprom)(struct net_device *,
660 int (*get_coalesce)(struct net_device *,
664 int (*set_coalesce)(struct net_device *,
668 void (*get_ringparam)(struct net_device *,
672 int (*set_ringparam)(struct net_device *,
676 void (*get_pause_stats)(struct net_device *dev,
678 void (*get_pauseparam)(struct net_device *,
680 int (*set_pauseparam)(struct net_device *,
682 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
683 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
684 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
685 void (*get_ethtool_stats)(struct net_device *,
687 int (*begin)(struct net_device *);
688 void (*complete)(struct net_device *);
689 u32 (*get_priv_flags)(struct net_device *);
690 int (*set_priv_flags)(struct net_device *, u32);
691 int (*get_sset_count)(struct net_device *, int);
692 int (*get_rxnfc)(struct net_device *,
694 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
695 int (*flash_device)(struct net_device *, struct ethtool_flash *);
696 int (*reset)(struct net_device *, u32 *);
697 u32 (*get_rxfh_key_size)(struct net_device *);
698 u32 (*get_rxfh_indir_size)(struct net_device *);
699 int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key,
701 int (*set_rxfh)(struct net_device *, const u32 *indir,
703 int (*get_rxfh_context)(struct net_device *, u32 *indir, u8 *key,
705 int (*set_rxfh_context)(struct net_device *, const u32 *indir,
708 void (*get_channels)(struct net_device *, struct ethtool_channels *);
709 int (*set_channels)(struct net_device *, struct ethtool_channels *);
710 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
711 int (*get_dump_data)(struct net_device *,
713 int (*set_dump)(struct net_device *, struct ethtool_dump *);
714 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
715 int (*get_module_info)(struct net_device *,
717 int (*get_module_eeprom)(struct net_device *,
719 int (*get_eee)(struct net_device *, struct ethtool_eee *);
720 int (*set_eee)(struct net_device *, struct ethtool_eee *);
721 int (*get_tunable)(struct net_device *,
723 int (*set_tunable)(struct net_device *,
725 int (*get_per_queue_coalesce)(struct net_device *, u32,
727 int (*set_per_queue_coalesce)(struct net_device *, u32,
729 int (*get_link_ksettings)(struct net_device *,
731 int (*set_link_ksettings)(struct net_device *,
733 void (*get_fec_stats)(struct net_device *dev,
735 int (*get_fecparam)(struct net_device *,
737 int (*set_fecparam)(struct net_device *,
739 void (*get_ethtool_phy_stats)(struct net_device *,
741 int (*get_phy_tunable)(struct net_device *,
765 int ethtool_check_ops(const struct ethtool_ops *ops); argument