Searched refs:device (Results 1 - 25 of 1076) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/
H A Dstate_pool.c39 struct anv_device device = { local in function:main
44 pthread_mutex_init(&device.mutex, NULL);
45 anv_bo_cache_init(&device.bo_cache, &device);
48 anv_state_pool_init(&state_pool, &device, "test", 4096, 0, 256);
58 pthread_mutex_destroy(&device.mutex);
H A Dstate_pool_free_list_only.c38 struct anv_device device = { local in function:main
43 pthread_mutex_init(&device.mutex, NULL);
44 anv_bo_cache_init(&device.bo_cache, &device);
45 anv_state_pool_init(&state_pool, &device, "test", 4096, 0, 4096);
67 pthread_mutex_destroy(&device.mutex);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/nir/
H A Dinvocation.hpp32 class device;
34 void check_for_libclc(const device &dev);
37 nir_shader *load_libclc_nir(const device &dev, std::string &r_log);
42 binary spirv_to_nir(const binary &bin, const device &dev, std::string &r_log);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/
H A Dpreemption.c32 * A callback to notify the client application that a device's display has
35 void vlVdpPreemptionCallback(VdpDevice device, void *context) argument
43 VdpStatus vlVdpPreemptionCallbackRegister(VdpDevice device, argument
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/
H A Dpreemption.c32 * A callback to notify the client application that a device's display has
35 void vlVdpPreemptionCallback(VdpDevice device, void *context) argument
43 VdpStatus vlVdpPreemptionCallbackRegister(VdpDevice device, argument
/xsrc/external/mit/libdrm/dist/tests/util/
H A Dkms.h32 int util_open(const char *device, const char *module);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/llvm/
H A Dinvocation.hpp35 const device &device,
40 const device &device,
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/tests/
H A Dstate_pool.c40 struct anv_device device = { local in function:main
45 pthread_mutex_init(&device.mutex, NULL);
48 anv_state_pool_init(&state_pool, &device, 4096, 256, 0);
58 pthread_mutex_destroy(&device.mutex);
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_object.c34 vk_object_base_init(struct vk_device *device, argument
40 base->device = device;
52 vk_free(&base->device->alloc, base->object_name);
56 vk_object_alloc(struct vk_device *device, argument
61 void *ptr = vk_alloc2(&device->alloc, alloc, size, 8,
66 vk_object_base_init(device, (struct vk_object_base *)ptr, obj_type);
72 vk_object_zalloc(struct vk_device *device, argument
77 void *ptr = vk_zalloc2(&device->alloc, alloc, size, 8,
82 vk_object_base_init(device, (struc
88 vk_object_multialloc(struct vk_device * device,struct vk_multialloc * ma,const VkAllocationCallbacks * alloc,VkObjectType obj_type) argument
104 vk_object_multizalloc(struct vk_device * device,struct vk_multialloc * ma,const VkAllocationCallbacks * alloc,VkObjectType obj_type) argument
120 vk_object_free(struct vk_device * device,const VkAllocationCallbacks * alloc,void * data) argument
129 vk_private_data_slot_create(struct vk_device * device,const VkPrivateDataSlotCreateInfoEXT * pCreateInfo,const VkAllocationCallbacks * pAllocator,VkPrivateDataSlotEXT * pPrivateDataSlot) argument
150 vk_private_data_slot_destroy(struct vk_device * device,VkPrivateDataSlotEXT privateDataSlot,const VkAllocationCallbacks * pAllocator) argument
164 get_swapchain_private_data_locked(struct vk_device * device,uint64_t objectHandle,struct vk_private_data_slot * slot,uint64_t ** private_data) argument
202 vk_object_base_private_data(struct vk_device * device,VkObjectType objectType,uint64_t objectHandle,VkPrivateDataSlotEXT privateDataSlot,uint64_t ** private_data) argument
236 vk_object_base_set_private_data(struct vk_device * device,VkObjectType objectType,uint64_t objectHandle,VkPrivateDataSlotEXT privateDataSlot,uint64_t data) argument
255 vk_object_base_get_private_data(struct vk_device * device,VkObjectType objectType,uint64_t objectHandle,VkPrivateDataSlotEXT privateDataSlot,uint64_t * pData) argument
[all...]
H A Dvk_queue.h95 vk_queue_init(struct vk_queue *queue, struct vk_device *device,
102 #define vk_foreach_queue(queue, device) \
103 list_for_each_entry(struct vk_queue, queue, &(device)->queues, link)
105 #define vk_foreach_queue_safe(queue, device) \
106 list_for_each_entry_safe(struct vk_queue, queue, &(device)->queues, link)
/xsrc/external/mit/libdrm/dist/tests/
H A Ddrmdevice.c36 print_device_info(drmDevicePtr device, int i, bool print_revision) argument
38 printf("device[%i]\n", i);
39 printf("+-> available_nodes %#04x\n", device->available_nodes);
42 if (device->available_nodes & 1 << j)
43 printf("| +-> nodes[%d] %s\n", j, device->nodes[j]);
45 printf("+-> bustype %04x\n", device->bustype);
46 if (device->bustype == DRM_BUS_PCI) {
48 printf("| +-> domain %04x\n",device->businfo.pci->domain);
49 printf("| +-> bus %02x\n", device->businfo.pci->bus);
50 printf("| +-> dev %02x\n", device
111 drmDevicePtr device; local in function:main
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_gem_stubs.c31 anv_gem_create(struct anv_device *device, uint64_t size) argument
43 anv_gem_close(struct anv_device *device, uint32_t gem_handle) argument
49 anv_gem_create_regions(struct anv_device *device, uint64_t anv_bo_size, argument
57 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, argument
71 anv_gem_munmap(struct anv_device *device, void *p, uint64_t size) argument
77 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) argument
89 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) argument
95 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) argument
101 anv_gem_execbuffer(struct anv_device *device, argument
108 anv_gem_set_tiling(struct anv_device *device, argument
115 anv_gem_get_tiling(struct anv_device * device,uint32_t gem_handle) argument
121 anv_gem_set_caching(struct anv_device * device,uint32_t gem_handle,uint32_t caching) argument
128 anv_gem_set_domain(struct anv_device * device,uint32_t gem_handle,uint32_t read_domains,uint32_t write_domain) argument
153 anv_gem_create_context(struct anv_device * device) argument
159 anv_gem_destroy_context(struct anv_device * device,int context) argument
190 anv_gem_handle_to_fd(struct anv_device * device,uint32_t gem_handle) argument
196 anv_gem_fd_to_handle(struct anv_device * device,int fd) argument
202 anv_gem_sync_file_merge(struct anv_device * device,int fd1,int fd2) argument
208 anv_gem_syncobj_export_sync_file(struct anv_device * device,uint32_t handle) argument
214 anv_gem_syncobj_import_sync_file(struct anv_device * device,uint32_t handle,int fd) argument
221 anv_gem_syncobj_create(struct anv_device * device,uint32_t flags) argument
227 anv_gem_syncobj_destroy(struct anv_device * device,uint32_t handle) argument
233 anv_gem_syncobj_handle_to_fd(struct anv_device * device,uint32_t handle) argument
239 anv_gem_syncobj_fd_to_handle(struct anv_device * device,int fd) argument
245 anv_gem_syncobj_reset(struct anv_device * device,uint32_t handle) argument
264 anv_gem_create_context_engines(struct anv_device * device,const struct drm_i915_query_engine_info * info,int num_engines,uint16_t * engine_classes) argument
286 anv_gem_syncobj_wait(struct anv_device * device,const uint32_t * handles,uint32_t num_handles,int64_t abs_timeout_ns,bool wait_all) argument
300 anv_gem_syncobj_timeline_wait(struct anv_device * device,const uint32_t * handles,const uint64_t * points,uint32_t num_items,int64_t abs_timeout_ns,bool wait_all,bool wait_materialize) argument
309 anv_gem_syncobj_timeline_signal(struct anv_device * device,const uint32_t * handles,const uint64_t * points,uint32_t num_items) argument
317 anv_gem_syncobj_timeline_query(struct anv_device * device,const uint32_t * handles,uint64_t * points,uint32_t num_items) argument
[all...]
H A Danv_device.c92 struct anv_device *device = (struct anv_device *)data; local in function:compiler_debug_log
93 struct anv_instance *instance = device->physical->instance;
170 get_device_extensions(const struct anv_physical_device *device, argument
174 .KHR_8bit_storage = device->info.ver >= 8,
175 .KHR_16bit_storage = device->info.ver >= 8,
177 .KHR_buffer_device_address = device->has_a64_buffer_access,
187 .KHR_external_fence = device->has_syncobj_wait,
188 .KHR_external_fence_fd = device->has_syncobj_wait,
194 .KHR_fragment_shading_rate = device->info.ver >= 11,
207 device
309 anv_compute_sys_heap_size(struct anv_physical_device * device,uint64_t total_ram) argument
342 anv_gather_meminfo(struct anv_physical_device * device,int fd,bool update) argument
417 anv_init_meminfo(struct anv_physical_device * device,int fd) argument
423 anv_update_meminfo(struct anv_physical_device * device,int fd) argument
431 anv_physical_device_init_heaps(struct anv_physical_device * device,int fd) argument
551 anv_physical_device_init_uuids(struct anv_physical_device * device) argument
597 anv_physical_device_init_disk_cache(struct anv_physical_device * device) argument
617 anv_physical_device_free_disk_cache(struct anv_physical_device * device) argument
787 struct anv_physical_device *device = local in function:anv_physical_device_try_create
1001 anv_genX(&device->info, init_physical_device_state)(device); local in function:anv_physical_device_try_create
1046 anv_physical_device_destroy(struct anv_physical_device * device) argument
2652 anv_GetDeviceGroupPeerMemoryFeatures(VkDevice device,uint32_t heapIndex,uint32_t localDeviceIndex,uint32_t remoteDeviceIndex,VkPeerMemoryFeatureFlags * pPeerMemoryFeatures) argument
2720 anv_device_init_border_colors(struct anv_device * device) argument
2752 anv_device_init_trivial_batch(struct anv_device * device) argument
2816 struct anv_device *device = v_batch; local in function:decode_get_bo
2863 struct anv_device *device = (struct anv_device*)driver_ctx; local in function:intel_aux_map_buffer_alloc
2881 struct anv_device *device = (struct anv_device*)driver_ctx; local in function:intel_aux_map_buffer_free
2900 struct anv_device *device; local in function:anv_CreateDevice
3407 _anv_device_report_lost(struct anv_device * device) argument
3424 _anv_device_set_lost(struct anv_device * device,const char * file,int line,const char * msg,...) argument
3475 anv_device_query_status(struct anv_device * device) argument
3502 anv_device_bo_busy(struct anv_device * device,struct anv_bo * bo) argument
3526 anv_device_wait(struct anv_device * device,struct anv_bo * bo,int64_t timeout) argument
3546 anv_vma_alloc(struct anv_device * device,uint64_t size,uint64_t align,enum anv_bo_alloc_flags alloc_flags,uint64_t client_address) argument
3584 anv_vma_free(struct anv_device * device,uint64_t address,uint64_t size) argument
4058 clflush_mapped_ranges(struct anv_device * device,uint32_t count,const VkMappedMemoryRange * ranges) argument
4112 anv_GetDeviceMemoryCommitment(VkDevice device,VkDeviceMemory memory,VkDeviceSize * pCommittedMemoryInBytes) argument
4140 anv_BindBufferMemory2(VkDevice device,uint32_t bindInfoCount,const VkBindBufferMemoryInfo * pBindInfos) argument
4245 anv_get_buffer_memory_requirements(struct anv_device * device,VkDeviceSize size,VkBufferUsageFlags usage,VkMemoryRequirements2 * pMemoryRequirements) argument
4371 anv_GetBufferDeviceAddress(VkDevice device,const VkBufferDeviceAddressInfoKHR * pInfo) argument
4383 anv_GetBufferOpaqueCaptureAddress(VkDevice device,const VkBufferDeviceAddressInfoKHR * pInfo) argument
4390 anv_GetDeviceMemoryOpaqueCaptureAddress(VkDevice device,const VkDeviceMemoryOpaqueCaptureAddressInfoKHR * pInfo) argument
4403 anv_fill_buffer_surface_state(struct anv_device * device,struct anv_state state,enum isl_format format,isl_surf_usage_flags_t usage,struct anv_address address,uint32_t range,uint32_t stride) argument
[all...]
H A Danv_wsi_display.c36 ANV_FROM_HANDLE(anv_device, device, _device);
40 fence = vk_object_zalloc(&device->vk, allocator, sizeof (*fence),
43 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
48 &device->physical->wsi_device,
56 vk_free2(&device->vk.alloc, allocator, fence);
67 ANV_FROM_HANDLE(anv_device, device, _device);
71 fence = vk_object_zalloc(&device->vk, allocator, sizeof (*fence),
79 _device, &device->physical->wsi_device,
85 vk_free2(&device->vk.alloc, allocator, fence);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/
H A Dinvocation.hpp35 const device &device,
40 const device &device,
47 const device &dev,
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_sqtt.c39 radv_se_is_disabled(struct radv_device *device, unsigned se) argument
42 return device->physical_device->rad_info.cu_mask[se][0] == 0;
46 gfx10_get_thread_trace_ctrl(struct radv_device *device, bool enable) argument
54 if (device->physical_device->rad_info.chip_class == GFX10_3)
61 radv_emit_thread_trace_start(struct radv_device *device, struct radeon_cmdbuf *cs, argument
64 uint32_t shifted_size = device->thread_trace.buffer_size >> SQTT_BUFFER_ALIGN_SHIFT;
65 struct radeon_info *rad_info = &device->physical_device->rad_info;
69 uint64_t va = radv_buffer_get_va(device->thread_trace.bo);
70 uint64_t data_va = ac_thread_trace_get_data_va(rad_info, &device->thread_trace, va, se);
72 int first_active_cu = ffs(device
208 radv_copy_thread_trace_info_regs(struct radv_device * device,struct radeon_cmdbuf * cs,unsigned se_index) argument
239 radv_emit_thread_trace_stop(struct radv_device * device,struct radeon_cmdbuf * cs,uint32_t queue_family_index) argument
315 radv_emit_thread_trace_userdata(const struct radv_device * device,struct radeon_cmdbuf * cs,const void * data,uint32_t num_dwords) argument
339 radv_emit_spi_config_cntl(struct radv_device * device,struct radeon_cmdbuf * cs,bool enable) argument
359 radv_emit_inhibit_clockgating(struct radv_device * device,struct radeon_cmdbuf * cs,bool inhibit) argument
371 radv_emit_wait_for_idle(struct radv_device * device,struct radeon_cmdbuf * cs,int family) argument
386 radv_thread_trace_init_bo(struct radv_device * device) argument
424 radv_thread_trace_finish_bo(struct radv_device * device) argument
435 radv_thread_trace_init(struct radv_device * device) argument
464 radv_thread_trace_finish(struct radv_device * device) argument
489 radv_thread_trace_resize_bo(struct radv_device * device) argument
509 struct radv_device *device = queue->device; local in function:radv_begin_thread_trace
565 struct radv_device *device = queue->device; local in function:radv_end_thread_trace
621 struct radv_device *device = queue->device; local in function:radv_get_thread_trace
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Ddevice.cpp24 #include "core/device.hpp"
45 device::device(clover::platform &platform, pipe_loader_device *ldev) : function in class:device
56 device::~device() {
64 device::operator==(const device &dev) const {
69 device::type() const {
77 unreachable("Unknown device type.");
82 device
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86platformBus.h64 xf86_platform_device_odev_attributes(struct xf86_platform_device *device) argument
66 return device->attribs;
72 struct xf86_platform_device *device = &xf86_platform_devices[index]; local in function:xf86_platform_odev_attributes
74 return device->attribs;
82 /* path to kernel device node - Linux e.g. /dev/dri/card0 */
84 /* system device path - Linux e.g. /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 */
90 /* Major number of the device node pointed to by ODEV_ATTRIB_PATH */
92 /* Minor number of the device node pointed to by ODEV_ATTRIB_PATH */
110 _xf86_get_platform_device_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]) argument
114 return xf86_platform_device_odev_attributes(device)
135 _xf86_get_platform_device_int_attrib(struct xf86_platform_device * device,int attrib,int (* fake)[0]) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_bo.c46 bo_dump_stats(struct v3dv_device *device) argument
48 struct v3dv_bo_cache *cache = &device->bo_cache;
50 fprintf(stderr, " BOs allocated: %d\n", device->bo_count);
51 fprintf(stderr, " BOs size: %dkb\n", device->bo_size / 1024);
95 bo_from_cache(struct v3dv_device *device, uint32_t size, const char *name) argument
97 struct v3dv_bo_cache *cache = &device->bo_cache;
114 if (!v3dv_bo_wait(device, bo, 0)) {
128 bo_free(struct v3dv_device *device, argument
135 v3dv_bo_unmap(device, bo);
140 int ret = v3dv_ioctl(device
161 bo_cache_free_all(struct v3dv_device * device,bool with_lock) argument
199 v3dv_bo_alloc(struct v3dv_device * device,uint32_t size,const char * name,bool private) argument
268 v3dv_bo_map_unsynchronized(struct v3dv_device * device,struct v3dv_bo * bo,uint32_t size) argument
302 v3dv_bo_wait(struct v3dv_device * device,struct v3dv_bo * bo,uint64_t timeout_ns) argument
315 v3dv_bo_map(struct v3dv_device * device,struct v3dv_bo * bo,uint32_t size) argument
333 v3dv_bo_unmap(struct v3dv_device * device,struct v3dv_bo * bo) argument
344 reallocate_size_list(struct v3dv_bo_cache * cache,struct v3dv_device * device,uint32_t size) argument
383 v3dv_bo_cache_init(struct v3dv_device * device) argument
409 v3dv_bo_cache_destroy(struct v3dv_device * device) argument
422 free_stale_bos(struct v3dv_device * device,time_t time) argument
452 v3dv_bo_free(struct v3dv_device * device,struct v3dv_bo * bo) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_gem_stubs.c39 anv_gem_create(struct anv_device *device, uint64_t size) argument
54 anv_gem_close(struct anv_device *device, uint32_t gem_handle) argument
60 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, argument
80 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) argument
86 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) argument
92 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) argument
98 anv_gem_execbuffer(struct anv_device *device, argument
105 anv_gem_set_tiling(struct anv_device *device, argument
112 anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle, argument
119 anv_gem_set_domain(struct anv_device *device, uint32_ argument
138 anv_gem_create_context(struct anv_device * device) argument
144 anv_gem_destroy_context(struct anv_device * device,int context) argument
174 anv_gem_gpu_get_reset_stats(struct anv_device * device,uint32_t * active,uint32_t * pending) argument
181 anv_gem_handle_to_fd(struct anv_device * device,uint32_t gem_handle) argument
187 anv_gem_fd_to_handle(struct anv_device * device,int fd) argument
193 anv_gem_sync_file_merge(struct anv_device * device,int fd1,int fd2) argument
199 anv_gem_syncobj_export_sync_file(struct anv_device * device,uint32_t handle) argument
205 anv_gem_syncobj_import_sync_file(struct anv_device * device,uint32_t handle,int fd) argument
212 anv_gem_syncobj_create(struct anv_device * device,uint32_t flags) argument
218 anv_gem_syncobj_destroy(struct anv_device * device,uint32_t handle) argument
224 anv_gem_syncobj_handle_to_fd(struct anv_device * device,uint32_t handle) argument
230 anv_gem_syncobj_fd_to_handle(struct anv_device * device,int fd) argument
236 anv_gem_syncobj_reset(struct anv_device * device,uint32_t handle) argument
248 anv_gem_syncobj_wait(struct anv_device * device,uint32_t * handles,uint32_t num_handles,int64_t abs_timeout_ns,bool wait_all) argument
256 anv_gem_reg_read(struct anv_device * device,uint32_t offset,uint64_t * result) argument
[all...]
/xsrc/external/mit/xinput/dist/src/
H A Dsetmode.c35 XDevice *device; local in function:set_mode
46 fprintf(stderr, "unable to find device '%s'\n", argv[0]);
59 device = XOpenDevice(display, info->id);
61 if (device) {
62 XSetDeviceMode(display, device, mode);
66 fprintf(stderr, "Unable to open device\n");
H A Dsetptr.c34 XDevice *device; local in function:set_pointer
51 fprintf(stderr, "unable to find device '%s'\n", argv[0]);
55 device = XOpenDevice(display, info->id);
57 if (device) {
58 XChangePointerDevice(display, device, xaxis, yaxis);
62 fprintf(stderr, "Unable to open device\n");
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_screen.h37 struct nouveau_device *device; member in struct:nouveau_screen
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_screen.h37 struct nouveau_device *device; member in struct:nouveau_screen
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_wsi.c73 RADV_FROM_HANDLE(radv_physical_device, device, physicalDevice);
75 return wsi_common_get_surface_support(&device->wsi_device,
86 RADV_FROM_HANDLE(radv_physical_device, device, physicalDevice);
88 return wsi_common_get_surface_capabilities(&device->wsi_device,
98 RADV_FROM_HANDLE(radv_physical_device, device, physicalDevice);
100 return wsi_common_get_surface_capabilities2(&device->wsi_device,
110 RADV_FROM_HANDLE(radv_physical_device, device, physicalDevice);
112 return wsi_common_get_surface_capabilities2ext(&device->wsi_device,
123 RADV_FROM_HANDLE(radv_physical_device, device, physicalDevice);
125 return wsi_common_get_surface_formats(&device
195 radv_GetSwapchainImagesKHR(VkDevice device,VkSwapchainKHR swapchain,uint32_t * pSwapchainImageCount,VkImage * pSwapchainImages) argument
206 radv_AcquireNextImageKHR(VkDevice device,VkSwapchainKHR swapchain,uint64_t timeout,VkSemaphore semaphore,VkFence fence,uint32_t * pImageIndex) argument
265 radv_GetDeviceGroupPresentCapabilitiesKHR(VkDevice device,VkDeviceGroupPresentCapabilitiesKHR * pCapabilities) argument
277 radv_GetDeviceGroupSurfacePresentModesKHR(VkDevice device,VkSurfaceKHR surface,VkDeviceGroupPresentModeFlagsKHR * pModes) argument
[all...]

Completed in 31 milliseconds

1234567891011>>