/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hns3_ethtool.c | 104 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/ |
D | hns_ae_adapt.c | 761 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 …]
|
D | hns_dsaf_ppe.h | 112 int hns_ppe_get_sset_count(int stringset); 116 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
|
D | hns_dsaf_rcb.h | 158 int hns_rcb_get_ring_sset_count(int stringset); 164 void hns_rcb_get_strings(int stringset, u8 *data, int index);
|
D | hns_dsaf_mac.h | 389 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);
|
D | hns_ethtool.c | 892 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()
|
D | hns_dsaf_xgmac.c | 763 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()
|
D | hns_dsaf_main.h | 447 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/ |
D | dwc-xlgmac-ethtool.c | 209 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/ |
D | aq_ethtool.c | 131 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/ |
D | ethtool.c | 417 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/ |
D | opa_vnic_ethtool.c | 161 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/ |
D | ipoib_ethtool.c | 127 u32 stringset, u8 *data) in ipoib_get_strings() argument 132 switch (stringset) { in ipoib_get_strings()
|
/drivers/net/ethernet/apm/xgene-v2/ |
D | ethtool.c | 109 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/ |
D | emac-ethtool.c | 100 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/ |
D | ethtool.c | 46 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/ |
D | xgbe-ethtool.c | 191 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/ |
D | dpaa2-ethtool.c | 155 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/ |
D | ethtool.c | 291 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/ |
D | ehea_ethtool.c | 219 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/ |
D | qca_debug.c | 215 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/ |
D | mesh.h | 59 uint32_t stringset, uint8_t *s);
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac_ethtool.c | 115 static void pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, in pasemi_mac_get_strings() argument
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 328 u32 stringset, u8 *data); 329 int (*get_sset_count)(struct hnae3_handle *handle, int stringset);
|
/drivers/net/fjes/ |
D | fjes_ethtool.c | 101 u32 stringset, u8 *data) in fjes_get_strings() argument 108 switch (stringset) { in fjes_get_strings()
|