dev_cntrs 4114 drivers/infiniband/hw/hfi1/chip.c static struct cntr_entry dev_cntrs[DEV_CNTR_LAST] = { dev_cntrs 12088 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[i]; dev_cntrs 12311 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[index]; dev_cntrs 12325 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[index]; dev_cntrs 12392 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[C_DC_RCV_FLITS]; dev_cntrs 12395 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[C_DC_XMIT_FLITS]; dev_cntrs 12426 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[i]; dev_cntrs 12453 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[C_DC_XMIT_FLITS]; dev_cntrs 12457 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[C_DC_RCV_FLITS]; dev_cntrs 12501 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_DISABLED) { dev_cntrs 12502 drivers/infiniband/hw/hfi1/chip.c hfi1_dbg_early("\tSkipping %s\n", dev_cntrs[i].name); dev_cntrs 12506 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_VL) { dev_cntrs 12507 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].offset = dd->ndevcntrs; dev_cntrs 12510 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].name, vl_from_idx(j)); dev_cntrs 12513 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_32BIT) dev_cntrs 12518 drivers/infiniband/hw/hfi1/chip.c } else if (dev_cntrs[i].flags & CNTR_SDMA) { dev_cntrs 12519 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].offset = dd->ndevcntrs; dev_cntrs 12522 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].name, j); dev_cntrs 12525 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_32BIT) dev_cntrs 12532 drivers/infiniband/hw/hfi1/chip.c sz += strlen(dev_cntrs[i].name) + 1; dev_cntrs 12534 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_32BIT) dev_cntrs 12536 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].offset = dd->ndevcntrs; dev_cntrs 12559 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_DISABLED) { dev_cntrs 12561 drivers/infiniband/hw/hfi1/chip.c } else if (dev_cntrs[i].flags & CNTR_VL) { dev_cntrs 12564 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].name, dev_cntrs 12570 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_32BIT) { dev_cntrs 12577 drivers/infiniband/hw/hfi1/chip.c } else if (dev_cntrs[i].flags & CNTR_SDMA) { dev_cntrs 12580 drivers/infiniband/hw/hfi1/chip.c dev_cntrs[i].name, j); dev_cntrs 12585 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_32BIT) { dev_cntrs 12593 drivers/infiniband/hw/hfi1/chip.c memcpy(p, dev_cntrs[i].name, strlen(dev_cntrs[i].name)); dev_cntrs 12594 drivers/infiniband/hw/hfi1/chip.c p += strlen(dev_cntrs[i].name); dev_cntrs 12597 drivers/infiniband/hw/hfi1/chip.c if (dev_cntrs[i].flags & CNTR_32BIT) {