Lines Matching refs:idx
116 uint64_t amu_group0_cnt_read(unsigned int idx) in amu_group0_cnt_read() argument
119 assert(idx < AMU_GROUP0_NR_COUNTERS); in amu_group0_cnt_read()
121 return amu_group0_cnt_read_internal(idx); in amu_group0_cnt_read()
125 void amu_group0_cnt_write(unsigned int idx, uint64_t val) in amu_group0_cnt_write() argument
128 assert(idx < AMU_GROUP0_NR_COUNTERS); in amu_group0_cnt_write()
130 amu_group0_cnt_write_internal(idx, val); in amu_group0_cnt_write()
136 uint64_t amu_group1_cnt_read(unsigned int idx) in amu_group1_cnt_read() argument
140 assert(idx < AMU_GROUP1_NR_COUNTERS); in amu_group1_cnt_read()
142 return amu_group1_cnt_read_internal(idx); in amu_group1_cnt_read()
146 void amu_group1_cnt_write(unsigned int idx, uint64_t val) in amu_group1_cnt_write() argument
150 assert(idx < AMU_GROUP1_NR_COUNTERS); in amu_group1_cnt_write()
152 amu_group1_cnt_write_internal(idx, val); in amu_group1_cnt_write()
160 void amu_group1_set_evtype(unsigned int idx, unsigned int val) in amu_group1_set_evtype() argument
164 assert(idx < AMU_GROUP1_NR_COUNTERS); in amu_group1_set_evtype()
166 amu_group1_set_evtype_internal(idx, val); in amu_group1_set_evtype()