Lines Matching defs:csi
172 struct radeon_cs_int *csi = (struct radeon_cs_int *)cs;
175 for (i = 0; i < csi->bo_count; i++) {
176 if (csi->bos[i].bo == boi &&
177 csi->bos[i].read_domains == read_domains &&
178 csi->bos[i].write_domain == write_domain)
182 i = csi->bo_count;
183 csi->bos[i].bo = boi;
184 csi->bos[i].read_domains = read_domains;
185 csi->bos[i].write_domain = write_domain;
186 csi->bos[i].new_accounted = 0;
187 csi->bo_count++;
189 assert(csi->bo_count < MAX_SPACE_BOS);
216 struct radeon_cs_int *csi = (struct radeon_cs_int *)cs;
229 ret = radeon_cs_check_space_internal(csi, bo ? &temp_bo : NULL);
235 struct radeon_cs_int *csi = (struct radeon_cs_int *)cs;
236 return radeon_cs_check_space_internal(csi, NULL);
241 struct radeon_cs_int *csi = (struct radeon_cs_int *)cs;
243 for (i = 0; i < csi->bo_count; i++) {
244 radeon_bo_unref((struct radeon_bo *)csi->bos[i].bo);
245 csi->bos[i].bo = NULL;
246 csi->bos[i].read_domains = 0;
247 csi->bos[i].write_domain = 0;
248 csi->bos[i].new_accounted = 0;
250 csi->bo_count = 0;