cntrs 555 drivers/gpu/drm/msm/msm_gpu.c static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) cntrs 566 drivers/gpu/drm/msm/msm_gpu.c cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; cntrs 623 drivers/gpu/drm/msm/msm_gpu.c uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) cntrs 640 drivers/gpu/drm/msm/msm_gpu.c ret = update_hw_cntrs(gpu, ncntrs, cntrs); cntrs 272 drivers/gpu/drm/msm/msm_gpu.h uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs); cntrs 81 drivers/gpu/drm/msm/msm_perf.c uint32_t cntrs[5]; cntrs 91 drivers/gpu/drm/msm/msm_perf.c ARRAY_SIZE(cntrs), cntrs); cntrs 102 drivers/gpu/drm/msm/msm_perf.c val = cntrs[i] / 10000; cntrs 12082 drivers/infiniband/hw/hfi1/chip.c *cntrp = dd->cntrs; cntrs 12105 drivers/infiniband/hw/hfi1/chip.c dd->cntrs[entry->offset + j] = cntrs 12119 drivers/infiniband/hw/hfi1/chip.c dd->cntrs[entry->offset + j] = cntrs 12126 drivers/infiniband/hw/hfi1/chip.c dd->cntrs[entry->offset] = val; cntrs 12151 drivers/infiniband/hw/hfi1/chip.c *cntrp = ppd->cntrs; cntrs 12172 drivers/infiniband/hw/hfi1/chip.c ppd->cntrs[entry->offset + j] = val; cntrs 12179 drivers/infiniband/hw/hfi1/chip.c ppd->cntrs[entry->offset] = val; cntrs 12196 drivers/infiniband/hw/hfi1/chip.c kfree(ppd->cntrs); cntrs 12201 drivers/infiniband/hw/hfi1/chip.c ppd->cntrs = NULL; cntrs 12209 drivers/infiniband/hw/hfi1/chip.c kfree(dd->cntrs); cntrs 12210 drivers/infiniband/hw/hfi1/chip.c dd->cntrs = NULL; cntrs 12542 drivers/infiniband/hw/hfi1/chip.c dd->cntrs = kcalloc(dd->ndevcntrs + num_driver_cntrs, sizeof(u64), cntrs 12544 drivers/infiniband/hw/hfi1/chip.c if (!dd->cntrs) cntrs 12697 drivers/infiniband/hw/hfi1/chip.c ppd->cntrs = kcalloc(dd->nportcntrs, sizeof(u64), GFP_KERNEL); cntrs 12698 drivers/infiniband/hw/hfi1/chip.c if (!ppd->cntrs) cntrs 938 drivers/infiniband/hw/hfi1/hfi.h u64 *cntrs; cntrs 1294 drivers/infiniband/hw/hfi1/hfi.h u64 *cntrs; cntrs 48 drivers/infiniband/hw/qib/qib_7220.h u64 *cntrs; cntrs 220 drivers/infiniband/hw/qib/qib_iba6120.c u64 *cntrs; cntrs 1486 drivers/infiniband/hw/qib/qib_iba6120.c kfree(dd->cspec->cntrs); cntrs 2495 drivers/infiniband/hw/qib/qib_iba6120.c dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), cntrs 2519 drivers/infiniband/hw/qib/qib_iba6120.c u64 *cntr = dd->cspec->cntrs; cntrs 1785 drivers/infiniband/hw/qib/qib_iba7220.c kfree(dd->cspec->cntrs); cntrs 3147 drivers/infiniband/hw/qib/qib_iba7220.c dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), cntrs 3164 drivers/infiniband/hw/qib/qib_iba7220.c if (!dd->cspec->cntrs) { cntrs 3175 drivers/infiniband/hw/qib/qib_iba7220.c u64 *cntr = dd->cspec->cntrs; cntrs 547 drivers/infiniband/hw/qib/qib_iba7322.c u64 *cntrs; cntrs 2875 drivers/infiniband/hw/qib/qib_iba7322.c kfree(dd->cspec->cntrs); cntrs 5009 drivers/infiniband/hw/qib/qib_iba7322.c dd->cspec->cntrs = kmalloc_array(dd->cspec->ncntrs, sizeof(u64), cntrs 5035 drivers/infiniband/hw/qib/qib_iba7322.c u64 *cntr = dd->cspec->cntrs; cntrs 1437 drivers/infiniband/hw/qib/qib_mad.c struct qib_verbs_counters cntrs; cntrs 1440 drivers/infiniband/hw/qib/qib_mad.c qib_get_counters(ppd, &cntrs); cntrs 1443 drivers/infiniband/hw/qib/qib_mad.c cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; cntrs 1444 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_error_recovery_counter -= cntrs 1446 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_downed_counter -= ibp->z_link_downed_counter; cntrs 1447 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; cntrs 1448 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_remphys_errors -= ibp->z_port_rcv_remphys_errors; cntrs 1449 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; cntrs 1450 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_data -= ibp->z_port_xmit_data; cntrs 1451 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_data -= ibp->z_port_rcv_data; cntrs 1452 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_packets -= ibp->z_port_xmit_packets; cntrs 1453 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_packets -= ibp->z_port_rcv_packets; cntrs 1454 drivers/infiniband/hw/qib/qib_mad.c cntrs.local_link_integrity_errors -= cntrs 1456 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors -= cntrs 1458 drivers/infiniband/hw/qib/qib_mad.c cntrs.vl15_dropped -= ibp->z_vl15_dropped; cntrs 1459 drivers/infiniband/hw/qib/qib_mad.c cntrs.vl15_dropped += ibp->rvp.n_vl15_dropped; cntrs 1467 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.symbol_error_counter > 0xFFFFUL) cntrs 1471 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be16((u16)cntrs.symbol_error_counter); cntrs 1472 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.link_error_recovery_counter > 0xFFUL) cntrs 1476 drivers/infiniband/hw/qib/qib_mad.c (u8)cntrs.link_error_recovery_counter; cntrs 1477 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.link_downed_counter > 0xFFUL) cntrs 1480 drivers/infiniband/hw/qib/qib_mad.c p->link_downed_counter = (u8)cntrs.link_downed_counter; cntrs 1481 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_rcv_errors > 0xFFFFUL) cntrs 1485 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be16((u16) cntrs.port_rcv_errors); cntrs 1486 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_rcv_remphys_errors > 0xFFFFUL) cntrs 1490 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be16((u16)cntrs.port_rcv_remphys_errors); cntrs 1491 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_xmit_discards > 0xFFFFUL) cntrs 1495 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be16((u16)cntrs.port_xmit_discards); cntrs 1496 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.local_link_integrity_errors > 0xFUL) cntrs 1497 drivers/infiniband/hw/qib/qib_mad.c cntrs.local_link_integrity_errors = 0xFUL; cntrs 1498 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.excessive_buffer_overrun_errors > 0xFUL) cntrs 1499 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors = 0xFUL; cntrs 1500 drivers/infiniband/hw/qib/qib_mad.c p->link_overrun_errors = (cntrs.local_link_integrity_errors << 4) | cntrs 1501 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors; cntrs 1502 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.vl15_dropped > 0xFFFFUL) cntrs 1505 drivers/infiniband/hw/qib/qib_mad.c p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); cntrs 1506 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_xmit_data > 0xFFFFFFFFUL) cntrs 1509 drivers/infiniband/hw/qib/qib_mad.c p->port_xmit_data = cpu_to_be32((u32)cntrs.port_xmit_data); cntrs 1510 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_rcv_data > 0xFFFFFFFFUL) cntrs 1513 drivers/infiniband/hw/qib/qib_mad.c p->port_rcv_data = cpu_to_be32((u32)cntrs.port_rcv_data); cntrs 1514 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_xmit_packets > 0xFFFFFFFFUL) cntrs 1518 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be32((u32)cntrs.port_xmit_packets); cntrs 1519 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_rcv_packets > 0xFFFFFFFFUL) cntrs 1523 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be32((u32) cntrs.port_rcv_packets); cntrs 1534 drivers/infiniband/hw/qib/qib_mad.c struct qib_verbs_counters cntrs; cntrs 1551 drivers/infiniband/hw/qib/qib_mad.c qib_get_counters(ppd, &cntrs); cntrs 1557 drivers/infiniband/hw/qib/qib_mad.c cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; cntrs 1558 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_error_recovery_counter -= cntrs 1560 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_downed_counter -= ibp->z_link_downed_counter; cntrs 1561 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; cntrs 1562 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_remphys_errors -= cntrs 1564 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; cntrs 1565 drivers/infiniband/hw/qib/qib_mad.c cntrs.local_link_integrity_errors -= cntrs 1567 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors -= cntrs 1569 drivers/infiniband/hw/qib/qib_mad.c cntrs.vl15_dropped -= ibp->z_vl15_dropped; cntrs 1570 drivers/infiniband/hw/qib/qib_mad.c cntrs.vl15_dropped += ibp->rvp.n_vl15_dropped; cntrs 1571 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_data -= ibp->z_port_xmit_data; cntrs 1572 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_data -= ibp->z_port_rcv_data; cntrs 1573 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_packets -= ibp->z_port_xmit_packets; cntrs 1574 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_packets -= ibp->z_port_rcv_packets; cntrs 1589 drivers/infiniband/hw/qib/qib_mad.c p->port_xmit_data = cpu_to_be64(cntrs.port_xmit_data); cntrs 1590 drivers/infiniband/hw/qib/qib_mad.c p->port_rcv_data = cpu_to_be64(cntrs.port_rcv_data); cntrs 1592 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be64(cntrs.port_xmit_packets); cntrs 1594 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be64(cntrs.port_rcv_packets); cntrs 1595 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.symbol_error_counter > 0xFFFFUL) cntrs 1600 drivers/infiniband/hw/qib/qib_mad.c (u16)cntrs.symbol_error_counter); cntrs 1601 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.link_error_recovery_counter > 0xFFUL) cntrs 1605 drivers/infiniband/hw/qib/qib_mad.c (u8)cntrs.link_error_recovery_counter; cntrs 1606 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.link_downed_counter > 0xFFUL) cntrs 1610 drivers/infiniband/hw/qib/qib_mad.c (u8)cntrs.link_downed_counter; cntrs 1611 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_rcv_errors > 0xFFFFUL) cntrs 1615 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be16((u16) cntrs.port_rcv_errors); cntrs 1616 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_rcv_remphys_errors > 0xFFFFUL) cntrs 1621 drivers/infiniband/hw/qib/qib_mad.c (u16)cntrs.port_rcv_remphys_errors); cntrs 1622 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.port_xmit_discards > 0xFFFFUL) cntrs 1626 drivers/infiniband/hw/qib/qib_mad.c cpu_to_be16((u16)cntrs.port_xmit_discards); cntrs 1627 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.local_link_integrity_errors > 0xFUL) cntrs 1628 drivers/infiniband/hw/qib/qib_mad.c cntrs.local_link_integrity_errors = 0xFUL; cntrs 1629 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.excessive_buffer_overrun_errors > 0xFUL) cntrs 1630 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors = 0xFUL; cntrs 1631 drivers/infiniband/hw/qib/qib_mad.c p->link_overrun_errors = (cntrs.local_link_integrity_errors << 4) | cntrs 1632 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors; cntrs 1633 drivers/infiniband/hw/qib/qib_mad.c if (cntrs.vl15_dropped > 0xFFFFUL) cntrs 1636 drivers/infiniband/hw/qib/qib_mad.c p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); cntrs 1712 drivers/infiniband/hw/qib/qib_mad.c struct qib_verbs_counters cntrs; cntrs 1718 drivers/infiniband/hw/qib/qib_mad.c qib_get_counters(ppd, &cntrs); cntrs 1721 drivers/infiniband/hw/qib/qib_mad.c ibp->z_symbol_error_counter = cntrs.symbol_error_counter; cntrs 1725 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_error_recovery_counter; cntrs 1728 drivers/infiniband/hw/qib/qib_mad.c ibp->z_link_downed_counter = cntrs.link_downed_counter; cntrs 1731 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_rcv_errors = cntrs.port_rcv_errors; cntrs 1735 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_remphys_errors; cntrs 1738 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_xmit_discards = cntrs.port_xmit_discards; cntrs 1742 drivers/infiniband/hw/qib/qib_mad.c cntrs.local_link_integrity_errors; cntrs 1746 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors; cntrs 1750 drivers/infiniband/hw/qib/qib_mad.c ibp->z_vl15_dropped = cntrs.vl15_dropped; cntrs 1754 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_xmit_data = cntrs.port_xmit_data; cntrs 1757 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_rcv_data = cntrs.port_rcv_data; cntrs 1760 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_xmit_packets = cntrs.port_xmit_packets; cntrs 1763 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_rcv_packets = cntrs.port_rcv_packets; cntrs 1774 drivers/infiniband/hw/qib/qib_mad.c struct qib_verbs_counters cntrs; cntrs 1779 drivers/infiniband/hw/qib/qib_mad.c qib_get_counters(ppd, &cntrs); cntrs 1791 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_xmit_data = cntrs.port_xmit_data; cntrs 1792 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_rcv_data = cntrs.port_rcv_data; cntrs 1793 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_xmit_packets = cntrs.port_xmit_packets; cntrs 1794 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_rcv_packets = cntrs.port_rcv_packets; cntrs 1798 drivers/infiniband/hw/qib/qib_mad.c cntrs.symbol_error_counter; cntrs 1800 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_error_recovery_counter; cntrs 1802 drivers/infiniband/hw/qib/qib_mad.c cntrs.link_downed_counter; cntrs 1803 drivers/infiniband/hw/qib/qib_mad.c ibp->z_port_rcv_errors = cntrs.port_rcv_errors; cntrs 1805 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_rcv_remphys_errors; cntrs 1807 drivers/infiniband/hw/qib/qib_mad.c cntrs.port_xmit_discards; cntrs 1809 drivers/infiniband/hw/qib/qib_mad.c cntrs.local_link_integrity_errors; cntrs 1811 drivers/infiniband/hw/qib/qib_mad.c cntrs.excessive_buffer_overrun_errors; cntrs 1813 drivers/infiniband/hw/qib/qib_mad.c ibp->z_vl15_dropped = cntrs.vl15_dropped; cntrs 1077 drivers/infiniband/hw/qib/qib_verbs.c struct qib_verbs_counters *cntrs) cntrs 1086 drivers/infiniband/hw/qib/qib_verbs.c cntrs->symbol_error_counter = cntrs 1088 drivers/infiniband/hw/qib/qib_verbs.c cntrs->link_error_recovery_counter = cntrs 1095 drivers/infiniband/hw/qib/qib_verbs.c cntrs->link_downed_counter = cntrs 1097 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_rcv_errors = cntrs 1107 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_rcv_errors += cntrs 1109 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_rcv_errors += cntrs 1111 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_rcv_remphys_errors = cntrs 1113 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_xmit_discards = cntrs 1115 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_xmit_data = ppd->dd->f_portcntr(ppd, cntrs 1117 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_rcv_data = ppd->dd->f_portcntr(ppd, cntrs 1119 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_xmit_packets = ppd->dd->f_portcntr(ppd, cntrs 1121 drivers/infiniband/hw/qib/qib_verbs.c cntrs->port_rcv_packets = ppd->dd->f_portcntr(ppd, cntrs 1123 drivers/infiniband/hw/qib/qib_verbs.c cntrs->local_link_integrity_errors = cntrs 1125 drivers/infiniband/hw/qib/qib_verbs.c cntrs->excessive_buffer_overrun_errors = cntrs 1127 drivers/infiniband/hw/qib/qib_verbs.c cntrs->vl15_dropped = cntrs 1391 drivers/infiniband/hw/qib/qib_verbs.c struct qib_verbs_counters cntrs; cntrs 1412 drivers/infiniband/hw/qib/qib_verbs.c qib_get_counters(ppd, &cntrs); cntrs 1413 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_symbol_error_counter = cntrs.symbol_error_counter; cntrs 1415 drivers/infiniband/hw/qib/qib_verbs.c cntrs.link_error_recovery_counter; cntrs 1416 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_link_downed_counter = cntrs.link_downed_counter; cntrs 1417 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_rcv_errors = cntrs.port_rcv_errors; cntrs 1418 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_rcv_remphys_errors = cntrs.port_rcv_remphys_errors; cntrs 1419 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_xmit_discards = cntrs.port_xmit_discards; cntrs 1420 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_xmit_data = cntrs.port_xmit_data; cntrs 1421 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_rcv_data = cntrs.port_rcv_data; cntrs 1422 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_xmit_packets = cntrs.port_xmit_packets; cntrs 1423 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_port_rcv_packets = cntrs.port_rcv_packets; cntrs 1425 drivers/infiniband/hw/qib/qib_verbs.c cntrs.local_link_integrity_errors; cntrs 1427 drivers/infiniband/hw/qib/qib_verbs.c cntrs.excessive_buffer_overrun_errors; cntrs 1428 drivers/infiniband/hw/qib/qib_verbs.c ibp->z_vl15_dropped = cntrs.vl15_dropped; cntrs 268 drivers/infiniband/hw/qib/qib_verbs.h struct qib_verbs_counters *cntrs); cntrs 314 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h struct opa_veswport_summary_counters *cntrs); cntrs 316 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h struct opa_veswport_error_counters *cntrs); cntrs 495 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c struct opa_veswport_summary_counters *cntrs; cntrs 500 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c cntrs = (struct opa_veswport_summary_counters *)rsp_mad->data; cntrs 501 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c opa_vnic_get_summary_counters(adapter, cntrs); cntrs 517 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c struct opa_veswport_error_counters *cntrs; cntrs 522 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c cntrs = (struct opa_veswport_error_counters *)rsp_mad->data; cntrs 523 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c opa_vnic_get_error_counters(adapter, cntrs); cntrs 85 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c struct opa_veswport_summary_counters *cntrs) cntrs 96 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->vp_instance = cpu_to_be16(adapter->vport_num); cntrs 97 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); cntrs 98 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->veswport_num = cpu_to_be32(adapter->port_num); cntrs 100 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); cntrs 101 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); cntrs 102 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); cntrs 103 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); cntrs 104 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); cntrs 105 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_bytes = cpu_to_be64(vstats.netstats.rx_bytes); cntrs 111 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c for (dst = &cntrs->tx_unicast, src = &vstats.tx_grp.unicast; cntrs 112 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c dst < &cntrs->reserved[0]; dst++, src++) { cntrs 126 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c struct opa_veswport_error_counters *cntrs) cntrs 135 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->vp_instance = cpu_to_be16(adapter->vport_num); cntrs 136 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); cntrs 137 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->veswport_num = cpu_to_be32(adapter->port_num); cntrs 139 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); cntrs 140 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); cntrs 141 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_dlid_zero = cpu_to_be64(vstats.tx_dlid_zero); cntrs 142 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_drop_state = cpu_to_be64(vstats.tx_drop_state); cntrs 143 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->tx_logic = cpu_to_be64(vstats.netstats.tx_fifo_errors + cntrs 146 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_bad_veswid = cpu_to_be64(vstats.netstats.rx_nohandler); cntrs 147 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_runt = cpu_to_be64(vstats.rx_runt); cntrs 148 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_oversize = cpu_to_be64(vstats.rx_oversize); cntrs 149 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_drop_state = cpu_to_be64(vstats.rx_drop_state); cntrs 150 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c cntrs->rx_logic = cpu_to_be64(vstats.netstats.rx_fifo_errors); cntrs 2201 drivers/net/fddi/defxx.c bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; cntrs 2202 drivers/net/fddi/defxx.c bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; cntrs 2203 drivers/net/fddi/defxx.c bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; cntrs 2204 drivers/net/fddi/defxx.c bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; cntrs 2205 drivers/net/fddi/defxx.c bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; cntrs 2206 drivers/net/fddi/defxx.c bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; cntrs 2207 drivers/net/fddi/defxx.c bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; cntrs 2208 drivers/net/fddi/defxx.c bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; cntrs 2209 drivers/net/fddi/defxx.c bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; cntrs 2210 drivers/net/fddi/defxx.c bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; cntrs 2211 drivers/net/fddi/defxx.c bp->stats.port_lem_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[1].ls; cntrs 922 drivers/net/fddi/defxx.h PI_CNTR_BLK cntrs; cntrs 930 drivers/net/fddi/defxx.h PI_CNTR_BLK cntrs; cntrs 779 drivers/net/fddi/skfp/skfddi.c bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; cntrs 780 drivers/net/fddi/skfp/skfddi.c bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; cntrs 781 drivers/net/fddi/skfp/skfddi.c bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; cntrs 782 drivers/net/fddi/skfp/skfddi.c bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; cntrs 783 drivers/net/fddi/skfp/skfddi.c bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; cntrs 784 drivers/net/fddi/skfp/skfddi.c bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; cntrs 785 drivers/net/fddi/skfp/skfddi.c bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; cntrs 786 drivers/net/fddi/skfp/skfddi.c bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; cntrs 787 drivers/net/fddi/skfp/skfddi.c bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; cntrs 788 drivers/net/fddi/skfp/skfddi.c bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; cntrs 789 drivers/net/fddi/skfp/skfddi.c bp->stats.port_lem_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[1].ls;