Home
last modified time | relevance | path

Searched refs:stat_offset (Results 1 – 24 of 24) sorted by relevance

/drivers/net/ethernet/broadcom/
Dbcmsysport.h576 .stat_offset = offsetof(struct net_device_stats, m), \
583 .stat_offset = offsetof(struct bcm_sysport_priv, m), \
594 .stat_offset = offsetof(struct bcm_sysport_priv, m), \
602 .stat_offset = offsetof(struct bcm_sysport_priv, m), \
610 int stat_offset; member
Dbcm63xx_enet.c1252 int stat_offset; member
1380 p = (char *)priv + s->stat_offset; in update_mib_counters()
1429 p += s->stat_offset; in bcm_enet_get_ethtool_stats()
2625 p = (char *)priv + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
2642 p = (char *)&netdev->stats + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
2644 p = (char *)priv + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
Dbcmsysport.c366 p = (char *)priv + s->stat_offset; in bcm_sysport_update_mib_counters()
391 p += s->stat_offset; in bcm_sysport_get_stats()
/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c35 int stat_offset; member
40 .stat_offset = offsetof(struct i40evf_adapter, _stat) \
121 p = (char *)adapter + i40evf_gstrings_stats[i].stat_offset; in i40evf_get_ethtool_stats()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c28 int stat_offset; member
34 .stat_offset = offsetof(struct net_device_stats, _net_stat) \
57 .stat_offset = offsetof(struct fm10k_intfc, _stat) \
181 p = (char *)net_stats + fm10k_gstrings_net_stats[i].stat_offset; in fm10k_get_ethtool_stats()
187 p = (char *)interface + fm10k_gstrings_stats[i].stat_offset; in fm10k_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c50 int stat_offset; member
58 .stat_offset = offsetof(struct ixgbevf_adapter, m), \
65 .stat_offset = offsetof(struct ixgbevf_adapter, m), \
436 char *p = base + ixgbe_gstrings_stats[i].stat_offset; in ixgbevf_get_ethtool_stats()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c127 int stat_offset; member
208 stat = (u8 *)pdata + xgbe_gstring_stats[i].stat_offset; in xgbe_get_ethtool_stats()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c43 int stat_offset; member
407 igbvf_gstrings_stats[i].stat_offset; in igbvf_get_ethtool_stats()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c30 int stat_offset; member
265 p = (char *)priv + sxgbe_gstrings_stats[i].stat_offset; in sxgbe_get_ethtool_stats()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c43 int stat_offset; member
488 p = (char *)priv + stmmac_mmc[i].stat_offset; in stmmac_get_ethtool_stats()
502 char *p = (char *)priv + stmmac_gstrings_stats[i].stat_offset; in stmmac_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c43 int stat_offset; member
606 ixgb_gstrings_stats[i].stat_offset; in ixgb_get_ethtool_stats()
610 ixgb_gstrings_stats[i].stat_offset; in ixgb_get_ethtool_stats()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c35 int stat_offset; member
41 .stat_offset = offsetof(_type, _stat) \
1135 p = (char *)net_stats + i40e_gstrings_net_stats[j].stat_offset; in i40e_get_ethtool_stats()
1140 p = (char *)vsi + i40e_gstrings_misc_stats[j].stat_offset; in i40e_get_ethtool_stats()
1146 p = (char *)vsi + i40e_gstrings_fcoe_stats[j].stat_offset; in i40e_get_ethtool_stats()
1183 p += i40e_gstrings_veb_stats[j].stat_offset; in i40e_get_ethtool_stats()
1189 p = (char *)pf + i40e_gstrings_stats[j].stat_offset; in i40e_get_ethtool_stats()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c494 int stat_offset; member
503 .stat_offset = offsetof(struct net_device_stats, m), \
510 .stat_offset = offsetof(struct bcmgenet_priv, m), \
521 .stat_offset = offsetof(struct bcmgenet_priv, m), \
734 p = (char *)priv + s->stat_offset; in bcmgenet_update_mib_counters()
758 p += s->stat_offset; in bcmgenet_get_ethtool_stats()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c40 int stat_offset; member
372 ql_gstrings_stats[index].stat_offset; in ql_get_ethtool_stats()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c41 int stat_offset; member
48 .stat_offset = offsetof(struct e1000_adapter, m) }
53 .stat_offset = offsetof(struct rtnl_link_stats64, m) }
2044 e1000_gstrings_stats[i].stat_offset; in e1000_get_ethtool_stats()
2048 e1000_gstrings_stats[i].stat_offset; in e1000_get_ethtool_stats()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c37 int stat_offset; member
684 netxen_nic_gstrings_stats[index].stat_offset; in netxen_nic_get_ethtool_stats()
/drivers/net/usb/
Dcdc_ncm.c71 int stat_offset; member
77 .stat_offset = offsetof(struct cdc_ncm_ctx, m) }
111 p = (char *)ctx + cdc_ncm_gstrings_stats[i].stat_offset; in cdc_ncm_get_ethtool_stats()
/drivers/net/ethernet/calxeda/
Dxgmac.c1581 int stat_offset; member
1624 xgmac_gstrings_stats[i].stat_offset); in xgmac_get_ethtool_stats()
1627 xgmac_gstrings_stats[i].stat_offset); in xgmac_get_ethtool_stats()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c44 int stat_offset; member
50 .stat_offset = offsetof(struct igb_adapter, _stat) \
99 .stat_offset = offsetof(struct rtnl_link_stats64, _net_stat) \
2266 p = (char *)adapter + igb_gstrings_stats[i].stat_offset; in igb_get_ethtool_stats()
2271 p = (char *)net_stats + igb_gstrings_net_stats[j].stat_offset; in igb_get_ethtool_stats()
/drivers/net/ethernet/ti/
Dcpsw.c416 int stat_offset; member
1036 cpsw_gstrings_stats[i].stat_offset); in cpsw_get_ethtool_stats()
1042 cpsw_gstrings_stats[i].stat_offset; in cpsw_get_ethtool_stats()
1048 cpsw_gstrings_stats[i].stat_offset; in cpsw_get_ethtool_stats()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c35 int stat_offset; member
1836 p = (char *)netdev + stat->stat_offset; in e1000_get_ethtool_stats()
1839 p = (char *)adapter + stat->stat_offset; in e1000_get_ethtool_stats()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c20 int stat_offset; member
1354 p = (char *)adapter + qlcnic_gstrings_stats[index].stat_offset; in qlcnic_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c54 int stat_offset; member
1098 ixgbe_gstrings_stats[i].stat_offset; in ixgbe_get_ethtool_stats()
1102 ixgbe_gstrings_stats[i].stat_offset; in ixgbe_get_ethtool_stats()
/drivers/net/ethernet/atheros/atlx/
Datl1.c3157 int stat_offset; member
3203 p = (char *)adapter+atl1_gstrings_stats[i].stat_offset; in atl1_get_ethtool_stats()