Home
last modified time | relevance | path

Searched refs:device_data (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp73 struct device_data { struct
95 struct device_data *device; argument
111 struct device_data *device;
144 struct device_data *device;
367 static struct device_data *new_device_data(VkDevice device, struct instance_data *instance) in new_device_data()
369 struct device_data *data = rzalloc(NULL, struct device_data); in new_device_data()
379 struct device_data *device_data) in new_queue_data() argument
381 struct queue_data *data = rzalloc(device_data, struct queue_data); in new_queue_data()
382 data->device = device_data; in new_queue_data()
394 VK_CHECK(device_data->vtable.CreateFence(device_data->device, in new_queue_data()
[all …]
/external/autotest/client/common_lib/cros/cfm/
Dcras_node_collector.py98 def _get_device_name(self, device_data, device_id): argument
99 for device in device_data:
104 def _create_input_node(self, node_data, device_data): argument
112 device_name = self._get_device_name(device_data, device_id)
121 def _create_output_node(self, node_data, device_data): argument
129 device_name = self._get_device_name(device_data, device_id)
139 device_data = self._collect_input_device_data()
141 return [self._create_input_node(d, device_data) for d in node_data]
144 device_data = self._collect_output_device_data()
146 return [self._create_output_node(d, device_data) for d in node_data]
/external/autotest/client/profilers/powertop/src/
Durbnum.c36 struct device_data;
38 struct device_data { struct
39 struct device_data *next; argument
48 static struct device_data *devices; argument
52 struct device_data *ptr; in cachunk_urbs()
64 struct device_data *ptr; in update_urbnum()
93 ptr = malloc(sizeof(struct device_data)); in update_urbnum()
95 memset(ptr, 0, sizeof(struct device_data)); in update_urbnum()
138 struct device_data *dev; in count_usb_urbs()
173 struct device_data *dev; in display_usb_activity()
[all …]
/external/autotest/client/cros/faft/utils/
Dcgpt_handler.py59 device_data = {}
62 if label and label not in device_data:
63 device_data[label] = label_data
80 device_data[label] = label_data
82 self.devices[dev_name] = device_data
/external/libese/apps/boot/
Dese_boot_tool.cpp94 bool collect_device_data(const std::string &modem_id, std::string *device_data) { in collect_device_data() argument
111 device_data->push_back(len); in collect_device_data()
112 device_data->append(modem_id); in collect_device_data()
128 device_data->push_back(len); in collect_device_data()
129 device_data->append(value_ptr); in collect_device_data()
329 std::string device_data; in handle_lock_state() local
330 device_data.push_back(lockVal); in handle_lock_state()
331 if (!collect_device_data(args[4], &device_data)) { in handle_lock_state()
336 for (std::string::iterator it = device_data.begin(); in handle_lock_state()
337 it != device_data.end(); ++it) { in handle_lock_state()
[all …]
/external/llvm-project/openmp/libomptarget/test/unified_shared_memory/
Dshared_update.c24 void *host_data, *device_data; in main() local
41 #pragma omp target map(tofrom : device_data, device_alloc) in main()
43 device_data = &data[0]; in main()
57 if (device_data == host_data) in main()
Dclose_modifier.c18 void *host_data, *device_data; in main() local
35 : device_data, device_alloc) map(close, to \ in main()
39 device_data = &data[0]; in main()
53 if (device_data != host_data) in main()
/external/nos/host/generic/nugget/proto/nugget/app/avb/
Davb.proto97 bytes device_data = 2; field
136 bytes device_data = 2; field
144 bytes device_data = 3; field
176 bytes device_data = 3; field
183 bytes device_data = 3; field
/external/adhd/cras/src/server/
Dcras_server_metrics.c183 struct cras_server_metrics_device_data device_data; member
613 data.device_data.type = get_metrics_device_type(iodev); in cras_server_metrics_device_runtime()
614 data.device_data.direction = iodev->direction; in cras_server_metrics_device_runtime()
616 subtract_timespecs(&now, &iodev->open_ts, &data.device_data.runtime); in cras_server_metrics_device_runtime()
640 data.device_data.type = get_metrics_device_type(iodev); in cras_server_metrics_device_gain()
641 data.device_data.value = in cras_server_metrics_device_gain()
665 data.device_data.type = get_metrics_device_type(iodev); in cras_server_metrics_device_volume()
666 data.device_data.value = iodev->active_node->volume; in cras_server_metrics_device_volume()
1225 metrics_device_gain(metrics_msg->data.device_data); in handle_metrics_message()
1228 metrics_device_runtime(metrics_msg->data.device_data); in handle_metrics_message()
[all …]
/external/adhd/cras/src/tests/
Dserver_metrics_unittest.cc56 EXPECT_EQ(sent_msgs[0].data.device_data.type, CRAS_METRICS_DEVICE_USB); in TEST()
57 EXPECT_EQ(sent_msgs[0].data.device_data.direction, CRAS_STREAM_INPUT); in TEST()
58 EXPECT_EQ(sent_msgs[0].data.device_data.runtime.tv_sec, 100); in TEST()
77 EXPECT_EQ(sent_msgs[0].data.device_data.type, CRAS_METRICS_DEVICE_HEADPHONE); in TEST()
78 EXPECT_EQ(sent_msgs[0].data.device_data.direction, CRAS_STREAM_OUTPUT); in TEST()
79 EXPECT_EQ(sent_msgs[0].data.device_data.runtime.tv_sec, 200); in TEST()
/external/crosvm/devices/src/pci/
Dvfio_pci.rs451 device_data: Option<DeviceData>, field
493 let device_data = if is_intel_gfx { in new() localVariable
513 device_data, in new()
521 if let Some(device_data) = &self.device_data { in is_intel_gfx()
522 match *device_data { in is_intel_gfx()
944 self.device_data = Some(DeviceData::IntelGfxData { in allocate_device_bars()
1054 if let Some(device_data) = &self.device_data { in write_bar()
1055 match *device_data { in write_bar()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dall_reduce_test.cc123 …%p0.1 = f32[] parameter(0), metadata={op_type="xla::device_data" source_file="_get_all_reduce_toke… in XLA_TEST_F()
165 …%p0.1 = f32[] parameter(0), metadata={op_type="xla::device_data" source_file="_get_all_reduce_toke… in XLA_TEST_F()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp1172 void cvdescriptorset::DescriptorSet::UpdateDrawState(ValidationStateTracker *device_data, CMD_BUFFE… in UpdateDrawState() argument
1174 if (!device_data->disabled.command_buffer_state) { in UpdateDrawState()
1189 … if (device_data->disabled.command_buffer_state && device_data->disabled.image_layout_validation) { in UpdateDrawState()
1204 descriptors_[i]->UpdateDrawState(device_data, cb_node); in UpdateDrawState()
1762 …criptorset::DecodedTemplateUpdate::DecodedTemplateUpdate(const ValidationStateTracker *device_data, in DecodedTemplateUpdate() argument
1771 auto layout_obj = GetDescriptorSetLayout(device_data, effective_dsl); in DecodedTemplateUpdate()
2041 auto device_data = this; in VerifyCopyUpdateContents() local
2113 auto bv_state = device_data->GetBufferViewState(buffer_view); in VerifyCopyUpdateContents()
Ddescriptor_sets.h517 DecodedTemplateUpdate(const ValidationStateTracker *device_data, VkDescriptorSet descriptorSet,
Dcore_validation.cpp8435 …ValidatorState(const CoreChecks *device_data, const char *func_name, const CMD_BUFFER_STATE *cb_st… in ValidatorState() argument
8437 : report_data_(device_data->report_data), in ValidatorState()
8443 … limit_(static_cast<uint32_t>(device_data->physical_device_state->queue_family_properties.size())), in ValidatorState()
8444 mem_ext_(device_data->device_extensions.vk_khr_external_memory) {} in ValidatorState()
8447 …ValidatorState(const CoreChecks *device_data, const char *func_name, const CMD_BUFFER_STATE *cb_st… in ValidatorState() argument
8449 …: ValidatorState(device_data, func_name, cb_state, VulkanTypedHandle(barrier->image, kVulkanObject… in ValidatorState()
8453 …ValidatorState(const CoreChecks *device_data, const char *func_name, const CMD_BUFFER_STATE *cb_st… in ValidatorState() argument
8455 …: ValidatorState(device_data, func_name, cb_state, VulkanTypedHandle(barrier->buffer, kVulkanObjec… in ValidatorState()
8483 …static bool ValidateAtQueueSubmit(const VkQueue queue, const CoreChecks *device_data, uint32_t src… in ValidateAtQueueSubmit() argument
8485 auto queue_data_it = device_data->queueMap.find(queue); in ValidateAtQueueSubmit()
[all …]
Dparameter_validation_utils.cpp135 auto device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map); in PostCallRecordCreateDevice() local
137 …ValidationObject *validation_data = GetValidationObject(device_data->object_dispatch, LayerObjectT… in PostCallRecordCreateDevice()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py728 for device_data in all_devices_data:
729 data.extend(device_data)
/external/ImageMagick/coders/
Dwmf.c374 #define WMF_MAGICK_GetData(Z) ((wmf_magick_t*)((Z)->device_data))
378 #define WmfDrawingWand (((wmf_magick_t*)((API)->device_data))->draw_wand)
1425 API->device_data = (void *) ddata; in ipa_functions()