Lines Matching refs:csi

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