Lines Matching defs:index
181 uint32_t index, uint32_t *gid, uint32_t *cid)
187 if (group[i].num_countables > index) {
189 *cid = index;
192 index -= group[i].num_countables;
268 * correct group id, countable id, counter register and pass index with
269 * only a counter index provided by applications at each command submit.
271 * Also, since this built data will be sorted by pass index later, we
302 /* Sort by pass index so we could easily prepare a command stream
303 * with the ascending order of pass index.
918 * 0) There's a scratch reg to set a pass index for perf counters query.
919 * Prepare cmd streams to set each pass index to the reg at device
923 * reads the scratch reg where pass index is set.
925 * 2) Pick the right cs setting proper pass index to the reg and prepend
928 * 3) If the pass index in the reg is true, then executes the command
1077 uint32_t index)
1085 emit_begin_xfb_query(cmdbuf, pool, query, index);
1540 uint32_t index)
1548 assert(index <= 4);
1549 emit_end_xfb_query(cmdbuf, pool, query, index);