Home
last modified time | relevance | path

Searched refs:dev_handle (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_feedback.c46 VkDevice dev_handle = vn_device_to_handle(dev); in vn_feedback_buffer_create() local
68 result = vn_CreateBuffer(dev_handle, &buf_create_info, alloc, in vn_feedback_buffer_create()
89 result = vn_AllocateMemory(dev_handle, &mem_alloc_info, alloc, in vn_feedback_buffer_create()
100 result = vn_BindBufferMemory2(dev_handle, 1, &bind_info); in vn_feedback_buffer_create()
104 result = vn_MapMemory(dev_handle, feedback_buf->memory, 0, VK_WHOLE_SIZE, in vn_feedback_buffer_create()
114 vn_FreeMemory(dev_handle, feedback_buf->memory, alloc); in vn_feedback_buffer_create()
117 vn_DestroyBuffer(dev_handle, feedback_buf->buffer, alloc); in vn_feedback_buffer_create()
130 VkDevice dev_handle = vn_device_to_handle(dev); in vn_feedback_buffer_destroy() local
132 vn_UnmapMemory(dev_handle, feedback_buf->memory); in vn_feedback_buffer_destroy()
133 vn_FreeMemory(dev_handle, feedback_buf->memory, alloc); in vn_feedback_buffer_destroy()
[all …]
Dvn_buffer.c87 VkDevice dev_handle = vn_device_to_handle(dev); in vn_buffer_cache_entries_create() local
116 result = vn_CreateBuffer(dev_handle, &local_info, alloc, &buf_handle); in vn_buffer_cache_entries_create()
137 vn_DestroyBuffer(dev_handle, buf_handle, alloc); in vn_buffer_cache_entries_create()
161 VkDevice dev_handle = vn_device_to_handle(dev); in vn_buffer_get_max_buffer_size() local
185 if (vn_CreateBuffer(dev_handle, &create_info, alloc, &buf_handle) == in vn_buffer_get_max_buffer_size()
187 vn_DestroyBuffer(dev_handle, buf_handle, alloc); in vn_buffer_get_max_buffer_size()
294 VkDevice dev_handle = vn_device_to_handle(dev); in vn_buffer_init() local
300 vn_async_vkCreateBuffer(dev->instance, dev_handle, create_info, NULL, in vn_buffer_init()
305 result = vn_call_vkCreateBuffer(dev->instance, dev_handle, create_info, in vn_buffer_init()
317 dev->instance, dev_handle, in vn_buffer_init()
Dvn_device_memory.c30 VkDevice dev_handle = vn_device_to_handle(dev); in vn_device_memory_pool_grow_alloc() local
51 dev->instance, dev_handle, in vn_device_memory_pool_grow_alloc()
84 vn_async_vkFreeMemory(dev->instance, dev_handle, mem_handle, NULL); in vn_device_memory_pool_grow_alloc()
301 VkDevice dev_handle = vn_device_to_handle(dev); in vn_device_memory_alloc_guest_vram() local
328 dev->instance, dev_handle, &memory_allocate_info, NULL, &mem_handle); in vn_device_memory_alloc_guest_vram()
338 vn_async_vkFreeMemory(dev->instance, dev_handle, mem_handle, NULL); in vn_device_memory_alloc_guest_vram()
354 VkDevice dev_handle = vn_device_to_handle(dev); in vn_device_memory_alloc_generic() local
358 result = vn_call_vkAllocateMemory(dev->instance, dev_handle, alloc_info, in vn_device_memory_alloc_generic()
367 vn_async_vkFreeMemory(dev->instance, dev_handle, mem_handle, NULL); in vn_device_memory_alloc_generic()
375 vn_async_vkFreeMemory(dev->instance, dev_handle, mem_handle, NULL); in vn_device_memory_alloc_generic()
Dvn_feedback.h117 vn_feedback_fence_cmd_alloc(VkDevice dev_handle,
123 vn_feedback_fence_cmd_free(VkDevice dev_handle,
Dvn_wsi.c153 VkDevice dev_handle = vn_device_to_handle(dev); in vn_wsi_create_image() local
159 result = vn_GetImageDrmFormatModifierPropertiesEXT(dev_handle, in vn_wsi_create_image()
162 vn_DestroyImage(dev_handle, img_handle, alloc); in vn_wsi_create_image()
Dvn_device.c350 VkDevice dev_handle = vn_device_to_handle(dev); in vn_device_init() local
364 NULL, &dev_handle); in vn_device_init()
417 vn_call_vkDestroyDevice(instance, dev_handle, NULL); in vn_device_init()
Dvn_descriptor_set.c24 VkDevice dev_handle = vn_device_to_handle(dev); in vn_descriptor_set_layout_destroy() local
29 vn_async_vkDestroyDescriptorSetLayout(dev->instance, dev_handle, in vn_descriptor_set_layout_destroy()
123 VkDevice dev_handle = vn_device_to_handle(dev); in vn_descriptor_set_layout_init() local
182 vn_async_vkCreateDescriptorSetLayout(dev->instance, dev_handle, in vn_descriptor_set_layout_init()
Dvn_image.c75 VkDevice dev_handle = vn_device_to_handle(dev); in vn_image_init_memory_requirements() local
79 dev->instance, dev_handle, in vn_image_init_memory_requirements()
94 dev->instance, dev_handle, in vn_image_init_memory_requirements()
Dvn_queue.c536 VkDevice dev_handle = vn_device_to_handle(dev); in vn_fence_feedback_init() local
568 result = vn_feedback_fence_cmd_alloc(dev_handle, &dev->cmd_pools[i], in vn_fence_feedback_init()
572 vn_feedback_fence_cmd_free(dev_handle, &dev->cmd_pools[j], in vn_fence_feedback_init()
596 VkDevice dev_handle = vn_device_to_handle(dev); in vn_fence_feedback_fini() local
602 vn_feedback_fence_cmd_free(dev_handle, &dev->cmd_pools[i], in vn_fence_feedback_fini()
/third_party/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c234 static acpi_handle dev_handle; variable
267 parent_handle, 0, &dev_handle) == 0) { in acpi_init()
268 parent_handle = dev_handle; in acpi_init()
271 status = acpi_get_object_info(dev_handle, &dev_info); in acpi_init()
280 status = acpi_get_parent(dev_handle, &parent_handle); in acpi_init()
300 status = acpi_install_notify_handler(dev_handle, in acpi_test_notify_handler()
305 status = acpi_remove_notify_handler(dev_handle, in acpi_test_notify_handler()