/linux-6.1.9/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 …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 242 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats() local 245 if (stat_name == 0) { in gve_get_ethtool_stats() 305 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats() local 308 if (stat_name == 0) { in gve_get_ethtool_stats()
|
D | gve_main.c | 1280 .stat_name = cpu_to_be32(TX_WAKE_CNT), in gve_handle_report_stats() 1285 .stat_name = cpu_to_be32(TX_STOP_CNT), in gve_handle_report_stats() 1290 .stat_name = cpu_to_be32(TX_FRAMES_SENT), in gve_handle_report_stats() 1295 .stat_name = cpu_to_be32(TX_BYTES_SENT), in gve_handle_report_stats() 1300 .stat_name = cpu_to_be32(TX_LAST_COMPLETION_PROCESSED), in gve_handle_report_stats() 1305 .stat_name = cpu_to_be32(TX_TIMEOUT_CNT), in gve_handle_report_stats() 1315 .stat_name = cpu_to_be32(RX_NEXT_EXPECTED_SEQUENCE), in gve_handle_report_stats() 1320 .stat_name = cpu_to_be32(RX_BUFFERS_POSTED), in gve_handle_report_stats()
|
D | gve_adminq.h | 264 __be32 stat_name; member
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/ |
D | pm3393.c | 418 #define RMON_UPDATE(mac, name, stat_name) \ argument 423 (mac)->stats.stat_name = (u64)(val0 & 0xffff) | \ 426 ((mac)->stats.stat_name & \ 430 (mac)->stats.stat_name += 1ULL << 40; \
|
D | vsc7326.c | 593 #define HW_STAT(reg, stat_name) \ in port_stats_update() argument 594 { reg, offsetof(struct cmac_statistics, stat_name) / sizeof(u64) } in port_stats_update()
|
/linux-6.1.9/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 360 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, 363 static inline uint64_t vm_get_stat(struct kvm_vm *vm, const char *stat_name) in vm_get_stat() argument 367 __vm_get_stat(vm, stat_name, &data, 1); in vm_get_stat()
|
/linux-6.1.9/include/video/ |
D | mmp_disp.h | 123 static inline const char *stat_name(int stat) in stat_name() function
|
/linux-6.1.9/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()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | veristat.c | 415 static int parse_stat(const char *stat_name, struct stat_specs *specs) in parse_stat() argument 428 if (!def->names[i] || strcmp(def->names[i], stat_name) != 0) in parse_stat() 439 fprintf(stderr, "Unrecognized stat name '%s'\n", stat_name); in parse_stat()
|
/linux-6.1.9/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)
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.c | 32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument 34 .name = #stat_name, \
|
/linux-6.1.9/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, \
|
/linux-6.1.9/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, \
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 589 #define qtnf_sta_stat_avail(stat_name, bitn) \ in qtnf_cmd_sta_info_parse() argument 591 (offsetofend(struct qlink_sta_stats, stat_name) <= stats_len)) in qtnf_cmd_sta_info_parse() 2366 #define qtnf_chan_stat_avail(stat_name, bitn) \ in qtnf_cmd_resp_proc_chan_stat_info() argument 2368 (offsetofend(struct qlink_chan_stats, stat_name) <= stats_len)) in qtnf_cmd_resp_proc_chan_stat_info()
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1996 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, in __vm_get_stat() argument 2015 if (strcmp(desc->name, stat_name)) in __vm_get_stat()
|