#define pr_fmt(fmt) …
#include "bnx2x_stats.h"
#include "bnx2x_cmn.h"
#include "bnx2x_sriov.h"
static inline long bnx2x_hilo(u32 *hiref)
{ … }
static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp)
{ … }
static void bnx2x_dp_stats(struct bnx2x *bp)
{ … }
static void bnx2x_storm_stats_post(struct bnx2x *bp)
{ … }
static void bnx2x_hw_stats_post(struct bnx2x *bp)
{ … }
static void bnx2x_stats_comp(struct bnx2x *bp)
{ … }
static void bnx2x_stats_pmf_update(struct bnx2x *bp)
{ … }
static void bnx2x_port_stats_init(struct bnx2x *bp)
{ … }
static void bnx2x_func_stats_init(struct bnx2x *bp)
{ … }
static void bnx2x_stats_start(struct bnx2x *bp)
{ … }
static void bnx2x_stats_pmf_start(struct bnx2x *bp)
{ … }
static void bnx2x_stats_restart(struct bnx2x *bp)
{ … }
static void bnx2x_bmac_stats_update(struct bnx2x *bp)
{ … }
static void bnx2x_mstat_stats_update(struct bnx2x *bp)
{ … }
static void bnx2x_emac_stats_update(struct bnx2x *bp)
{ … }
static int bnx2x_hw_stats_update(struct bnx2x *bp)
{ … }
static int bnx2x_storm_stats_validate_counters(struct bnx2x *bp)
{ … }
static int bnx2x_storm_stats_update(struct bnx2x *bp)
{ … }
static void bnx2x_net_stats_update(struct bnx2x *bp)
{ … }
static void bnx2x_drv_stats_update(struct bnx2x *bp)
{ … }
static bool bnx2x_edebug_stats_stopped(struct bnx2x *bp)
{ … }
static void bnx2x_stats_update(struct bnx2x *bp)
{ … }
static void bnx2x_port_stats_stop(struct bnx2x *bp)
{ … }
static void bnx2x_stats_stop(struct bnx2x *bp)
{ … }
static void bnx2x_stats_do_nothing(struct bnx2x *bp)
{ … }
static const struct { … } bnx2x_stats_stm[STATS_STATE_MAX][STATS_EVENT_MAX] = …;
void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event)
{ … }
static void bnx2x_port_stats_base_init(struct bnx2x *bp)
{ … }
static void bnx2x_prep_fw_stats_req(struct bnx2x *bp)
{ … }
void bnx2x_memset_stats(struct bnx2x *bp)
{ … }
void bnx2x_stats_init(struct bnx2x *bp)
{ … }
void bnx2x_save_statistics(struct bnx2x *bp)
{ … }
void bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats,
u32 stats_type)
{ … }
int bnx2x_stats_safe_exec(struct bnx2x *bp,
void (func_to_exec)(void *cookie),
void *cookie)
{ … }