Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/net/dsa/
Dmaster.c142 static void dsa_master_get_strings(struct net_device *dev, uint32_t stringset, in dsa_master_get_strings() argument
158 if (stringset == ETH_SS_PHY_STATS && dev->phydev && in dsa_master_get_strings()
166 mcount = ops->get_sset_count(dev, stringset); in dsa_master_get_strings()
169 ops->get_strings(dev, stringset, data); in dsa_master_get_strings()
178 ds->ops->get_strings(ds, port, stringset, ndata); in dsa_master_get_strings()
179 count = ds->ops->get_sset_count(ds, port, stringset); in dsa_master_get_strings()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c194 u32 stringset, u8 *data) in xlgmac_ethtool_get_strings() argument
198 switch (stringset) { in xlgmac_ethtool_get_strings()
213 int stringset) in xlgmac_ethtool_get_sset_count() argument
217 switch (stringset) { in xlgmac_ethtool_get_sset_count()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c755 u32 stringset, u8 *data) in hns_ae_get_strings() argument
773 hns_rcb_get_strings(stringset, p, idx); in hns_ae_get_strings()
774 p += ETH_GSTRING_LEN * hns_rcb_get_ring_sset_count(stringset); in hns_ae_get_strings()
777 hns_ppe_get_strings(ppe_cb, stringset, p); in hns_ae_get_strings()
778 p += ETH_GSTRING_LEN * hns_ppe_get_sset_count(stringset); in hns_ae_get_strings()
780 hns_mac_get_strings(mac_cb, stringset, p); in hns_ae_get_strings()
781 p += ETH_GSTRING_LEN * hns_mac_get_sset_count(mac_cb, stringset); in hns_ae_get_strings()
784 hns_dsaf_get_strings(stringset, p, port, dsaf_dev); in hns_ae_get_strings()
787 static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count() argument
797 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_rcb.h154 int hns_rcb_get_ring_sset_count(int stringset);
160 void hns_rcb_get_strings(int stringset, u8 *data, int index);
Dhns_dsaf_mac.h385 void (*get_strings)(u32 stringset, u8 *data);
387 int (*get_sset_count)(int stringset);
452 void hns_mac_get_strings(struct hns_mac_cb *mac_cb, int stringset, u8 *data);
453 int hns_mac_get_sset_count(struct hns_mac_cb *mac_cb, int stringset);
Dhns_ethtool.c894 static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings() argument
905 if (stringset == ETH_SS_TEST) { in hns_get_strings()
973 h->dev->ops->get_strings(h, stringset, (u8 *)buff); in hns_get_strings()
984 static int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count() argument
994 if (stringset == ETH_SS_TEST) { in hns_get_sset_count()
1004 } else if (stringset == ETH_SS_STATS) { in hns_get_sset_count()
1005 return (HNS_NET_STATS_CNT + ops->get_sset_count(h, stringset)); in hns_get_sset_count()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
Dethtool.c392 static int igbvf_get_sset_count(struct net_device *dev, int stringset) in igbvf_get_sset_count() argument
394 switch (stringset) { in igbvf_get_sset_count()
404 static void igbvf_get_strings(struct net_device *netdev, u32 stringset, in igbvf_get_strings() argument
410 switch (stringset) { in igbvf_get_strings()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c125 u32 stringset, u8 *data) in ipoib_get_strings() argument
130 switch (stringset) { in ipoib_get_strings()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw-ethtool.c146 u32 stringset, u8 *data) in dpaa2_switch_ethtool_get_strings() argument
150 switch (stringset) { in dpaa2_switch_ethtool_get_strings()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_ethtool.c88 static int qeth_get_sset_count(struct net_device *dev, int stringset) in qeth_get_sset_count() argument
92 switch (stringset) { in qeth_get_sset_count()
161 static void qeth_get_strings(struct net_device *dev, u32 stringset, u8 *data) in qeth_get_strings() argument
167 switch (stringset) { in qeth_get_strings()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/
Dqca_debug.c198 qcaspi_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in qcaspi_get_strings() argument
200 switch (stringset) { in qcaspi_get_strings()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dmesh.h58 uint32_t stringset, uint8_t *s);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c428 static int hns3_get_sset_count(struct net_device *netdev, int stringset) in hns3_get_sset_count() argument
436 switch (stringset) { in hns3_get_sset_count()
439 ops->get_sset_count(h, stringset)); in hns3_get_sset_count()
442 return ops->get_sset_count(h, stringset); in hns3_get_sset_count()
492 static void hns3_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns3_get_strings() argument
501 switch (stringset) { in hns3_get_strings()
504 ops->get_strings(h, stringset, (u8 *)buff); in hns3_get_strings()
507 ops->get_strings(h, stringset, data); in hns3_get_strings()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c178 static void rmnet_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in rmnet_get_strings() argument
180 switch (stringset) { in rmnet_get_strings()
/kernel/linux/linux-5.10/drivers/net/fjes/
Dfjes_ethtool.c86 u32 stringset, u8 *data) in fjes_get_strings() argument
93 switch (stringset) { in fjes_get_strings()
/kernel/linux/linux-5.10/net/batman-adv/
Dsoft-interface.c1004 static void batadv_get_strings(struct net_device *dev, u32 stringset, u8 *data) in batadv_get_strings() argument
1006 if (stringset == ETH_SS_STATS) in batadv_get_strings()
1021 static int batadv_get_sset_count(struct net_device *dev, int stringset) in batadv_get_sset_count() argument
1023 if (stringset == ETH_SS_STATS) in batadv_get_sset_count()

1234567