/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_mad.c | 1028 struct ipath_verbs_counters cntrs; in recv_pma_get_portcounters() local 1031 ipath_get_counters(dev->dd, &cntrs); in recv_pma_get_portcounters() 1034 cntrs.symbol_error_counter -= dev->z_symbol_error_counter; in recv_pma_get_portcounters() 1035 cntrs.link_error_recovery_counter -= in recv_pma_get_portcounters() 1037 cntrs.link_downed_counter -= dev->z_link_downed_counter; in recv_pma_get_portcounters() 1038 cntrs.port_rcv_errors += dev->rcv_errors; in recv_pma_get_portcounters() 1039 cntrs.port_rcv_errors -= dev->z_port_rcv_errors; in recv_pma_get_portcounters() 1040 cntrs.port_rcv_remphys_errors -= dev->z_port_rcv_remphys_errors; in recv_pma_get_portcounters() 1041 cntrs.port_xmit_discards -= dev->z_port_xmit_discards; in recv_pma_get_portcounters() 1042 cntrs.port_xmit_data -= dev->z_port_xmit_data; in recv_pma_get_portcounters() [all …]
|
D | ipath_iba6110.c | 1712 struct infinipath_counters *cntrs) in ipath_ht_read_counters() argument 1714 cntrs->LBIntCnt = in ipath_ht_read_counters() 1716 cntrs->LBFlowStallCnt = in ipath_ht_read_counters() 1718 cntrs->TxSDmaDescCnt = 0; in ipath_ht_read_counters() 1719 cntrs->TxUnsupVLErrCnt = in ipath_ht_read_counters() 1721 cntrs->TxDataPktCnt = in ipath_ht_read_counters() 1723 cntrs->TxFlowPktCnt = in ipath_ht_read_counters() 1725 cntrs->TxDwordCnt = in ipath_ht_read_counters() 1727 cntrs->TxLenErrCnt = in ipath_ht_read_counters() 1729 cntrs->TxMaxMinLenErrCnt = in ipath_ht_read_counters() [all …]
|
D | ipath_verbs.c | 1396 struct ipath_verbs_counters *cntrs) in ipath_get_counters() argument 1406 cntrs->symbol_error_counter = in ipath_get_counters() 1408 cntrs->link_error_recovery_counter = in ipath_get_counters() 1415 cntrs->link_downed_counter = in ipath_get_counters() 1417 cntrs->port_rcv_errors = in ipath_get_counters() 1430 cntrs->port_rcv_errors += in ipath_get_counters() 1433 cntrs->port_rcv_errors += in ipath_get_counters() 1435 cntrs->port_rcv_remphys_errors = in ipath_get_counters() 1437 cntrs->port_xmit_discards = ipath_snap_cntr(dd, crp->cr_unsupvlcnt); in ipath_get_counters() 1438 cntrs->port_xmit_data = ipath_snap_cntr(dd, crp->cr_wordsendcnt); in ipath_get_counters() [all …]
|
D | ipath_verbs.h | 732 struct ipath_verbs_counters *cntrs);
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1434 struct qib_verbs_counters cntrs; in pma_get_portcounters() local 1437 qib_get_counters(ppd, &cntrs); in pma_get_portcounters() 1440 cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; in pma_get_portcounters() 1441 cntrs.link_error_recovery_counter -= in pma_get_portcounters() 1443 cntrs.link_downed_counter -= ibp->z_link_downed_counter; in pma_get_portcounters() 1444 cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; in pma_get_portcounters() 1445 cntrs.port_rcv_remphys_errors -= ibp->z_port_rcv_remphys_errors; in pma_get_portcounters() 1446 cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; in pma_get_portcounters() 1447 cntrs.port_xmit_data -= ibp->z_port_xmit_data; in pma_get_portcounters() 1448 cntrs.port_rcv_data -= ibp->z_port_rcv_data; in pma_get_portcounters() [all …]
|
D | qib_verbs.c | 1456 struct qib_verbs_counters *cntrs) in qib_get_counters() argument 1465 cntrs->symbol_error_counter = in qib_get_counters() 1467 cntrs->link_error_recovery_counter = in qib_get_counters() 1474 cntrs->link_downed_counter = in qib_get_counters() 1476 cntrs->port_rcv_errors = in qib_get_counters() 1486 cntrs->port_rcv_errors += in qib_get_counters() 1488 cntrs->port_rcv_errors += in qib_get_counters() 1490 cntrs->port_rcv_remphys_errors = in qib_get_counters() 1492 cntrs->port_xmit_discards = in qib_get_counters() 1494 cntrs->port_xmit_data = ppd->dd->f_portcntr(ppd, in qib_get_counters() [all …]
|
D | qib_7220.h | 48 u64 *cntrs; member
|
D | qib_iba6120.c | 220 u64 *cntrs; member 1506 kfree(dd->cspec->cntrs); in qib_6120_setup_cleanup() 2534 dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs in init_6120_cntrnames() 2536 if (!dd->cspec->cntrs) in init_6120_cntrnames() 2561 u64 *cntr = dd->cspec->cntrs; in qib_read_6120cntrs()
|
D | qib_iba7220.c | 1801 kfree(dd->cspec->cntrs); in qib_setup_7220_cleanup() 3180 dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs in init_7220_cntrnames() 3182 if (!dd->cspec->cntrs) in init_7220_cntrnames() 3200 if (!dd->cspec->cntrs) { in qib_read_7220cntrs() 3211 u64 *cntr = dd->cspec->cntrs; in qib_read_7220cntrs()
|
D | qib_verbs.h | 908 struct qib_verbs_counters *cntrs);
|
D | qib_iba7322.c | 537 u64 *cntrs; member 2895 kfree(dd->cspec->cntrs); in qib_setup_7322_cleanup() 5061 dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs in init_7322_cntrnames() 5063 if (!dd->cspec->cntrs) in init_7322_cntrnames() 5091 u64 *cntr = dd->cspec->cntrs; in qib_read_7322cntrs()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_perf.c | 92 uint32_t cntrs[5]; in refill_buf() local 102 ARRAY_SIZE(cntrs), cntrs); in refill_buf() 113 val = cntrs[i] / 10000; in refill_buf()
|
D | msm_gpu.c | 340 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) in update_hw_cntrs() argument 351 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs() 405 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) in msm_gpu_perfcntr_sample() argument 422 ret = update_hw_cntrs(gpu, ncntrs, cntrs); in msm_gpu_perfcntr_sample()
|
D | msm_gpu.h | 160 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs);
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
D | skfddi.c | 783 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in skfp_ctl_get_stats() 784 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in skfp_ctl_get_stats() 785 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in skfp_ctl_get_stats() 786 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in skfp_ctl_get_stats() 787 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in skfp_ctl_get_stats() 788 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in skfp_ctl_get_stats() 789 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in skfp_ctl_get_stats() 790 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in skfp_ctl_get_stats() 791 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in skfp_ctl_get_stats() 792 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; in skfp_ctl_get_stats() [all …]
|
/linux-4.4.14/drivers/net/fddi/ |
D | defxx.c | 2201 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in dfx_ctl_get_stats() 2202 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in dfx_ctl_get_stats() 2203 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in dfx_ctl_get_stats() 2204 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in dfx_ctl_get_stats() 2205 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in dfx_ctl_get_stats() 2206 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in dfx_ctl_get_stats() 2207 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in dfx_ctl_get_stats() 2208 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in dfx_ctl_get_stats() 2209 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in dfx_ctl_get_stats() 2210 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; in dfx_ctl_get_stats() [all …]
|
D | defxx.h | 922 PI_CNTR_BLK cntrs; member 930 PI_CNTR_BLK cntrs; member
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | hfi.h | 698 u64 *cntrs; member 1029 u64 *cntrs; member
|
D | chip.c | 7855 *cntrp = dd->cntrs; in hfi1_read_cntrs() 7878 dd->cntrs[entry->offset + j] = in hfi1_read_cntrs() 7885 dd->cntrs[entry->offset] = val; in hfi1_read_cntrs() 7921 *cntrp = ppd->cntrs; in hfi1_read_portcntrs() 7942 ppd->cntrs[entry->offset + j] = val; in hfi1_read_portcntrs() 7949 ppd->cntrs[entry->offset] = val; in hfi1_read_portcntrs() 7967 kfree(ppd->cntrs); in free_cntrs() 7972 ppd->cntrs = NULL; in free_cntrs() 7980 kfree(dd->cntrs); in free_cntrs() 7981 dd->cntrs = NULL; in free_cntrs() [all …]
|