Home
last modified time | relevance | path

Searched refs:counter_index (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/sun4/io/fpc/
H A Dfpc-impl.c204 int counter_index; in fpc_perfcnt_program() local
237 counter_index = fpc_get_counter_reg_index(reggroup, counter); in fpc_perfcnt_program()
239 if ((old_events & event_field_mask[counter_index]) == in fpc_perfcnt_program()
240 (new_events & event_field_mask[counter_index])) in fpc_perfcnt_program()
243 FPC_DBG1("Zeroing counter %d\n", counter_index); in fpc_perfcnt_program()
244 if ((rval = fpc_counter_io(firehdl, reggroup, counter_index, in fpc_perfcnt_program()
277 int counter_index; in fpc_perfcnt_read() local
299 counter_index = fpc_get_counter_reg_index(reggroup, counter); in fpc_perfcnt_read()
301 if ((rval = fpc_counter_io(firehdl, reggroup, counter_index, in fpc_perfcnt_read()
H A Dfpc-impl.h60 int counter_index, uint64_t *value, boolean_t is_write);
/titanic_41/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c296 int counter_index, uint64_t *value, boolean_t is_write) in fpc_counter_io() argument
313 prg.offset = counter_reg_offsets[counter_index] - in fpc_counter_io()
317 prg.offset = counter_reg_offsets[counter_index]; in fpc_counter_io()
/titanic_41/usr/src/uts/sun4v/io/fpc/
H A Dfpc-impl-4v.c265 int counter_index, uint64_t *reg_data, boolean_t is_write) in fpc_counter_io() argument
267 uint64_t hv_if_index = counter_reg_index[counter_index]; in fpc_counter_io()