/linux-master/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) 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); 97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); 98 cntrs->veswport_num = cpu_to_be32(adapter->port_num); 100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); 101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); 102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); 103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); 104 cntrs 84 opa_vnic_get_summary_counters(struct opa_vnic_adapter *adapter, struct opa_veswport_summary_counters *cntrs) argument 125 opa_vnic_get_error_counters(struct opa_vnic_adapter *adapter, struct opa_veswport_error_counters *cntrs) argument [all...] |
H A D | opa_vnic_internal.h | 313 struct opa_veswport_summary_counters *cntrs); 315 struct opa_veswport_error_counters *cntrs);
|
H A D | opa_vnic_vema.c | 494 struct opa_veswport_summary_counters *cntrs; local 499 cntrs = (struct opa_veswport_summary_counters *)rsp_mad->data; 500 opa_vnic_get_summary_counters(adapter, cntrs); 516 struct opa_veswport_error_counters *cntrs; local 521 cntrs = (struct opa_veswport_error_counters *)rsp_mad->data; 522 opa_vnic_get_error_counters(adapter, cntrs);
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 1437 struct qib_verbs_counters cntrs; local 1440 qib_get_counters(ppd, &cntrs); 1443 cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; 1444 cntrs.link_error_recovery_counter -= 1446 cntrs.link_downed_counter -= ibp->z_link_downed_counter; 1447 cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; 1448 cntrs.port_rcv_remphys_errors -= ibp->z_port_rcv_remphys_errors; 1449 cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; 1450 cntrs.port_xmit_data -= ibp->z_port_xmit_data; 1451 cntrs 1534 struct qib_verbs_counters cntrs; local 1712 struct qib_verbs_counters cntrs; local 1774 struct qib_verbs_counters cntrs; local [all...] |
H A D | qib_verbs.c | 1071 * @cntrs: counters are placed here 1076 struct qib_verbs_counters *cntrs) 1085 cntrs->symbol_error_counter = 1087 cntrs->link_error_recovery_counter = 1094 cntrs->link_downed_counter = 1096 cntrs->port_rcv_errors = 1106 cntrs->port_rcv_errors += 1108 cntrs->port_rcv_errors += 1110 cntrs->port_rcv_remphys_errors = 1112 cntrs 1075 qib_get_counters(struct qib_pportdata *ppd, struct qib_verbs_counters *cntrs) argument 1390 struct qib_verbs_counters cntrs; local [all...] |
H A D | qib_7220.h | 48 u64 *cntrs; member in struct:qib_chip_specific
|
H A D | qib_verbs.h | 266 struct qib_verbs_counters *cntrs);
|
H A D | qib_iba7220.c | 1785 kfree(dd->cspec->cntrs); 3147 dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), 3164 if (!dd->cspec->cntrs) { 3175 u64 *cntr = dd->cspec->cntrs;
|
H A D | qib_iba6120.c | 220 u64 *cntrs; member in struct:qib_chip_specific 1482 kfree(dd->cspec->cntrs); 2491 dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), 2515 u64 *cntr = dd->cspec->cntrs;
|
H A D | qib_iba7322.c | 547 u64 *cntrs; member in struct:qib_chip_specific 2852 kfree(dd->cspec->cntrs); 4780 * because all the errors are already counted by other cntrs. 4985 dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), 5011 u64 *cntr = dd->cspec->cntrs;
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_perf.c | 81 uint32_t cntrs[5]; local 91 ARRAY_SIZE(cntrs), cntrs); 102 val = cntrs[i] / 10000;
|
H A D | msm_gpu.c | 550 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) argument 559 /* update cntrs: */ 561 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; 616 /* returns -errno or # of cntrs sampled */ 618 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) 635 ret = update_hw_cntrs(gpu, ncntrs, cntrs); 617 msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime, uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) argument
|
H A D | msm_gpu.h | 650 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs);
|
/linux-master/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 783 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; 784 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; 785 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; 786 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; 787 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; 788 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; 789 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; 790 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; 791 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; 792 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs [all...] |
/linux-master/drivers/net/fddi/ |
H A D | defxx.c | 2203 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; 2204 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; 2205 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; 2206 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; 2207 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; 2208 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; 2209 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; 2210 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; 2211 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; 2212 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs [all...] |
H A D | defxx.h | 923 PI_CNTR_BLK cntrs; member in struct:__anon659 931 PI_CNTR_BLK cntrs; member in struct:__anon660
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | hfi.h | 896 u64 *cntrs; member in struct:hfi1_pportdata 1240 u64 *cntrs; member in struct:hfi1_devdata
|
H A D | chip.c | 1623 dd_dev_err(dd, "Per CPU cntrs can only be zeroed"); 12200 *cntrp = dd->cntrs; 12223 dd->cntrs[entry->offset + j] = 12237 dd->cntrs[entry->offset + j] = 12244 dd->cntrs[entry->offset] = val; 12269 *cntrp = ppd->cntrs; 12290 ppd->cntrs[entry->offset + j] = val; 12297 ppd->cntrs[entry->offset] = val; 12315 kfree(ppd->cntrs); 12320 ppd->cntrs [all...] |