Lines Matching refs:stat_name
44 #define QEDE_RQSTAT_OFFSET(stat_name) \ argument
45 (offsetof(struct qede_rx_queue, stat_name))
46 #define QEDE_RQSTAT_STRING(stat_name) (#stat_name) argument
47 #define QEDE_RQSTAT(stat_name) \ argument
48 {QEDE_RQSTAT_OFFSET(stat_name), QEDE_RQSTAT_STRING(stat_name)}
66 #define QEDE_TQSTAT_OFFSET(stat_name) \ argument
67 (offsetof(struct qede_tx_queue, stat_name))
68 #define QEDE_TQSTAT_STRING(stat_name) (#stat_name) argument
69 #define QEDE_TQSTAT(stat_name) \ argument
70 {QEDE_TQSTAT_OFFSET(stat_name), QEDE_TQSTAT_STRING(stat_name)}
81 #define QEDE_STAT_OFFSET(stat_name, type, base) \ argument
82 (offsetof(type, stat_name) + (base))
83 #define QEDE_STAT_STRING(stat_name) (#stat_name) argument
84 #define _QEDE_STAT(stat_name, type, base, attr) \ argument
85 {QEDE_STAT_OFFSET(stat_name, type, base), \
86 QEDE_STAT_STRING(stat_name), \
88 #define QEDE_STAT(stat_name) \ argument
89 _QEDE_STAT(stat_name, struct qede_stats_common, 0, 0x0)
90 #define QEDE_PF_STAT(stat_name) \ argument
91 _QEDE_STAT(stat_name, struct qede_stats_common, 0, \
93 #define QEDE_PF_BB_STAT(stat_name) \ argument
94 _QEDE_STAT(stat_name, struct qede_stats_bb, \
97 #define QEDE_PF_AH_STAT(stat_name) \ argument
98 _QEDE_STAT(stat_name, struct qede_stats_ah, \