/drivers/net/ethernet/pensando/ionic/ |
D | ionic_stats.h | 7 #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/ |
D | qede_ethtool.c | 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)} [all …]
|
/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 238 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()
|
D | gve_main.c | 1048 .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()
|
D | gve_adminq.h | 192 __be32 stat_name; member
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | pm3393.c | 427 #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; \
|
D | vsc7326.c | 593 #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/ |
D | mmp_ctrl.c | 198 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/ |
D | bnx2x.h | 511 #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/ |
D | ethtool_common.c | 32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument 34 .name = #stat_name, \
|
/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument 33 .name = #stat_name, \
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 601 #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()
|