Lines Matching refs:reggroup
196 * reggroup is which type of counter.
201 fpc_perfcnt_program(int devnum, fire_perfcnt_t reggroup,
213 FPC_DBG1(" devnum:%d, reggroup:%d, new_events:0x%" PRIx64 "\n",
214 devnum, reggroup, new_events);
220 num_counters = counters_per_type[reggroup];
229 if ((rval = fpc_event_io(firehdl, reggroup, &old_events, IS_READ)) !=
231 FPC_DBG1("Read of old event data failed, group:%d\n", reggroup);
237 counter_index = fpc_get_counter_reg_index(reggroup, counter);
244 if ((rval = fpc_counter_io(firehdl, reggroup, counter_index,
251 fpc_event_io(firehdl, reggroup, &new_events, IS_WRITE)) !=
254 reggroup);
268 * reggroup is which type of counter.
273 fpc_perfcnt_read(int devnum, fire_perfcnt_t reggroup,
283 num_counters = counters_per_type[reggroup];
294 if ((rval = fpc_event_io(firehdl, reggroup, event_p, IS_READ)) !=
299 counter_index = fpc_get_counter_reg_index(reggroup, counter);
301 if ((rval = fpc_counter_io(firehdl, reggroup, counter_index,
306 PRIx64 "\n", reggroup, counter, rval, values[counter]);