/linux-6.3-rc2/drivers/infiniband/ulp/opa_vnic/ |
A D | opa_vnic_vema_iface.c | 85 struct opa_veswport_summary_counters *cntrs) in opa_vnic_get_summary_counters() argument 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_summary_counters() 98 cntrs->veswport_num = cpu_to_be32(adapter->port_num); in opa_vnic_get_summary_counters() 104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); in opa_vnic_get_summary_counters() 112 dst < &cntrs->reserved[0]; dst++, src++) { in opa_vnic_get_summary_counters() 126 struct opa_veswport_error_counters *cntrs) in opa_vnic_get_error_counters() argument 135 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_error_counters() 137 cntrs->veswport_num = cpu_to_be32(adapter->port_num); in opa_vnic_get_error_counters() 141 cntrs->tx_dlid_zero = cpu_to_be64(vstats.tx_dlid_zero); in opa_vnic_get_error_counters() 147 cntrs->rx_runt = cpu_to_be64(vstats.rx_runt); in opa_vnic_get_error_counters() [all …]
|
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()
|
A D | opa_vnic_internal.h | 313 struct opa_veswport_summary_counters *cntrs); 315 struct opa_veswport_error_counters *cntrs);
|
/linux-6.3-rc2/drivers/infiniband/hw/qib/ |
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() 1534 struct qib_verbs_counters cntrs; in pma_get_portcounters_cong() local 1551 qib_get_counters(ppd, &cntrs); in pma_get_portcounters_cong() 1562 cntrs.port_rcv_remphys_errors -= in pma_get_portcounters_cong() 1610 (u8)cntrs.link_downed_counter; in pma_get_portcounters_cong() 1718 qib_get_counters(ppd, &cntrs); in pma_set_portcounters() 1779 qib_get_counters(ppd, &cntrs); in pma_set_portcounters_cong() 1798 cntrs.symbol_error_counter; in pma_set_portcounters_cong() 1802 cntrs.link_downed_counter; in pma_set_portcounters_cong() [all …]
|
A D | qib_verbs.c | 1085 cntrs->symbol_error_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->port_xmit_discards = in qib_get_counters() 1126 cntrs->vl15_dropped = in qib_get_counters() 1390 struct qib_verbs_counters cntrs; in init_ibport() local 1411 qib_get_counters(ppd, &cntrs); in init_ibport() [all …]
|
A D | qib_7220.h | 48 u64 *cntrs; member
|
A D | qib_verbs.h | 266 struct qib_verbs_counters *cntrs);
|
A D | qib_iba6120.c | 220 u64 *cntrs; member 1482 kfree(dd->cspec->cntrs); in qib_6120_setup_cleanup() 2491 dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), in init_6120_cntrnames() 2515 u64 *cntr = dd->cspec->cntrs; in qib_read_6120cntrs()
|
A D | qib_iba7220.c | 1785 kfree(dd->cspec->cntrs); in qib_setup_7220_cleanup() 3147 dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), in init_7220_cntrnames() 3164 if (!dd->cspec->cntrs) { in qib_read_7220cntrs() 3175 u64 *cntr = dd->cspec->cntrs; in qib_read_7220cntrs()
|
A D | qib_iba7322.c | 547 u64 *cntrs; member 2852 kfree(dd->cspec->cntrs); in qib_setup_7322_cleanup() 4985 dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), in init_7322_cntrnames() 5011 u64 *cntr = dd->cspec->cntrs; in qib_read_7322cntrs()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
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()
|
A D | msm_gpu.c | 551 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) in update_hw_cntrs() argument 562 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs() 619 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) in msm_gpu_perfcntr_sample() argument 636 ret = update_hw_cntrs(gpu, ncntrs, cntrs); in msm_gpu_perfcntr_sample()
|
A D | msm_gpu.h | 639 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs);
|
/linux-6.3-rc2/drivers/net/fddi/skfp/ |
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.link_errors[0].ls; in skfp_ctl_get_stats() [all …]
|
/linux-6.3-rc2/drivers/net/fddi/ |
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.link_errors[0].ls; in dfx_ctl_get_stats() [all …]
|
A D | defxx.h | 923 PI_CNTR_BLK cntrs; member 931 PI_CNTR_BLK cntrs; member
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | chip.c | 12198 *cntrp = dd->cntrs; in hfi1_read_cntrs() 12221 dd->cntrs[entry->offset + j] = in hfi1_read_cntrs() 12235 dd->cntrs[entry->offset + j] = in hfi1_read_cntrs() 12242 dd->cntrs[entry->offset] = val; in hfi1_read_cntrs() 12267 *cntrp = ppd->cntrs; in hfi1_read_portcntrs() 12312 kfree(ppd->cntrs); in free_cntrs() 12317 ppd->cntrs = NULL; in free_cntrs() 12325 kfree(dd->cntrs); in free_cntrs() 12326 dd->cntrs = NULL; in free_cntrs() 12660 if (!dd->cntrs) in init_cntrs() [all …]
|
A D | hfi.h | 896 u64 *cntrs; member 1240 u64 *cntrs; member
|