Lines Matching refs:stat_name
21 #define QEDE_RQSTAT_OFFSET(stat_name) \ argument
22 (offsetof(struct qede_rx_queue, stat_name))
23 #define QEDE_RQSTAT_STRING(stat_name) (#stat_name) argument
24 #define QEDE_RQSTAT(stat_name) \ argument
25 {QEDE_RQSTAT_OFFSET(stat_name), QEDE_RQSTAT_STRING(stat_name)}
43 #define QEDE_TQSTAT_OFFSET(stat_name) \ argument
44 (offsetof(struct qede_tx_queue, stat_name))
45 #define QEDE_TQSTAT_STRING(stat_name) (#stat_name) argument
46 #define QEDE_TQSTAT(stat_name) \ argument
47 {QEDE_TQSTAT_OFFSET(stat_name), QEDE_TQSTAT_STRING(stat_name)}
58 #define QEDE_STAT_OFFSET(stat_name, type, base) \ argument
59 (offsetof(type, stat_name) + (base))
60 #define QEDE_STAT_STRING(stat_name) (#stat_name) argument
61 #define _QEDE_STAT(stat_name, type, base, attr) \ argument
62 {QEDE_STAT_OFFSET(stat_name, type, base), \
63 QEDE_STAT_STRING(stat_name), \
65 #define QEDE_STAT(stat_name) \ argument
66 _QEDE_STAT(stat_name, struct qede_stats_common, 0, 0x0)
67 #define QEDE_PF_STAT(stat_name) \ argument
68 _QEDE_STAT(stat_name, struct qede_stats_common, 0, \
70 #define QEDE_PF_BB_STAT(stat_name) \ argument
71 _QEDE_STAT(stat_name, struct qede_stats_bb, \
74 #define QEDE_PF_AH_STAT(stat_name) \ argument
75 _QEDE_STAT(stat_name, struct qede_stats_ah, \