Home
last modified time | relevance | path

Searched refs:ETH_GSTRING_LEN (Results 101 – 125 of 231) sorted by relevance

12345678910

/openbmc/linux/drivers/net/phy/
H A Daquantia_main.c190 strscpy(data + i * ETH_GSTRING_LEN, aqr107_hw_stats[i].name, in aqr107_get_strings()
191 ETH_GSTRING_LEN); in aqr107_get_strings()
H A Dadin.c752 strscpy(&data[i * ETH_GSTRING_LEN], in adin_get_strings()
753 adin_hw_stats[i].string, ETH_GSTRING_LEN); in adin_get_strings()
H A Dnxp-tja11xx.c418 strncpy(data + i * ETH_GSTRING_LEN, in tja11xx_get_strings()
419 tja11xx_hw_stats[i].string, ETH_GSTRING_LEN); in tja11xx_get_strings()
H A Dnxp-c45-tja11xx.c1160 strscpy(data + i * ETH_GSTRING_LEN, in nxp_c45_get_strings()
1161 common_hw_stats[i].name, ETH_GSTRING_LEN); in nxp_c45_get_strings()
1165 strscpy(data + i * ETH_GSTRING_LEN, in nxp_c45_get_strings()
1166 phy_data->stats[idx].name, ETH_GSTRING_LEN); in nxp_c45_get_strings()
H A Dbcm-phy-lib.c526 strscpy(data + i * ETH_GSTRING_LEN, in bcm_phy_get_strings()
527 bcm_phy_hw_stats[i].string, ETH_GSTRING_LEN); in bcm_phy_get_strings()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c122 char name[ETH_GSTRING_LEN];
3758 snprintf(data, ETH_GSTRING_LEN, "tx%d_packets", i); in ibmvnic_get_strings()
3759 data += ETH_GSTRING_LEN; in ibmvnic_get_strings()
3761 snprintf(data, ETH_GSTRING_LEN, "tx%d_bytes", i); in ibmvnic_get_strings()
3762 data += ETH_GSTRING_LEN; in ibmvnic_get_strings()
3765 data += ETH_GSTRING_LEN; in ibmvnic_get_strings()
3769 snprintf(data, ETH_GSTRING_LEN, "rx%d_packets", i); in ibmvnic_get_strings()
3770 data += ETH_GSTRING_LEN; in ibmvnic_get_strings()
3772 snprintf(data, ETH_GSTRING_LEN, "rx%d_bytes", i); in ibmvnic_get_strings()
3773 data += ETH_GSTRING_LEN; in ibmvnic_get_strings()
[all …]
/openbmc/u-boot/include/linux/
H A Dethtool.h247 #define ETH_GSTRING_LEN 32 macro
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c35 char name[ETH_GSTRING_LEN];
154 static const char nfp_tlv_stat_names[][ETH_GSTRING_LEN] = {
785 char name[ETH_GSTRING_LEN];
1003 memcpy(data, nfp_tlv_stat_names[id], ETH_GSTRING_LEN); in nfp_vnic_get_tlv_stats_strings()
1004 data += ETH_GSTRING_LEN; in nfp_vnic_get_tlv_stats_strings()
/openbmc/linux/drivers/net/dsa/
H A Dbcm_sf2_cfp.c1287 char buf[ETH_GSTRING_LEN]; in bcm_sf2_cfp_get_strings()
1299 strscpy(data + iter * ETH_GSTRING_LEN, in bcm_sf2_cfp_get_strings()
1300 buf, ETH_GSTRING_LEN); in bcm_sf2_cfp_get_strings()
H A Drzn1_a5psw.c22 const char name[ETH_GSTRING_LEN];
796 memcpy(data + u * ETH_GSTRING_LEN, a5psw_stats[u].name, in a5psw_get_strings()
797 ETH_GSTRING_LEN); in a5psw_get_strings()
/openbmc/linux/drivers/net/dsa/xrs700x/
H A Dxrs700x.c95 strscpy(data, xrs700x_mibs[i].name, ETH_GSTRING_LEN); in xrs700x_get_strings()
96 data += ETH_GSTRING_LEN; in xrs700x_get_strings()
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c172 static const char rmnet_gstrings_stats[][ETH_GSTRING_LEN] = {
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c384 memcpy(data + j * ETH_GSTRING_LEN, s->stat_string, in bcm_sysport_get_strings()
385 ETH_GSTRING_LEN); in bcm_sysport_get_strings()
391 memcpy(data + j * ETH_GSTRING_LEN, buf, in bcm_sysport_get_strings()
392 ETH_GSTRING_LEN); in bcm_sysport_get_strings()
396 memcpy(data + j * ETH_GSTRING_LEN, buf, in bcm_sysport_get_strings()
397 ETH_GSTRING_LEN); in bcm_sysport_get_strings()
H A Dbcm63xx_enet.c1243 char stat_string[ETH_GSTRING_LEN];
1347 memcpy(data + i * ETH_GSTRING_LEN, in bcm_enet_get_strings()
1349 ETH_GSTRING_LEN); in bcm_enet_get_strings()
2512 memcpy(data + i * ETH_GSTRING_LEN, in bcm_enetsw_get_strings()
2514 ETH_GSTRING_LEN); in bcm_enetsw_get_strings()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c33 static const char cxgb4_selftest_strings[CXGB4_ETHTOOL_MAX_TEST][ETH_GSTRING_LEN] = {
45 static const char stats_strings[][ETH_GSTRING_LEN] = {
131 static char adapter_stats_strings[][ETH_GSTRING_LEN] = {
139 static char loopback_stats_strings[][ETH_GSTRING_LEN] = {
165 static const char cxgb4_priv_flags_strings[][ETH_GSTRING_LEN] = {
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c522 data[ETH_GSTRING_LEN - 1] = '\0'; in hns3_update_strings()
527 size_left = (ETH_GSTRING_LEN - 1) - n1; in hns3_update_strings()
531 data += ETH_GSTRING_LEN; in hns3_update_strings()
575 snprintf(buff, ETH_GSTRING_LEN, "%s", in hns3_get_strings()
577 buff += ETH_GSTRING_LEN; in hns3_get_strings()
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_selftests.c15 static const char tsnep_test_strings[][ETH_GSTRING_LEN] = {
22 #define TSNEP_TEST_COUNT (sizeof(tsnep_test_strings) / ETH_GSTRING_LEN)
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c337 memcpy(data + i * ETH_GSTRING_LEN, in lan966x_get_strings()
338 lan966x->stats_layout[i].name, ETH_GSTRING_LEN); in lan966x_get_strings()
/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c13 char stat_string[ETH_GSTRING_LEN];
78 static const char e1000_gstrings_test[][ETH_GSTRING_LEN] = {
1852 ETH_GSTRING_LEN); in e1000_get_strings()
1853 p += ETH_GSTRING_LEN; in e1000_get_strings()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c51 static const char stat_gstrings[][ETH_GSTRING_LEN] = {
120 memcpy(buf, stat_gstrings, GFAR_STATS_LEN * ETH_GSTRING_LEN); in gfar_gstrings()
123 GFAR_EXTRA_STATS_LEN * ETH_GSTRING_LEN); in gfar_gstrings()
/openbmc/linux/net/dsa/
H A Dmaster.c157 int len = ETH_GSTRING_LEN; in dsa_master_get_strings()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.h404 const char desc[ETH_GSTRING_LEN];
/openbmc/linux/drivers/net/
H A Difb.c64 char desc[ETH_GSTRING_LEN];
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1297 char str[ETH_GSTRING_LEN];
1331 ETH_GSTRING_LEN); in mlxsw_sp1_get_stats_strings()
1332 *p += ETH_GSTRING_LEN; in mlxsw_sp1_get_stats_strings()
/openbmc/linux/net/ethtool/
H A Dioctl.c210 __ETHTOOL_LINK_MODE_MASK_NBITS * ETH_GSTRING_LEN); in __ethtool_get_strings()
1951 if (ret > S32_MAX / ETH_GSTRING_LEN) in ethtool_get_strings()
1958 data = vzalloc(array_size(gstrings.len, ETH_GSTRING_LEN)); in ethtool_get_strings()
1973 array_size(gstrings.len, ETH_GSTRING_LEN))) in ethtool_get_strings()
1987 vsnprintf(*data, ETH_GSTRING_LEN, fmt, args); in ethtool_sprintf()
1990 *data += ETH_GSTRING_LEN; in ethtool_sprintf()

12345678910