Home
last modified time | relevance | path

Searched refs:full_stats (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dnic_common.h247 static inline size_t efx_nic_update_stats_atomic(struct efx_nic *efx, u64 *full_stats, in efx_nic_update_stats_atomic() argument
251 return efx->type->update_stats_atomic(efx, full_stats, core_stats); in efx_nic_update_stats_atomic()
252 return efx->type->update_stats(efx, full_stats, core_stats); in efx_nic_update_stats_atomic()
H A Def100_nic.c544 static size_t ef100_update_stats_common(struct efx_nic *efx, u64 *full_stats, in ef100_update_stats_common() argument
554 if (full_stats) { in ef100_update_stats_common()
557 *full_stats++ = stats[index]; in ef100_update_stats_common()
589 u64 *full_stats, in ef100_update_stats() argument
609 return ef100_update_stats_common(efx, full_stats, core_stats); in ef100_update_stats()
H A Dsiena.c589 static size_t siena_update_nic_stats(struct efx_nic *efx, u64 *full_stats, in siena_update_nic_stats() argument
604 if (full_stats) in siena_update_nic_stats()
605 memcpy(full_stats, stats, sizeof(u64) * SIENA_STAT_COUNT); in siena_update_nic_stats()
H A Def10.c1750 static size_t efx_ef10_update_stats_common(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_common() argument
1760 if (full_stats) { in efx_ef10_update_stats_common()
1763 *full_stats++ = stats[index]; in efx_ef10_update_stats_common()
1819 static size_t efx_ef10_update_stats_pf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_pf() argument
1856 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_pf()
1926 static size_t efx_ef10_update_stats_vf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_vf() argument
1932 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_vf()
1935 static size_t efx_ef10_update_stats_atomic_vf(struct efx_nic *efx, u64 *full_stats, in efx_ef10_update_stats_atomic_vf() argument
1944 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_atomic_vf()
H A Dnet_driver.h1320 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats,
1322 size_t (*update_stats_atomic)(struct efx_nic *efx, u64 *full_stats,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Dnet_driver.h1061 size_t (*update_stats)(struct ef4_nic *efx, u64 *full_stats,
H A Dfalcon.c2573 static size_t falcon_update_nic_stats(struct ef4_nic *efx, u64 *full_stats, in falcon_update_nic_stats() argument
2603 if (full_stats) in falcon_update_nic_stats()
2604 memcpy(full_stats, stats, sizeof(u64) * FALCON_STAT_COUNT); in falcon_update_nic_stats()