Lines Matching defs:counters
92 struct ac_spm_counter_select *cntr_sel = &sq_block_sel->counters[0];
96 /* SQ doesn't support 16-bit counters. */
114 struct ac_spm_counter_select *cntr_sel = &block_sel->counters[i];
145 /* Determine the SPM wire (one wire holds two 16-bit counters). */
184 counter = &spm_trace->counters[spm_trace->num_counters];
218 const struct ac_spm_counter_create_info *counters,
221 spm_trace->counters = CALLOC(num_counters, sizeof(*spm_trace->counters));
222 if (!spm_trace->counters)
226 if (!ac_spm_add_counter(pc, spm_trace, &counters[i])) {
241 /* Count the number of even/odd counters for this segment. */
243 struct ac_spm_counter_info *counter = &spm_trace->counters[c];
306 struct ac_spm_counter_info *counter = &spm_trace->counters[i];
315 spm_trace->muxsel_lines[s][even_line_idx].muxsel[even_counter_idx] = spm_trace->counters[i].muxsel;
324 spm_trace->muxsel_lines[s][odd_line_idx].muxsel[odd_counter_idx] = spm_trace->counters[i].muxsel;
342 FREE(spm_trace->counters);
366 /* Compute the number of 256 bits (16 * 16-bits counters) lines written. */