Home
last modified time | relevance | path

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

12345

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhns3_ethtool.c104 static int hns3_get_sset_count(struct net_device *netdev, int stringset) in hns3_get_sset_count() argument
113 switch (stringset) { in hns3_get_sset_count()
116 ops->get_sset_count(h, stringset)); in hns3_get_sset_count()
119 return ops->get_sset_count(h, stringset); in hns3_get_sset_count()
166 static void hns3_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns3_get_strings() argument
176 switch (stringset) { in hns3_get_strings()
179 h->ae_algo->ops->get_strings(h, stringset, (u8 *)buff); in hns3_get_strings()
182 ops->get_strings(h, stringset, data); in hns3_get_strings()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c761 u32 stringset, u8 *data) in hns_ae_get_strings() argument
779 hns_rcb_get_strings(stringset, p, idx); in hns_ae_get_strings()
780 p += ETH_GSTRING_LEN * hns_rcb_get_ring_sset_count(stringset); in hns_ae_get_strings()
783 hns_ppe_get_strings(ppe_cb, stringset, p); in hns_ae_get_strings()
784 p += ETH_GSTRING_LEN * hns_ppe_get_sset_count(stringset); in hns_ae_get_strings()
786 hns_mac_get_strings(mac_cb, stringset, p); in hns_ae_get_strings()
787 p += ETH_GSTRING_LEN * hns_mac_get_sset_count(mac_cb, stringset); in hns_ae_get_strings()
790 hns_dsaf_get_strings(stringset, p, port, dsaf_dev); in hns_ae_get_strings()
793 int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count() argument
803 sset_count += hns_rcb_get_ring_sset_count(stringset) * handle->q_num; in hns_ae_get_sset_count()
[all …]
Dhns_dsaf_ppe.h112 int hns_ppe_get_sset_count(int stringset);
116 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
Dhns_dsaf_rcb.h158 int hns_rcb_get_ring_sset_count(int stringset);
164 void hns_rcb_get_strings(int stringset, u8 *data, int index);
Dhns_dsaf_mac.h389 void (*get_strings)(u32 stringset, u8 *data);
391 int (*get_sset_count)(int stringset);
456 void hns_mac_get_strings(struct hns_mac_cb *mac_cb, int stringset, u8 *data);
457 int hns_mac_get_sset_count(struct hns_mac_cb *mac_cb, int stringset);
Dhns_ethtool.c892 void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings() argument
903 if (stringset == ETH_SS_TEST) { in hns_get_strings()
971 h->dev->ops->get_strings(h, stringset, (u8 *)buff); in hns_get_strings()
982 int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count() argument
992 if (stringset == ETH_SS_TEST) { in hns_get_sset_count()
1002 } else if (stringset == ETH_SS_STATS) { in hns_get_sset_count()
1003 return (HNS_NET_STATS_CNT + ops->get_sset_count(h, stringset)); in hns_get_sset_count()
Dhns_dsaf_xgmac.c763 static void hns_xgmac_get_strings(u32 stringset, u8 *data) in hns_xgmac_get_strings() argument
768 if (stringset != ETH_SS_STATS) in hns_xgmac_get_strings()
782 static int hns_xgmac_get_sset_count(int stringset) in hns_xgmac_get_sset_count() argument
784 if (stringset == ETH_SS_STATS || stringset == ETH_SS_PRIV_FLAGS) in hns_xgmac_get_sset_count()
Dhns_dsaf_main.h447 int hns_dsaf_get_sset_count(struct dsaf_device *dsaf_dev, int stringset);
449 void hns_dsaf_get_strings(int stringset, u8 *data, int port,
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c209 u32 stringset, u8 *data) in xlgmac_ethtool_get_strings() argument
213 switch (stringset) { in xlgmac_ethtool_get_strings()
228 int stringset) in xlgmac_ethtool_get_sset_count() argument
232 switch (stringset) { in xlgmac_ethtool_get_sset_count()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c131 u32 stringset, u8 *data) in aq_ethtool_get_strings() argument
138 if (stringset == ETH_SS_STATS) { in aq_ethtool_get_strings()
154 static int aq_ethtool_get_sset_count(struct net_device *ndev, int stringset) in aq_ethtool_get_sset_count() argument
160 switch (stringset) { in aq_ethtool_get_sset_count()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c417 static int igbvf_get_sset_count(struct net_device *dev, int stringset) in igbvf_get_sset_count() argument
419 switch (stringset) { in igbvf_get_sset_count()
429 static void igbvf_get_strings(struct net_device *netdev, u32 stringset, in igbvf_get_strings() argument
435 switch (stringset) { in igbvf_get_strings()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c161 static void vnic_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in vnic_get_strings() argument
165 if (stringset != ETH_SS_STATS) in vnic_get_strings()
/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c127 u32 stringset, u8 *data) in ipoib_get_strings() argument
132 switch (stringset) { in ipoib_get_strings()
/drivers/net/ethernet/apm/xgene-v2/
Dethtool.c109 static void xge_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in xge_get_strings() argument
114 if (stringset != ETH_SS_STATS) in xge_get_strings()
/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c100 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() argument
104 switch (stringset) { in emac_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/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/staging/fsl-dpaa2/ethernet/
Ddpaa2-ethtool.c155 static void dpaa2_eth_get_strings(struct net_device *netdev, u32 stringset, in dpaa2_eth_get_strings() argument
161 switch (stringset) { in dpaa2_eth_get_strings()
/drivers/net/ethernet/atheros/alx/
Dethtool.c291 static void alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in alx_get_strings() argument
293 switch (stringset) { in alx_get_strings()
/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c219 static void ehea_get_strings(struct net_device *dev, u32 stringset, u8 *data) in ehea_get_strings() argument
221 if (stringset == ETH_SS_STATS) { in ehea_get_strings()
/drivers/net/ethernet/qualcomm/
Dqca_debug.c215 qcaspi_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in qcaspi_get_strings() argument
217 switch (stringset) { in qcaspi_get_strings()
/drivers/net/wireless/marvell/libertas/
Dmesh.h59 uint32_t stringset, uint8_t *s);
/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c115 static void pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, in pasemi_mac_get_strings() argument
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h328 u32 stringset, u8 *data);
329 int (*get_sset_count)(struct hnae3_handle *handle, int stringset);
/drivers/net/fjes/
Dfjes_ethtool.c101 u32 stringset, u8 *data) in fjes_get_strings() argument
108 switch (stringset) { in fjes_get_strings()

12345