Home
last modified time | relevance | path

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

/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_PORT_STAT_DESC(stat_name) \ argument
15 IONIC_STAT_DESC(struct ionic_port_stats, stat_name)
17 #define IONIC_LIF_STAT_DESC(stat_name) \ argument
18 IONIC_STAT_DESC(struct ionic_lif_sw_stats, stat_name)
20 #define IONIC_TX_STAT_DESC(stat_name) \ argument
21 IONIC_STAT_DESC(struct ionic_tx_stats, stat_name)
[all …]
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c21 #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)}
[all …]
/drivers/net/ethernet/google/gve/
Dgve_ethtool.c238 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats() local
241 if (stat_name == 0) { in gve_get_ethtool_stats()
297 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats() local
300 if (stat_name == 0) { in gve_get_ethtool_stats()
Dgve_main.c1048 .stat_name = cpu_to_be32(TX_WAKE_CNT), in gve_handle_report_stats()
1053 .stat_name = cpu_to_be32(TX_STOP_CNT), in gve_handle_report_stats()
1058 .stat_name = cpu_to_be32(TX_FRAMES_SENT), in gve_handle_report_stats()
1063 .stat_name = cpu_to_be32(TX_BYTES_SENT), in gve_handle_report_stats()
1068 .stat_name = cpu_to_be32(TX_LAST_COMPLETION_PROCESSED), in gve_handle_report_stats()
1073 .stat_name = cpu_to_be32(TX_TIMEOUT_CNT), in gve_handle_report_stats()
1083 .stat_name = cpu_to_be32(RX_NEXT_EXPECTED_SEQUENCE), in gve_handle_report_stats()
1088 .stat_name = cpu_to_be32(RX_BUFFERS_POSTED), in gve_handle_report_stats()
Dgve_adminq.h192 __be32 stat_name; member
/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()
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c198 path->name, stat_name(path->status)); in path_onoff()
220 overlay->path->name, stat_name(overlay->status)); in overlay_set_onoff()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h511 #define Q_STATS_OFFSET32(stat_name) \ argument
512 (offsetof(struct bnx2x_eth_q_stats, stat_name) / 4)
1027 #define STATS_OFFSET32(stat_name) \ argument
1028 (offsetof(struct bnx2x_eth_stats, stat_name) / 4)
/drivers/net/ethernet/sfc/
Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
34 .name = #stat_name, \
/drivers/net/ethernet/sfc/falcon/
Dethtool.c31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
33 .name = #stat_name, \
/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c601 #define qtnf_sta_stat_avail(stat_name, bitn) \ in qtnf_cmd_sta_info_parse() argument
603 (offsetofend(struct qlink_sta_stats, stat_name) <= stats_len)) in qtnf_cmd_sta_info_parse()
2411 #define qtnf_chan_stat_avail(stat_name, bitn) \ in qtnf_cmd_resp_proc_chan_stat_info() argument
2413 (offsetofend(struct qlink_chan_stats, stat_name) <= stats_len)) in qtnf_cmd_resp_proc_chan_stat_info()