Lines Matching refs:dev_cntrs

4092 static struct cntr_entry dev_cntrs[DEV_CNTR_LAST] = {  variable
12206 entry = &dev_cntrs[i]; in hfi1_read_cntrs()
12430 entry = &dev_cntrs[index]; in read_dev_cntr()
12444 entry = &dev_cntrs[index]; in write_dev_cntr()
12511 entry = &dev_cntrs[C_DC_RCV_FLITS]; in do_update_synth_timer()
12514 entry = &dev_cntrs[C_DC_XMIT_FLITS]; in do_update_synth_timer()
12545 entry = &dev_cntrs[i]; in do_update_synth_timer()
12572 entry = &dev_cntrs[C_DC_XMIT_FLITS]; in do_update_synth_timer()
12576 entry = &dev_cntrs[C_DC_RCV_FLITS]; in do_update_synth_timer()
12620 if (dev_cntrs[i].flags & CNTR_DISABLED) { in init_cntrs()
12621 hfi1_dbg_early("\tSkipping %s\n", dev_cntrs[i].name); in init_cntrs()
12625 if (dev_cntrs[i].flags & CNTR_VL) { in init_cntrs()
12626 dev_cntrs[i].offset = dd->ndevcntrs; in init_cntrs()
12629 dev_cntrs[i].name, vl_from_idx(j)); in init_cntrs()
12632 if (dev_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12637 } else if (dev_cntrs[i].flags & CNTR_SDMA) { in init_cntrs()
12638 dev_cntrs[i].offset = dd->ndevcntrs; in init_cntrs()
12641 dev_cntrs[i].name, j); in init_cntrs()
12644 if (dev_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12651 sz += strlen(dev_cntrs[i].name) + 1; in init_cntrs()
12653 if (dev_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12655 dev_cntrs[i].offset = dd->ndevcntrs; in init_cntrs()
12678 if (dev_cntrs[i].flags & CNTR_DISABLED) { in init_cntrs()
12680 } else if (dev_cntrs[i].flags & CNTR_VL) { in init_cntrs()
12683 dev_cntrs[i].name, in init_cntrs()
12689 if (dev_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()
12696 } else if (dev_cntrs[i].flags & CNTR_SDMA) { in init_cntrs()
12699 dev_cntrs[i].name, j); in init_cntrs()
12704 if (dev_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()
12712 memcpy(p, dev_cntrs[i].name, strlen(dev_cntrs[i].name)); in init_cntrs()
12713 p += strlen(dev_cntrs[i].name); in init_cntrs()
12716 if (dev_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()