Home
last modified time | relevance | path

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

/drivers/net/fjes/
Dfjes_ethtool.c33 int sizeof_stat; member
39 .sizeof_stat = FIELD_SIZEOF(struct fjes_adapter, stat), \
61 data[i] = (fjes_gstrings_stats[i].sizeof_stat == sizeof(u64)) in fjes_get_ethtool_stats()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c27 int sizeof_stat; member
33 .sizeof_stat = FIELD_SIZEOF(struct net_device_stats, _net_stat), \
56 .sizeof_stat = FIELD_SIZEOF(struct fm10k_intfc, _stat), \
108 .sizeof_stat = FIELD_SIZEOF(struct fm10k_mbx_info, _stat), \
286 *(data++) = (fm10k_gstrings_net_stats[i].sizeof_stat == in fm10k_get_ethtool_stats()
293 *(data++) = (fm10k_gstrings_global_stats[i].sizeof_stat == in fm10k_get_ethtool_stats()
300 *(data++) = (fm10k_gstrings_debug_stats[i].sizeof_stat == in fm10k_get_ethtool_stats()
307 *(data++) = (fm10k_gstrings_mbx_stats[i].sizeof_stat == in fm10k_get_ethtool_stats()
315 *(data++) = (fm10k_gstrings_pf_stats[i].sizeof_stat == in fm10k_get_ethtool_stats()
333 *(data++) = (fm10k_gstrings_mbx_stats[j].sizeof_stat == in fm10k_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c48 int sizeof_stat; member
56 .sizeof_stat = FIELD_SIZEOF(struct ixgbevf_adapter, m), \
63 .sizeof_stat = FIELD_SIZEOF(struct ixgbevf_adapter, m), \
444 if (ixgbe_gstrings_stats[i].sizeof_stat == sizeof(u64)) { in ixgbevf_get_ethtool_stats()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c40 int sizeof_stat; member
406 data[i] = ((igbvf_gstrings_stats[i].sizeof_stat == in igbvf_get_ethtool_stats()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c29 int sizeof_stat; member
266 data[i] = (sxgbe_gstrings_stats[i].sizeof_stat == sizeof(u64)) in sxgbe_get_ethtool_stats()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c42 int sizeof_stat; member
490 data[j++] = (stmmac_mmc[i].sizeof_stat == in stmmac_get_ethtool_stats()
503 data[j++] = (stmmac_gstrings_stats[i].sizeof_stat == in stmmac_get_ethtool_stats()
/drivers/net/dsa/
Dbcm_sf2.h148 u8 sizeof_stat; member
Dmv88e6xxx.h425 int sizeof_stat; member
Dmv88e6xxx.c703 if (s->sizeof_stat == 4) { in _mv88e6xxx_get_ethtool_stat()
712 if (s->sizeof_stat == 8) in _mv88e6xxx_get_ethtool_stat()
Dbcm_sf2.c122 if (s->sizeof_stat == 8) in bcm_sf2_sw_get_ethtool_stats()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c34 int sizeof_stat; member
40 .sizeof_stat = FIELD_SIZEOF(_type, _stat), \
1361 data[i++] = (i40e_gstrings_net_stats[j].sizeof_stat == in i40e_get_ethtool_stats()
1366 data[i++] = (i40e_gstrings_misc_stats[j].sizeof_stat == in i40e_get_ethtool_stats()
1372 data[i++] = (i40e_gstrings_fcoe_stats[j].sizeof_stat == in i40e_get_ethtool_stats()
1411 data[i++] = (i40e_gstrings_veb_stats[j].sizeof_stat == in i40e_get_ethtool_stats()
1423 data[i++] = (i40e_gstrings_stats[j].sizeof_stat == in i40e_get_ethtool_stats()
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c39 int sizeof_stat; member
373 *data++ = (ql_gstrings_stats[index].sizeof_stat == in ql_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c42 int sizeof_stat; member
611 data[i] = (ixgb_gstrings_stats[i].sizeof_stat == in ixgb_get_ethtool_stats()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c36 int sizeof_stat; member
684 (netxen_nic_gstrings_stats[index].sizeof_stat == in netxen_nic_get_ethtool_stats()
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c1253 int sizeof_stat; member
1383 if (s->sizeof_stat == sizeof(u64)) in update_mib_counters()
1431 data[i] = (s->sizeof_stat == sizeof(u64)) ? in bcm_enet_get_ethtool_stats()
2639 if (s->sizeof_stat == sizeof(u64)) { in bcm_enetsw_get_ethtool_stats()
2658 data[i] = (s->sizeof_stat == sizeof(u64)) ? in bcm_enetsw_get_ethtool_stats()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c40 int sizeof_stat; member
47 .sizeof_stat = sizeof(((struct e1000_adapter *)0)->m), \
52 .sizeof_stat = sizeof(((struct rtnl_link_stats64 *)0)->m), \
2076 data[i] = (e1000_gstrings_stats[i].sizeof_stat == in e1000_get_ethtool_stats()
/drivers/net/usb/
Dcdc_ncm.c71 int sizeof_stat; member
77 .sizeof_stat = sizeof(((struct cdc_ncm_ctx *)0)->m), \
113 data[i] = (cdc_ncm_gstrings_stats[i].sizeof_stat == sizeof(u64)) ? *(u64 *)p : *(u32 *)p; in cdc_ncm_get_ethtool_stats()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c43 int sizeof_stat; member
49 .sizeof_stat = FIELD_SIZEOF(struct igb_adapter, _stat), \
98 .sizeof_stat = FIELD_SIZEOF(struct rtnl_link_stats64, _net_stat), \
2285 data[i] = (igb_gstrings_stats[i].sizeof_stat == in igb_get_ethtool_stats()
2290 data[i] = (igb_gstrings_net_stats[j].sizeof_stat == in igb_get_ethtool_stats()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c19 int sizeof_stat; member
1358 size = qlcnic_gstrings_stats[index].sizeof_stat; in qlcnic_get_ethtool_stats()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c35 int sizeof_stat; member
1847 if (stat->sizeof_stat == sizeof(u64)) in e1000_get_ethtool_stats()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1443 int sizeof_stat; member
1741 data[i] = (stat->sizeof_stat == 8) ? in mv643xx_eth_get_ethtool_stats()
/drivers/net/ethernet/atheros/atlx/
Datl1.c3156 int sizeof_stat; member
3204 data[i] = (atl1_gstrings_stats[i].sizeof_stat == in atl1_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c53 int sizeof_stat; member
1118 data[i] = (ixgbe_gstrings_stats[i].sizeof_stat == in ixgbe_get_ethtool_stats()
/drivers/net/ethernet/ti/
Dcpsw.c409 int sizeof_stat; member