/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_stats.c | 55 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name) in emac_get_stat_by_name() argument 60 if (!strcmp(icssg_all_stats[i].name, stat_name)) in emac_get_stat_by_name() 64 netdev_err(emac->ndev, "Invalid stats %s\n", stat_name); in emac_get_stat_by_name()
|
H A D | icssg_prueth.h | 297 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 20 #define QEDE_RQSTAT_OFFSET(stat_name) \ argument 21 (offsetof(struct qede_rx_queue, stat_name)) 22 #define QEDE_RQSTAT_STRING(stat_name) (#stat_name) argument 23 #define QEDE_RQSTAT(stat_name) \ argument 24 {QEDE_RQSTAT_OFFSET(stat_name), QEDE_RQSTAT_STRING(stat_name)} 42 #define QEDE_TQSTAT_OFFSET(stat_name) \ argument 43 (offsetof(struct qede_tx_queue, stat_name)) 44 #define QEDE_TQSTAT_STRING(stat_name) (#stat_name) argument 45 #define QEDE_TQSTAT(stat_name) \ argument 46 {QEDE_TQSTAT_OFFSET(stat_name), QEDE_TQSTAT_STRING(stat_name)} [all …]
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_ethtool.c | 258 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats() local 261 if (stat_name == 0) { in gve_get_ethtool_stats() 334 u32 stat_name = be32_to_cpu(report_stats[stats_idx].stat_name); in gve_get_ethtool_stats() local 337 if (stat_name == 0) { in gve_get_ethtool_stats()
|
H A D | gve_main.c | 1948 .stat_name = cpu_to_be32(TX_WAKE_CNT), in gve_handle_report_stats() 1953 .stat_name = cpu_to_be32(TX_STOP_CNT), in gve_handle_report_stats() 1958 .stat_name = cpu_to_be32(TX_FRAMES_SENT), in gve_handle_report_stats() 1963 .stat_name = cpu_to_be32(TX_BYTES_SENT), in gve_handle_report_stats() 1968 .stat_name = cpu_to_be32(TX_LAST_COMPLETION_PROCESSED), in gve_handle_report_stats() 1973 .stat_name = cpu_to_be32(TX_TIMEOUT_CNT), in gve_handle_report_stats() 1983 .stat_name = cpu_to_be32(RX_NEXT_EXPECTED_SEQUENCE), in gve_handle_report_stats() 1988 .stat_name = cpu_to_be32(RX_BUFFERS_POSTED), in gve_handle_report_stats()
|
H A D | gve_adminq.h | 320 __be32 stat_name; member
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A 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; \
|
H A 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()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | veristat.c | 722 static int parse_stat(const char *stat_name, struct stat_specs *specs) in parse_stat() argument 726 size_t len = strlen(stat_name); in parse_stat() 734 if (len > 1 && (is_asc_sym(stat_name[len - 1]) || is_desc_sym(stat_name[len - 1]))) { in parse_stat() 736 is_asc = is_asc_sym(stat_name[len - 1]); in parse_stat() 740 if (!parse_stat_id_var(stat_name, len, &id, &var)) { in parse_stat() 741 fprintf(stderr, "Unrecognized stat name '%s'\n", stat_name); in parse_stat()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util_base.h | 421 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, 424 static inline uint64_t vm_get_stat(struct kvm_vm *vm, const char *stat_name) in vm_get_stat() argument 428 __vm_get_stat(vm, stat_name, &data, 1); in vm_get_stat()
|
/openbmc/linux/include/video/ |
H A D | mmp_disp.h | 123 static inline const char *stat_name(int stat) in stat_name() function
|
/openbmc/linux/drivers/video/fbdev/mmp/hw/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A 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)
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument 33 .name = #stat_name, \
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument 34 .name = #stat_name, \
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument 34 .name = #stat_name, \
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A 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() 2367 #define qtnf_chan_stat_avail(stat_name, bitn) \ in qtnf_cmd_resp_proc_chan_stat_info() argument 2369 (offsetofend(struct qlink_chan_stats, stat_name) <= stats_len)) in qtnf_cmd_resp_proc_chan_stat_info()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 2135 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, in __vm_get_stat() argument 2154 if (strcmp(desc->name, stat_name)) in __vm_get_stat()
|