Lines Matching defs:ethtool_ops
786 struct ethtool_ops { struct
787 u32 cap_link_lanes_supported:1;
788 u32 supported_coalesce_params;
789 u32 supported_ring_params;
790 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
791 int (*get_regs_len)(struct net_device *);
792 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
793 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
794 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
795 u32 (*get_msglevel)(struct net_device *);
796 void (*set_msglevel)(struct net_device *, u32);
797 int (*nway_reset)(struct net_device *);
798 u32 (*get_link)(struct net_device *);
799 int (*get_link_ext_state)(struct net_device *,
801 void (*get_link_ext_stats)(struct net_device *dev,
803 int (*get_eeprom_len)(struct net_device *);
804 int (*get_eeprom)(struct net_device *,
806 int (*set_eeprom)(struct net_device *,
808 int (*get_coalesce)(struct net_device *,
812 int (*set_coalesce)(struct net_device *,
816 void (*get_ringparam)(struct net_device *,
820 int (*set_ringparam)(struct net_device *,
824 void (*get_pause_stats)(struct net_device *dev,
826 void (*get_pauseparam)(struct net_device *,
828 int (*set_pauseparam)(struct net_device *,
830 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
831 void (*get_strings)(struct net_device *, u32 stringset, u8 *);
832 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
833 void (*get_ethtool_stats)(struct net_device *,
835 int (*begin)(struct net_device *);
836 void (*complete)(struct net_device *);
837 u32 (*get_priv_flags)(struct net_device *);
838 int (*set_priv_flags)(struct net_device *, u32);
839 int (*get_sset_count)(struct net_device *, int);
840 int (*get_rxnfc)(struct net_device *,
842 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
843 int (*flash_device)(struct net_device *, struct ethtool_flash *);
844 int (*reset)(struct net_device *, u32 *);
845 u32 (*get_rxfh_key_size)(struct net_device *);
846 u32 (*get_rxfh_indir_size)(struct net_device *);
847 int (*get_rxfh)(struct net_device *, u32 *indir, u8 *key,
849 int (*set_rxfh)(struct net_device *, const u32 *indir,
851 int (*get_rxfh_context)(struct net_device *, u32 *indir, u8 *key,
853 int (*set_rxfh_context)(struct net_device *, const u32 *indir,
856 void (*get_channels)(struct net_device *, struct ethtool_channels *);
857 int (*set_channels)(struct net_device *, struct ethtool_channels *);
858 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
859 int (*get_dump_data)(struct net_device *,
861 int (*set_dump)(struct net_device *, struct ethtool_dump *);
862 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
863 int (*get_module_info)(struct net_device *,
865 int (*get_module_eeprom)(struct net_device *,
867 int (*get_eee)(struct net_device *, struct ethtool_eee *);
868 int (*set_eee)(struct net_device *, struct ethtool_eee *);
869 int (*get_tunable)(struct net_device *,
871 int (*set_tunable)(struct net_device *,
873 int (*get_per_queue_coalesce)(struct net_device *, u32,
875 int (*set_per_queue_coalesce)(struct net_device *, u32,
877 int (*get_link_ksettings)(struct net_device *,
879 int (*set_link_ksettings)(struct net_device *,
881 void (*get_fec_stats)(struct net_device *dev,
883 int (*get_fecparam)(struct net_device *,
885 int (*set_fecparam)(struct net_device *,
887 void (*get_ethtool_phy_stats)(struct net_device *,
889 int (*get_phy_tunable)(struct net_device *,
891 int (*set_phy_tunable)(struct net_device *,
893 int (*get_module_eeprom_by_page)(struct net_device *dev,
917 int ethtool_check_ops(const struct ethtool_ops *ops); argument