Lines Matching refs:port_cntrs
5059 static struct cntr_entry port_cntrs[PORT_CNTR_LAST] = { variable
12272 entry = &port_cntrs[i]; in hfi1_read_portcntrs()
12458 entry = &port_cntrs[index]; in read_port_cntr()
12478 entry = &port_cntrs[index]; in write_port_cntr()
12556 entry = &port_cntrs[j]; in do_update_synth_timer()
12737 port_cntrs[i].flags |= CNTR_DISABLED; in init_cntrs()
12744 if (port_cntrs[i].flags & CNTR_DISABLED) { in init_cntrs()
12745 hfi1_dbg_early("\tSkipping %s\n", port_cntrs[i].name); in init_cntrs()
12749 if (port_cntrs[i].flags & CNTR_VL) { in init_cntrs()
12750 port_cntrs[i].offset = dd->nportcntrs; in init_cntrs()
12753 port_cntrs[i].name, vl_from_idx(j)); in init_cntrs()
12756 if (port_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12763 sz += strlen(port_cntrs[i].name) + 1; in init_cntrs()
12765 if (port_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12767 port_cntrs[i].offset = dd->nportcntrs; in init_cntrs()
12780 if (port_cntrs[i].flags & CNTR_DISABLED) in init_cntrs()
12783 if (port_cntrs[i].flags & CNTR_VL) { in init_cntrs()
12786 port_cntrs[i].name, vl_from_idx(j)); in init_cntrs()
12791 if (port_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()
12799 memcpy(p, port_cntrs[i].name, in init_cntrs()
12800 strlen(port_cntrs[i].name)); in init_cntrs()
12801 p += strlen(port_cntrs[i].name); in init_cntrs()
12804 if (port_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()