Home
last modified time | relevance | path

Searched refs:stat_name (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_stats.h7 #define IONIC_STAT_TO_OFFSET(type, stat_name) (offsetof(type, stat_name)) argument
9 #define IONIC_STAT_DESC(type, stat_name) { \ argument
10 .name = #stat_name, \
11 .offset = IONIC_STAT_TO_OFFSET(type, stat_name) \
14 #define IONIC_LIF_STAT_DESC(stat_name) \ argument
15 IONIC_STAT_DESC(struct ionic_lif_sw_stats, stat_name)
17 #define IONIC_TX_STAT_DESC(stat_name) \ argument
18 IONIC_STAT_DESC(struct ionic_tx_stats, stat_name)
20 #define IONIC_RX_STAT_DESC(stat_name) \ argument
21 IONIC_STAT_DESC(struct ionic_rx_stats, stat_name)
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c44 #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)}
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c427 #define RMON_UPDATE(mac, name, stat_name) \ argument
432 (mac)->stats.stat_name = (u64)(val0 & 0xffff) | \
435 ((mac)->stats.stat_name & \
439 (mac)->stats.stat_name += 1ULL << 40; \
Dvsc7326.c593 #define HW_STAT(reg, stat_name) \ in port_stats_update() argument
594 { reg, (&((struct cmac_statistics *)NULL)->stat_name) - (u64 *)NULL } in port_stats_update()
/Linux-v5.4/include/video/
Dmmp_disp.h123 static inline const char *stat_name(int stat) in stat_name() function
/Linux-v5.4/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c191 path->name, stat_name(path->status)); in path_onoff()
213 overlay->path->name, stat_name(overlay->status)); in overlay_set_onoff()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h505 #define Q_STATS_OFFSET32(stat_name) \ argument
506 (offsetof(struct bnx2x_eth_q_stats, stat_name) / 4)
1021 #define STATS_OFFSET32(stat_name) \ argument
1022 (offsetof(struct bnx2x_eth_stats, stat_name) / 4)
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dethtool.c31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
33 .name = #stat_name, \
/Linux-v5.4/drivers/net/ethernet/sfc/
Dethtool.c31 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
33 .name = #stat_name, \
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c564 #define qtnf_sta_stat_avail(stat_name, bitn) \ in qtnf_cmd_sta_info_parse() argument
566 (offsetofend(struct qlink_sta_stats, stat_name) <= stats_len)) in qtnf_cmd_sta_info_parse()