Lines Matching refs:port_cntrs
5058 static struct cntr_entry port_cntrs[PORT_CNTR_LAST] = { variable
12270 entry = &port_cntrs[i]; in hfi1_read_portcntrs()
12455 entry = &port_cntrs[index]; in read_port_cntr()
12475 entry = &port_cntrs[index]; in write_port_cntr()
12553 entry = &port_cntrs[j]; in do_update_synth_timer()
12734 port_cntrs[i].flags |= CNTR_DISABLED; in init_cntrs()
12741 if (port_cntrs[i].flags & CNTR_DISABLED) { in init_cntrs()
12742 hfi1_dbg_early("\tSkipping %s\n", port_cntrs[i].name); in init_cntrs()
12746 if (port_cntrs[i].flags & CNTR_VL) { in init_cntrs()
12747 port_cntrs[i].offset = dd->nportcntrs; in init_cntrs()
12750 port_cntrs[i].name, vl_from_idx(j)); in init_cntrs()
12753 if (port_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12760 sz += strlen(port_cntrs[i].name) + 1; in init_cntrs()
12762 if (port_cntrs[i].flags & CNTR_32BIT) in init_cntrs()
12764 port_cntrs[i].offset = dd->nportcntrs; in init_cntrs()
12777 if (port_cntrs[i].flags & CNTR_DISABLED) in init_cntrs()
12780 if (port_cntrs[i].flags & CNTR_VL) { in init_cntrs()
12783 port_cntrs[i].name, vl_from_idx(j)); in init_cntrs()
12788 if (port_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()
12796 memcpy(p, port_cntrs[i].name, in init_cntrs()
12797 strlen(port_cntrs[i].name)); in init_cntrs()
12798 p += strlen(port_cntrs[i].name); in init_cntrs()
12801 if (port_cntrs[i].flags & CNTR_32BIT) { in init_cntrs()