/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 1437 struct qib_verbs_counters cntrs; in pma_get_portcounters() local 1440 qib_get_counters(ppd, &cntrs); in pma_get_portcounters() 1443 cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; in pma_get_portcounters() 1444 cntrs.link_error_recovery_counter -= in pma_get_portcounters() 1446 cntrs.link_downed_counter -= ibp->z_link_downed_counter; in pma_get_portcounters() 1447 cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; in pma_get_portcounters() 1448 cntrs.port_rcv_remphys_errors -= ibp->z_port_rcv_remphys_errors; in pma_get_portcounters() 1449 cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; in pma_get_portcounters() 1450 cntrs.port_xmit_data -= ibp->z_port_xmit_data; in pma_get_portcounters() 1451 cntrs in pma_get_portcounters() 1534 struct qib_verbs_counters cntrs; pma_get_portcounters_cong() local 1712 struct qib_verbs_counters cntrs; pma_set_portcounters() local 1774 struct qib_verbs_counters cntrs; pma_set_portcounters_cong() local [all...] |
H A D | qib_verbs.c | 1071 * @cntrs: counters are placed here 1076 struct qib_verbs_counters *cntrs) in qib_get_counters() 1085 cntrs->symbol_error_counter = in qib_get_counters() 1087 cntrs->link_error_recovery_counter = in qib_get_counters() 1094 cntrs->link_downed_counter = in qib_get_counters() 1096 cntrs->port_rcv_errors = in qib_get_counters() 1106 cntrs->port_rcv_errors += in qib_get_counters() 1108 cntrs->port_rcv_errors += in qib_get_counters() 1110 cntrs->port_rcv_remphys_errors = in qib_get_counters() 1112 cntrs in qib_get_counters() 1075 qib_get_counters(struct qib_pportdata *ppd, struct qib_verbs_counters *cntrs) qib_get_counters() argument 1390 struct qib_verbs_counters cntrs; init_ibport() local [all...] |
H A D | qib_7220.h | 48 u64 *cntrs; member
|
H A D | qib_verbs.h | 266 struct qib_verbs_counters *cntrs);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 1437 struct qib_verbs_counters cntrs; in pma_get_portcounters() local 1440 qib_get_counters(ppd, &cntrs); in pma_get_portcounters() 1443 cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; in pma_get_portcounters() 1444 cntrs.link_error_recovery_counter -= in pma_get_portcounters() 1446 cntrs.link_downed_counter -= ibp->z_link_downed_counter; in pma_get_portcounters() 1447 cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; in pma_get_portcounters() 1448 cntrs.port_rcv_remphys_errors -= ibp->z_port_rcv_remphys_errors; in pma_get_portcounters() 1449 cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; in pma_get_portcounters() 1450 cntrs.port_xmit_data -= ibp->z_port_xmit_data; in pma_get_portcounters() 1451 cntrs in pma_get_portcounters() 1534 struct qib_verbs_counters cntrs; pma_get_portcounters_cong() local 1712 struct qib_verbs_counters cntrs; pma_set_portcounters() local 1774 struct qib_verbs_counters cntrs; pma_set_portcounters_cong() local [all...] |
H A D | qib_verbs.c | 1071 * @cntrs: counters are placed here 1076 struct qib_verbs_counters *cntrs) in qib_get_counters() 1085 cntrs->symbol_error_counter = in qib_get_counters() 1087 cntrs->link_error_recovery_counter = in qib_get_counters() 1094 cntrs->link_downed_counter = in qib_get_counters() 1096 cntrs->port_rcv_errors = in qib_get_counters() 1106 cntrs->port_rcv_errors += in qib_get_counters() 1108 cntrs->port_rcv_errors += in qib_get_counters() 1110 cntrs->port_rcv_remphys_errors = in qib_get_counters() 1112 cntrs in qib_get_counters() 1075 qib_get_counters(struct qib_pportdata *ppd, struct qib_verbs_counters *cntrs) qib_get_counters() argument 1390 struct qib_verbs_counters cntrs; init_ibport() local [all...] |
H A D | qib_7220.h | 48 u64 *cntrs; member
|
H A D | qib_verbs.h | 266 struct qib_verbs_counters *cntrs);
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 79 * @cntrs: pointer to destination summary counters structure 85 struct opa_veswport_summary_counters *cntrs) in opa_vnic_get_summary_counters() 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_summary_counters() 97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters() 98 cntrs->veswport_num = cpu_to_be32(adapter->port_num); in opa_vnic_get_summary_counters() 100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_summary_counters() 101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); in opa_vnic_get_summary_counters() 102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); in opa_vnic_get_summary_counters() 103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); in opa_vnic_get_summary_counters() 104 cntrs in opa_vnic_get_summary_counters() 84 opa_vnic_get_summary_counters(struct opa_vnic_adapter *adapter, struct opa_veswport_summary_counters *cntrs) opa_vnic_get_summary_counters() argument 125 opa_vnic_get_error_counters(struct opa_vnic_adapter *adapter, struct opa_veswport_error_counters *cntrs) opa_vnic_get_error_counters() argument [all...] |
H A D | opa_vnic_vema.c | 493 struct opa_veswport_summary_counters *cntrs; in vema_get_summary_counters() local 498 cntrs = (struct opa_veswport_summary_counters *)rsp_mad->data; in vema_get_summary_counters() 499 opa_vnic_get_summary_counters(adapter, cntrs); in vema_get_summary_counters() 515 struct opa_veswport_error_counters *cntrs; in vema_get_error_counters() local 520 cntrs = (struct opa_veswport_error_counters *)rsp_mad->data; in vema_get_error_counters() 521 opa_vnic_get_error_counters(adapter, cntrs); in vema_get_error_counters()
|
H A D | opa_vnic_internal.h | 313 struct opa_veswport_summary_counters *cntrs); 315 struct opa_veswport_error_counters *cntrs);
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 79 * @cntrs: pointer to destination summary counters structure 85 struct opa_veswport_summary_counters *cntrs) in opa_vnic_get_summary_counters() 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_summary_counters() 97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters() 98 cntrs->veswport_num = cpu_to_be32(adapter->port_num); in opa_vnic_get_summary_counters() 100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_summary_counters() 101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); in opa_vnic_get_summary_counters() 102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); in opa_vnic_get_summary_counters() 103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); in opa_vnic_get_summary_counters() 104 cntrs in opa_vnic_get_summary_counters() 84 opa_vnic_get_summary_counters(struct opa_vnic_adapter *adapter, struct opa_veswport_summary_counters *cntrs) opa_vnic_get_summary_counters() argument 125 opa_vnic_get_error_counters(struct opa_vnic_adapter *adapter, struct opa_veswport_error_counters *cntrs) opa_vnic_get_error_counters() argument [all...] |
H A D | opa_vnic_vema.c | 494 struct opa_veswport_summary_counters *cntrs; in vema_get_summary_counters() local 499 cntrs = (struct opa_veswport_summary_counters *)rsp_mad->data; in vema_get_summary_counters() 500 opa_vnic_get_summary_counters(adapter, cntrs); in vema_get_summary_counters() 516 struct opa_veswport_error_counters *cntrs; in vema_get_error_counters() local 521 cntrs = (struct opa_veswport_error_counters *)rsp_mad->data; in vema_get_error_counters() 522 opa_vnic_get_error_counters(adapter, cntrs); in vema_get_error_counters()
|
H A D | opa_vnic_internal.h | 313 struct opa_veswport_summary_counters *cntrs); 315 struct opa_veswport_error_counters *cntrs);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_perf.c | 81 uint32_t cntrs[5]; in refill_buf() local 91 ARRAY_SIZE(cntrs), cntrs); in refill_buf() 102 val = cntrs[i] / 10000; in refill_buf()
|
H A D | msm_gpu.c | 580 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) in update_hw_cntrs() argument 589 /* update cntrs: */ in update_hw_cntrs() 591 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs() 646 /* returns -errno or # of cntrs sampled */ 648 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) in msm_gpu_perfcntr_sample() 665 ret = update_hw_cntrs(gpu, ncntrs, cntrs); in msm_gpu_perfcntr_sample() 647 msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime, uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) msm_gpu_perfcntr_sample() argument
|
H A D | msm_gpu.h | 295 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_perf.c | 81 uint32_t cntrs[5]; in refill_buf() local 91 ARRAY_SIZE(cntrs), cntrs); in refill_buf() 102 val = cntrs[i] / 10000; in refill_buf()
|
H A D | msm_gpu.c | 548 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) in update_hw_cntrs() argument 557 /* update cntrs: */ in update_hw_cntrs() 559 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs() 614 /* returns -errno or # of cntrs sampled */ 616 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) in msm_gpu_perfcntr_sample() 633 ret = update_hw_cntrs(gpu, ncntrs, cntrs); in msm_gpu_perfcntr_sample() 615 msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime, uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) msm_gpu_perfcntr_sample() argument
|
H A D | msm_gpu.h | 650 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs);
|
/kernel/linux/linux-5.10/drivers/net/fddi/ |
H A D | defxx.c | 2214 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in dfx_ctl_get_stats() 2215 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in dfx_ctl_get_stats() 2216 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in dfx_ctl_get_stats() 2217 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in dfx_ctl_get_stats() 2218 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in dfx_ctl_get_stats() 2219 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in dfx_ctl_get_stats() 2220 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in dfx_ctl_get_stats() 2221 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in dfx_ctl_get_stats() 2222 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in dfx_ctl_get_stats() 2223 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs in dfx_ctl_get_stats() [all...] |
H A D | defxx.h | 922 PI_CNTR_BLK cntrs; member 930 PI_CNTR_BLK cntrs; member
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 779 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in skfp_ctl_get_stats() 780 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in skfp_ctl_get_stats() 781 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in skfp_ctl_get_stats() 782 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in skfp_ctl_get_stats() 783 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in skfp_ctl_get_stats() 784 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in skfp_ctl_get_stats() 785 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in skfp_ctl_get_stats() 786 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in skfp_ctl_get_stats() 787 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in skfp_ctl_get_stats() 788 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs in skfp_ctl_get_stats() [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 782 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in skfp_ctl_get_stats() 783 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in skfp_ctl_get_stats() 784 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in skfp_ctl_get_stats() 785 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in skfp_ctl_get_stats() 786 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in skfp_ctl_get_stats() 787 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in skfp_ctl_get_stats() 788 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in skfp_ctl_get_stats() 789 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in skfp_ctl_get_stats() 790 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in skfp_ctl_get_stats() 791 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs in skfp_ctl_get_stats() [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/ |
H A D | defxx.c | 2203 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in dfx_ctl_get_stats() 2204 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in dfx_ctl_get_stats() 2205 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in dfx_ctl_get_stats() 2206 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in dfx_ctl_get_stats() 2207 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in dfx_ctl_get_stats() 2208 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in dfx_ctl_get_stats() 2209 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in dfx_ctl_get_stats() 2210 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in dfx_ctl_get_stats() 2211 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in dfx_ctl_get_stats() 2212 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs in dfx_ctl_get_stats() [all...] |