Home
last modified time | relevance | path

Searched refs:stringset (Results 1 – 25 of 155) sorted by relevance

1234567

/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_ethtool.c64 static int mlxbf_gige_get_sset_count(struct net_device *netdev, int stringset) in mlxbf_gige_get_sset_count() argument
66 if (stringset != ETH_SS_STATS) in mlxbf_gige_get_sset_count()
71 static void mlxbf_gige_get_strings(struct net_device *netdev, u32 stringset, in mlxbf_gige_get_strings() argument
74 if (stringset != ETH_SS_STATS) in mlxbf_gige_get_strings()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c735 u32 stringset, u8 *data) in hns_ae_get_strings() argument
753 hns_rcb_get_strings(stringset, p, idx); in hns_ae_get_strings()
754 p += ETH_GSTRING_LEN * hns_rcb_get_ring_sset_count(stringset); in hns_ae_get_strings()
757 hns_ppe_get_strings(ppe_cb, stringset, p); in hns_ae_get_strings()
758 p += ETH_GSTRING_LEN * hns_ppe_get_sset_count(stringset); in hns_ae_get_strings()
760 hns_mac_get_strings(mac_cb, stringset, p); in hns_ae_get_strings()
761 p += ETH_GSTRING_LEN * hns_mac_get_sset_count(mac_cb, stringset); in hns_ae_get_strings()
764 hns_dsaf_get_strings(stringset, p, port, dsaf_dev); in hns_ae_get_strings()
767 static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count() argument
777 sset_count += hns_rcb_get_ring_sset_count(stringset) * handle->q_num; in hns_ae_get_sset_count()
[all …]
Dhns_dsaf_ppe.h108 int hns_ppe_get_sset_count(int stringset);
112 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
Dhns_dsaf_mac.h381 void (*get_strings)(u32 stringset, u8 *data);
383 int (*get_sset_count)(int stringset);
449 void hns_mac_get_strings(struct hns_mac_cb *mac_cb, int stringset, u8 *data);
450 int hns_mac_get_sset_count(struct hns_mac_cb *mac_cb, int stringset);
Dhns_dsaf_rcb.h154 int hns_rcb_get_ring_sset_count(int stringset);
160 void hns_rcb_get_strings(int stringset, u8 *data, int index);
Dhns_ethtool.c901 static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings() argument
912 if (stringset == ETH_SS_TEST) { in hns_get_strings()
951 h->dev->ops->get_strings(h, stringset, buff); in hns_get_strings()
962 static int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count() argument
972 if (stringset == ETH_SS_TEST) { in hns_get_sset_count()
982 } else if (stringset == ETH_SS_STATS) { in hns_get_sset_count()
983 return (HNS_NET_STATS_CNT + ops->get_sset_count(h, stringset)); in hns_get_sset_count()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c200 u32 stringset, u8 *data) in xlgmac_ethtool_get_strings() argument
204 switch (stringset) { in xlgmac_ethtool_get_strings()
219 int stringset) in xlgmac_ethtool_get_sset_count() argument
223 switch (stringset) { in xlgmac_ethtool_get_sset_count()
/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c18 static int mana_get_sset_count(struct net_device *ndev, int stringset) in mana_get_sset_count() argument
23 if (stringset != ETH_SS_STATS) in mana_get_sset_count()
29 static void mana_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in mana_get_strings() argument
36 if (stringset != ETH_SS_STATS) in mana_get_strings()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c396 static int igbvf_get_sset_count(struct net_device *dev, int stringset) in igbvf_get_sset_count() argument
398 switch (stringset) { in igbvf_get_sset_count()
408 static void igbvf_get_strings(struct net_device *netdev, u32 stringset, in igbvf_get_strings() argument
414 switch (stringset) { in igbvf_get_strings()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c159 static void vnic_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in vnic_get_strings() argument
163 if (stringset != ETH_SS_STATS) in vnic_get_strings()
/drivers/s390/net/
Dqeth_ethtool.c87 static int qeth_get_sset_count(struct net_device *dev, int stringset) in qeth_get_sset_count() argument
91 switch (stringset) { in qeth_get_sset_count()
162 static void qeth_get_strings(struct net_device *dev, u32 stringset, u8 *data) in qeth_get_strings() argument
168 switch (stringset) { in qeth_get_strings()
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c46 static void mlx5i_get_strings(struct net_device *dev, u32 stringset, u8 *data) in mlx5i_get_strings() argument
50 mlx5e_ethtool_get_strings(priv, stringset, data); in mlx5i_get_strings()
/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c129 u32 stringset, u8 *data) in ipoib_get_strings() argument
134 switch (stringset) { in ipoib_get_strings()
/drivers/net/ethernet/apm/xgene-v2/
Dethtool.c95 static void xge_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in xge_get_strings() argument
100 if (stringset != ETH_SS_STATS) in xge_get_strings()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-ethtool.c162 u32 stringset, u8 *data) in dpaa2_switch_ethtool_get_strings() argument
168 switch (stringset) { in dpaa2_switch_ethtool_get_strings()
/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() argument
96 switch (stringset) { in emac_get_strings()
/drivers/net/dsa/
Ddsa_loop.c115 u32 stringset, uint8_t *data) in dsa_loop_get_strings() argument
120 if (stringset != ETH_SS_STATS && stringset != ETH_SS_PHY_STATS) in dsa_loop_get_strings()
/drivers/net/ethernet/qualcomm/
Dqca_debug.c201 qcaspi_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in qcaspi_get_strings() argument
203 switch (stringset) { in qcaspi_get_strings()
/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c205 static void ehea_get_strings(struct net_device *dev, u32 stringset, u8 *data) in ehea_get_strings() argument
207 if (stringset == ETH_SS_STATS) { in ehea_get_strings()
/drivers/net/ethernet/atheros/alx/
Dethtool.c301 static void alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in alx_get_strings() argument
303 switch (stringset) { in alx_get_strings()
/drivers/net/wireless/marvell/libertas/
Dmesh.h58 uint32_t stringset, uint8_t *s);
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c181 static void rmnet_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in rmnet_get_strings() argument
183 switch (stringset) { in rmnet_get_strings()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c191 static void xgbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in xgbe_get_strings() argument
196 switch (stringset) { in xgbe_get_strings()
241 static int xgbe_get_sset_count(struct net_device *netdev, int stringset) in xgbe_get_sset_count() argument
246 switch (stringset) { in xgbe_get_sset_count()
/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c104 static void pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, in pasemi_mac_get_strings() argument
/drivers/net/fjes/
Dfjes_ethtool.c86 u32 stringset, u8 *data) in fjes_get_strings() argument
93 switch (stringset) { in fjes_get_strings()

1234567