/external/vulkan-validation-layers/loader/ |
D | dev_ext_trampoline.c | 27 VKAPI_ATTR void VKAPI_CALL vkdev_ext0(VkDevice device) { in vkdev_ext0() argument 29 disp = loader_get_dev_dispatch(device); in vkdev_ext0() 30 disp->ext_dispatch.dev_ext[0](device); in vkdev_ext0() 33 VKAPI_ATTR void VKAPI_CALL vkdev_ext1(VkDevice device) { in vkdev_ext1() argument 35 disp = loader_get_dev_dispatch(device); in vkdev_ext1() 36 disp->ext_dispatch.dev_ext[1](device); in vkdev_ext1() 39 VKAPI_ATTR void VKAPI_CALL vkdev_ext2(VkDevice device) { in vkdev_ext2() argument 41 disp = loader_get_dev_dispatch(device); in vkdev_ext2() 42 disp->ext_dispatch.dev_ext[2](device); in vkdev_ext2() 45 VKAPI_ATTR void VKAPI_CALL vkdev_ext3(VkDevice device) { in vkdev_ext3() argument [all …]
|
/external/libdrm/tests/kms/ |
D | libkms-test-device.c | 55 static void kms_device_probe_screens(struct kms_device *device) in kms_device_probe_screens() argument 64 res = drmModeGetResources(device->fd); in kms_device_probe_screens() 68 device->screens = calloc(res->count_connectors, sizeof(screen)); in kms_device_probe_screens() 69 if (!device->screens) in kms_device_probe_screens() 77 screen = kms_screen_create(device, res->connectors[i]); in kms_device_probe_screens() 96 device->screens[i] = screen; in kms_device_probe_screens() 97 device->num_screens++; in kms_device_probe_screens() 103 static void kms_device_probe_crtcs(struct kms_device *device) in kms_device_probe_crtcs() argument 109 res = drmModeGetResources(device->fd); in kms_device_probe_crtcs() 113 device->crtcs = calloc(res->count_crtcs, sizeof(crtc)); in kms_device_probe_crtcs() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkInterface.cpp | 12 #define ACQUIRE_PROC(name, instance, device) fFunctions.f##name = \ argument 13 reinterpret_cast<PFN_vk##name>(getProc("vk"#name, instance, device)); 17 return [&iproc, &dproc](const char* proc_name, VkInstance instance, VkDevice device) { in make_unified_getter() argument 18 if (device != VK_NULL_HANDLE) { in make_unified_getter() 19 return dproc(device, proc_name); in make_unified_getter() 28 VkDevice device, in GrVkInterface() argument 32 device, in GrVkInterface() 37 VkDevice device, in GrVkInterface() argument 70 ACQUIRE_PROC(GetDeviceQueue, VK_NULL_HANDLE, device); in GrVkInterface() 71 ACQUIRE_PROC(QueueSubmit, VK_NULL_HANDLE, device); in GrVkInterface() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | provision_devices.py | 150 def ProvisionDevice(device, steps, blacklist, reboot_timeout=None): argument 153 if device.build_version_sdk >= version_codes.LOLLIPOP: 160 device.WaitUntilFullyBooted(timeout=reboot_timeout, retries=0) 163 device.Reboot(timeout=reboot_timeout) 164 step.cmd(device) 166 device.Reboot(False, retries=0) 167 device.adb.WaitForDevice() 171 str(device)) 173 blacklist.Extend([str(device)], reason='provision_timeout') 178 str(device)) [all …]
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | device_utils_test.py | 163 self.device = device_utils.DeviceUtils( 171 args, output, status, msg, str(self.device))) 177 msg, str(self.device))) 182 cmd, output, status, str(self.device)) 191 msg, str(self.device))) 196 return (self.call.device.RunShellCommand( 204 self.assertTrue(self.device == other) 205 self.assertTrue(other == self.device) 209 self.assertTrue(self.device == other) 210 self.assertTrue(other == self.device) [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils_test.py | 164 self.device = device_utils.DeviceUtils( 172 args, output, status, msg, str(self.device))) 178 msg, str(self.device))) 183 cmd, output, status, str(self.device)) 192 msg, str(self.device))) 197 return (self.call.device.RunShellCommand( 206 self.assertTrue(self.device == other) 207 self.assertTrue(other == self.device) 211 self.assertTrue(self.device == other) 212 self.assertTrue(other == self.device) [all …]
|
/external/skia/src/core/ |
D | SkBlitter_ARGB32.cpp | 17 static void SkARGB32_Blit32(const SkPixmap& device, const SkMask& mask, in SkARGB32_Blit32() argument 31 SkPMColor* dstRow = device.writable_addr32(x, y); in SkARGB32_Blit32() 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); in SkARGB32_Blit32() 43 SkARGB32_Blitter::SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint) in SkARGB32_Blitter() argument 44 : INHERITED(device) { in SkARGB32_Blitter() 73 uint32_t* device = fDevice.writable_addr32(x, y); in blitH() local 74 SkBlitRow::Color32(device, device, width, fPMColor); in blitH() 84 uint32_t* device = fDevice.writable_addr32(x, y); in blitAntiH() local 96 sk_memset32(device, color, count); in blitAntiH() 99 SkBlitRow::Color32(device, device, count, sc); in blitAntiH() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 86 anv_physical_device_init(struct anv_physical_device *device, in anv_physical_device_init() argument 97 device->_loader_data.loaderMagic = ICD_LOADER_MAGIC; in anv_physical_device_init() 98 device->instance = instance; in anv_physical_device_init() 100 assert(strlen(path) < ARRAY_SIZE(device->path)); in anv_physical_device_init() 101 strncpy(device->path, path, ARRAY_SIZE(device->path)); in anv_physical_device_init() 103 device->chipset_id = anv_gem_get_param(fd, I915_PARAM_CHIPSET_ID); in anv_physical_device_init() 104 if (!device->chipset_id) { in anv_physical_device_init() 109 device->name = gen_get_device_name(device->chipset_id); in anv_physical_device_init() 110 if (!gen_get_device_info(device->chipset_id, &device->info)) { in anv_physical_device_init() 115 if (device->info.is_haswell) { in anv_physical_device_init() [all …]
|
/external/syslinux/gpxe/src/drivers/nvs/ |
D | threewire.c | 44 struct spi_device *device = nvs_to_spi ( nvs ); in threewire_read() local 45 struct spi_bus *bus = device->bus; in threewire_read() 50 DBGC ( device, "3wire %p reading %zd bytes at %04x\n", in threewire_read() 51 device, len, address ); in threewire_read() 53 if ( ( rc = bus->rw ( bus, device, THREEWIRE_READ, address, in threewire_read() 55 DBGC ( device, "3wire %p could not read: %s\n", in threewire_read() 56 device, strerror ( rc ) ); in threewire_read() 74 struct spi_device *device = nvs_to_spi ( nvs ); in threewire_write() local 75 struct spi_bus *bus = device->bus; in threewire_write() 80 DBGC ( device, "3wire %p writing %zd bytes at %04x\n", in threewire_write() [all …]
|
D | spi.c | 57 static int spi_wait ( struct spi_device *device ) { in spi_wait() argument 58 struct spi_bus *bus = device->bus; in spi_wait() 65 if ( ( rc = bus->rw ( bus, device, SPI_RDSR, -1, NULL, in spi_wait() 71 DBG ( "SPI %p timed out\n", device ); in spi_wait() 86 struct spi_device *device = nvs_to_spi ( nvs ); in spi_read() local 87 struct spi_bus *bus = device->bus; in spi_read() 89 device->munge_address ); in spi_read() 92 DBG ( "SPI %p reading %zd bytes from %#04x\n", device, len, address ); in spi_read() 93 if ( ( rc = bus->rw ( bus, device, command, address, in spi_read() 95 DBG ( "SPI %p failed to read data from device\n", device ); in spi_read() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | spi.h | 152 int ( * rw ) ( struct spi_bus *bus, struct spi_device *device, 212 init_spi ( struct spi_device *device ) { in init_spi() argument 213 device->nvs.word_len_log2 = 0; in init_spi() 214 device->command_len = 8, in init_spi() 215 device->nvs.read = spi_read; in init_spi() 216 device->nvs.write = spi_write; in init_spi() 221 init_at25f1024 ( struct spi_device *device ) { in init_at25f1024() argument 222 device->address_len = 24; in init_at25f1024() 223 device->nvs.size = ( 128 * 1024 ); in init_at25f1024() 224 device->nvs.block_size = 256; in init_at25f1024() [all …]
|
D | threewire.h | 48 extern int threewire_detect_address_len ( struct spi_device *device ); 56 init_at93cx6 ( struct spi_device *device, unsigned int organisation ) { in init_at93cx6() argument 57 device->nvs.word_len_log2 = ( ( organisation == 8 ) ? 0 : 1 ); in init_at93cx6() 58 device->nvs.block_size = 1; in init_at93cx6() 59 device->command_len = 3, in init_at93cx6() 60 device->nvs.read = threewire_read; in init_at93cx6() 61 device->nvs.write = threewire_write; in init_at93cx6() 71 init_at93c46 ( struct spi_device *device, unsigned int organisation ) { in init_at93c46() argument 72 device->nvs.size = ( 1024 / organisation ); in init_at93c46() 73 device->address_len = ( ( organisation == 8 ) ? 7 : 6 ); in init_at93c46() [all …]
|
/external/libdrm/tests/ |
D | drmdevice.c | 36 print_device_info(drmDevicePtr device, int i, bool print_revision) in print_device_info() argument 39 printf("\tavailable_nodes %04x\n", device->available_nodes); in print_device_info() 42 if (device->available_nodes & 1 << j) in print_device_info() 43 printf("\t\tnodes[%d] %s\n", j, device->nodes[j]); in print_device_info() 45 printf("\tbustype %04x\n", device->bustype); in print_device_info() 47 if (device->bustype == DRM_BUS_PCI) { in print_device_info() 49 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); in print_device_info() 50 printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus); in print_device_info() 51 printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev); in print_device_info() 52 printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); in print_device_info() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkDeviceDriverImpl.inl | 5 void DeviceDriver::destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const argument 7 m_vk.destroyDevice(device, pAllocator); 10 void DeviceDriver::getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex,… argument 12 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); 25 VkResult DeviceDriver::deviceWaitIdle (VkDevice device) const 27 return m_vk.deviceWaitIdle(device); 30 VkResult DeviceDriver::allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, … argument 32 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory); 35 void DeviceDriver::freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks*… argument 37 m_vk.freeMemory(device, memory, pAllocator); [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta.c | 162 struct radv_device *device = _device; in meta_alloc() local 163 return device->alloc.pfnAllocation(device->alloc.pUserData, size, alignment, in meta_alloc() 171 struct radv_device *device = _device; in meta_realloc() local 172 return device->alloc.pfnReallocation(device->alloc.pUserData, original, in meta_realloc() 180 struct radv_device *device = _device; in meta_free() local 181 return device->alloc.pfnFree(device->alloc.pUserData, data); in meta_free() 216 radv_load_meta_pipeline(struct radv_device *device) in radv_load_meta_pipeline() argument 236 radv_pipeline_cache_load(&device->meta_state.cache, data, st.st_size); in radv_load_meta_pipeline() 243 radv_store_meta_pipeline(struct radv_device *device) in radv_store_meta_pipeline() argument 249 if (!device->meta_state.cache.modified) in radv_store_meta_pipeline() [all …]
|
D | radv_meta_bufimage.c | 121 radv_device_init_meta_itob_state(struct radv_device *device) in radv_device_init_meta_itob_state() argument 126 zero(device->meta_state.itob); in radv_device_init_meta_itob_state() 128 cs.nir = build_nir_itob_compute_shader(device); in radv_device_init_meta_itob_state() 155 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), in radv_device_init_meta_itob_state() 157 &device->meta_state.alloc, in radv_device_init_meta_itob_state() 158 &device->meta_state.itob.img_ds_layout); in radv_device_init_meta_itob_state() 166 .pSetLayouts = &device->meta_state.itob.img_ds_layout, in radv_device_init_meta_itob_state() 171 result = radv_CreatePipelineLayout(radv_device_to_handle(device), in radv_device_init_meta_itob_state() 173 &device->meta_state.alloc, in radv_device_init_meta_itob_state() 174 &device->meta_state.itob.img_p_layout); in radv_device_init_meta_itob_state() [all …]
|
D | radv_meta_blit.c | 238 struct radv_device *device = cmd_buffer->device; in meta_emit_blit() local 285 .device = device, in meta_emit_blit() 300 radv_CreateSampler(radv_device_to_handle(device), in meta_emit_blit() 311 radv_temp_descriptor_set_create(cmd_buffer->device, cmd_buffer, in meta_emit_blit() 312 device->meta_state.blit.ds_layout, in meta_emit_blit() 315 radv_UpdateDescriptorSets(radv_device_to_handle(device), in meta_emit_blit() 336 radv_CreateFramebuffer(radv_device_to_handle(device), in meta_emit_blit() 355 .renderPass = device->meta_state.blit.render_pass[fs_key], in meta_emit_blit() 366 pipeline = device->meta_state.blit.pipeline_1d_src[fs_key]; in meta_emit_blit() 369 pipeline = device->meta_state.blit.pipeline_2d_src[fs_key]; in meta_emit_blit() [all …]
|
D | radv_meta_buffer.c | 116 VkResult radv_device_init_meta_buffer_state(struct radv_device *device) in radv_device_init_meta_buffer_state() argument 122 zero(device->meta_state.buffer); in radv_device_init_meta_buffer_state() 124 fill_cs.nir = build_buffer_fill_shader(device); in radv_device_init_meta_buffer_state() 125 copy_cs.nir = build_buffer_copy_shader(device); in radv_device_init_meta_buffer_state() 141 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), in radv_device_init_meta_buffer_state() 143 &device->meta_state.alloc, in radv_device_init_meta_buffer_state() 144 &device->meta_state.buffer.fill_ds_layout); in radv_device_init_meta_buffer_state() 169 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), in radv_device_init_meta_buffer_state() 171 &device->meta_state.alloc, in radv_device_init_meta_buffer_state() 172 &device->meta_state.buffer.copy_ds_layout); in radv_device_init_meta_buffer_state() [all …]
|
D | radv_device.c | 183 radv_physical_device_init(struct radv_physical_device *device, in radv_physical_device_init() argument 209 device->_loader_data.loaderMagic = ICD_LOADER_MAGIC; in radv_physical_device_init() 210 device->instance = instance; in radv_physical_device_init() 211 assert(strlen(path) < ARRAY_SIZE(device->path)); in radv_physical_device_init() 212 strncpy(device->path, path, ARRAY_SIZE(device->path)); in radv_physical_device_init() 214 device->ws = radv_amdgpu_winsys_create(fd); in radv_physical_device_init() 215 if (!device->ws) { in radv_physical_device_init() 219 device->ws->query_info(device->ws, &device->rad_info); in radv_physical_device_init() 220 result = radv_init_wsi(device); in radv_physical_device_init() 222 device->ws->destroy(device->ws); in radv_physical_device_init() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | device.cpp | 43 device::device(clover::platform &platform, pipe_loader_device *ldev) : in device() function in device 53 device::~device() { in ~device() 61 device::operator==(const device &dev) const { in operator ==() 66 device::type() const { in type() 79 device::vendor_id() const { in vendor_id() 92 device::max_images_read() const { in max_images_read() 97 device::max_images_write() const { in max_images_write() 102 device::max_image_buffer_size() const { in max_image_buffer_size() 107 device::max_image_levels_2d() const { in max_image_levels_2d() 112 device::max_image_levels_3d() const { in max_image_levels_3d() [all …]
|
/external/ImageMagick/MagickCore/ |
D | opencl.c | 373 device; in SelectOpenCLDevice() local 384 device=clEnv->devices[i]; in SelectOpenCLDevice() 385 if (device->type != type) in SelectOpenCLDevice() 388 device->enabled=MagickTrue; in SelectOpenCLDevice() 395 if (IsSameOpenCLDevice(device,other_device)) in SelectOpenCLDevice() 445 MagickPrivate cl_mem CreateOpenCLBuffer(MagickCLDevice device, in CreateOpenCLBuffer() argument 448 return(openCL_library->clCreateBuffer(device->context,flags,size,host_ptr, in CreateOpenCLBuffer() 496 MagickPrivate MagickCLCacheInfo AcquireMagickCLCacheInfo(MagickCLDevice device, in AcquireMagickCLCacheInfo() argument 510 device->requested++; in AcquireMagickCLCacheInfo() 512 info->device=device; in AcquireMagickCLCacheInfo() [all …]
|
/external/clang/test/OpenMP/ |
D | target_update_device_messages.cpp | 15 #pragma omp target update to(i) device // expected-error {{expected '(' after 'device'}} in tmain() 16 #pragma omp target update to(i) device ( // expected-error {{expected expression}} expected-error {… in tmain() 17 #pragma omp target update to(i) device () // expected-error {{expected expression}} in tmain() 18 #pragma omp target update to(i) device (argc // expected-error {{expected ')'}} expected-note {{to … in tmain() 19 #pragma omp target update to(i) device (argc)) // expected-warning {{extra tokens at the end of '#p… in tmain() 20 #pragma omp target update from(i) device (argc > 0 ? argv[1] : argv[2]) // expected-error {{express… in tmain() 21 #pragma omp target update from(i) device (argc + argc) in tmain() 22 #pragma omp target update from(i) device (argc), device (argc+1) // expected-error {{directive '#pr… in tmain() 23 #pragma omp target update from(i) device (S1) // expected-error {{'S1' does not refer to a value}} in tmain() 24 #pragma omp target update from(i) device (3.14) // expected-error 2 {{expression must have integral… in tmain() [all …]
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_state.h | 119 #define VS_CONST_F_SIZE(device) (device->may_swvp ? (NINE_MAX_CONST_F_SWVP * sizeof(float[4])) : (N… argument 120 #define VS_CONST_I_SIZE(device) (device->may_swvp ? (NINE_MAX_CONST_I_SWVP * sizeof(int[4])) : (NIN… argument 121 #define VS_CONST_B_SIZE(device) (device->may_swvp ? (NINE_MAX_CONST_B_SWVP * sizeof(BOOL)) : (NINE_… argument 345 nine_context_set_render_state(struct NineDevice9 *device, 350 nine_context_set_texture(struct NineDevice9 *device, 355 nine_context_set_sampler_state(struct NineDevice9 *device, 361 nine_context_set_stream_source(struct NineDevice9 *device, 368 nine_context_set_stream_source_freq(struct NineDevice9 *device, 373 nine_context_set_indices(struct NineDevice9 *device, 377 nine_context_set_vertex_declaration(struct NineDevice9 *device, [all …]
|
/external/vulkan-validation-layers/layers/ |
D | object_tracker.cpp | 55 static void AddQueueInfo(VkDevice device, uint32_t queue_node_index, VkQueue queue) { in AddQueueInfo() argument 56 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in AddQueueInfo() 74 static void DestroyQueueDataStructures(VkDevice device) { in DestroyQueueDataStructures() argument 75 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in DestroyQueueDataStructures() 117 static void AllocateCommandBuffer(VkDevice device, const VkCommandPool command_pool, const VkComman… in AllocateCommandBuffer() argument 119 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in AllocateCommandBuffer() 139 static bool ValidateCommandBuffer(VkDevice device, VkCommandPool command_pool, VkCommandBuffer comm… in ValidateCommandBuffer() argument 140 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in ValidateCommandBuffer() 165 static void AllocateDescriptorSet(VkDevice device, VkDescriptorPool descriptor_pool, VkDescriptorSe… in AllocateDescriptorSet() argument 167 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in AllocateDescriptorSet() [all …]
|
/external/vulkan-validation-layers/tests/layers/ |
D | wrap_objects.cpp | 196 VKAPI_ATTR void VKAPI_CALL vkDestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) in vkDestroyDevice() argument 198 dispatch_key key = get_dispatch_key(device); in vkDestroyDevice() 199 VkLayerDispatchTable *pDisp = device_dispatch_table(device); in vkDestroyDevice() 200 pDisp->DestroyDevice(device, pAllocator); in vkDestroyDevice() 215 VKAPI_ATTR void VKAPI_CALL vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t qu… in vkGetDeviceQueue() argument 217 device_dispatch_table(device)->GetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); in vkGetDeviceQueue() 234 VKAPI_ATTR VkResult VKAPI_CALL vkDeviceWaitIdle(VkDevice device) in vkDeviceWaitIdle() argument 236 VkResult result = device_dispatch_table(device)->DeviceWaitIdle(device); in vkDeviceWaitIdle() 241 VKAPI_ATTR VkResult VKAPI_CALL vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAlloc… in vkAllocateMemory() argument 243 …VkResult result = device_dispatch_table(device)->AllocateMemory(device, pAllocateInfo, pAllocator,… in vkAllocateMemory() [all …]
|