Lines Matching refs:cdw
111 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0);
112 cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_ZPASS_DONE) | EVENT_INDEX(1);
113 cs->buf[cs->cdw++] = va;
114 cs->buf[cs->cdw++] = (va >> 32UL) & 0xFF;
120 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0);
121 cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_SAMPLE_STREAMOUTSTATS) | EVENT_INDEX(3);
122 cs->buf[cs->cdw++] = va;
123 cs->buf[cs->cdw++] = (va >> 32UL) & 0xFF;
126 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0);
127 cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_CACHE_FLUSH_AND_INV_TS_EVENT) | EVENT_INDEX(5);
128 cs->buf[cs->cdw++] = va;
129 cs->buf[cs->cdw++] = (3 << 29) | ((va >> 32UL) & 0xFF);
130 cs->buf[cs->cdw++] = 0;
131 cs->buf[cs->cdw++] = 0;
136 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0);
137 cs->buf[cs->cdw++] = r600_context_bo_reloc(ctx, query->buffer.buf, RADEON_USAGE_WRITE);
162 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0);
163 cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_ZPASS_DONE) | EVENT_INDEX(1);
164 cs->buf[cs->cdw++] = va;
165 cs->buf[cs->cdw++] = (va >> 32UL) & 0xFF;
171 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0);
172 cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_SAMPLE_STREAMOUTSTATS) | EVENT_INDEX(3);
173 cs->buf[cs->cdw++] = query->buffer.results_end + query->result_size/2;
174 cs->buf[cs->cdw++] = 0;
180 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0);
181 cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_CACHE_FLUSH_AND_INV_TS_EVENT) | EVENT_INDEX(5);
182 cs->buf[cs->cdw++] = va;
183 cs->buf[cs->cdw++] = (3 << 29) | ((va >> 32UL) & 0xFF);
184 cs->buf[cs->cdw++] = 0;
185 cs->buf[cs->cdw++] = 0;
190 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0);
191 cs->buf[cs->cdw++] = r600_context_bo_reloc(ctx, query->buffer.buf, RADEON_USAGE_WRITE);
212 cs->buf[cs->cdw++] = PKT3(PKT3_SET_PREDICATION, 1, 0);
213 cs->buf[cs->cdw++] = 0;
214 cs->buf[cs->cdw++] = PRED_OP(PREDICATION_OP_CLEAR);
237 cs->buf[cs->cdw++] = PKT3(PKT3_SET_PREDICATION, 1, 0);
238 cs->buf[cs->cdw++] = (va + results_base) & 0xFFFFFFFFUL;
239 cs->buf[cs->cdw++] = op | (((va + results_base) >> 32UL) & 0xFF);
240 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0);
241 cs->buf[cs->cdw++] = r600_context_bo_reloc(ctx, qbuf->buf, RADEON_USAGE_READ);