Lines Matching refs:device
40 struct anv_device *device = container_of(vk_device, struct anv_device, vk);
46 return anv_device_alloc_bo(device, "bo-sync", 4096,
57 struct anv_device *device = container_of(vk_device, struct anv_device, vk);
60 anv_device_release_bo(device, sync->bo);
106 struct anv_device *device = container_of(vk_device, struct anv_device, vk);
140 result = anv_device_wait(device, sync->bo, rel_timeout);
163 pthread_mutex_lock(&device->mutex);
184 ret = pthread_cond_timedwait(&device->queue_submit,
185 &device->mutex, &abstime);
188 pthread_mutex_unlock(&device->mutex);
193 pthread_mutex_unlock(&device->mutex);
216 anv_create_sync_for_memory(struct vk_device *device,
224 bo_sync = vk_zalloc(&device->alloc, sizeof(*bo_sync), 8,
227 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);