Home
last modified time | relevance | path

Searched refs:device_context (Results 1 – 25 of 85) sorted by relevance

1234

/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dmbim_open_generic_sequence.py53 device_context = self.device_context
54 device_type = device_context.device_type
56 device_context.descriptor_cache.mbim_communication_interface)
58 device_context.descriptor_cache.ncm_communication_interface)
60 device_context.descriptor_cache.no_data_data_interface)
62 device_context.descriptor_cache.ncm_data_interface)
64 device_context.descriptor_cache.mbim_data_interface)
66 device_context.descriptor_cache.mbim_functional)
68 device_context.descriptor_cache.interrupt_endpoint)
69 descriptor_cache = device_context.descriptor_cache
[all …]
Dmbim_cid_device_services_sequence.py34 device_context = self.device_context
36 device_context._device,
37 device_context.mbim_communication_interface.bInterfaceNumber,
38 device_context.interrupt_endpoint.bEndpointAddress,
39 device_context.max_control_transfer_size)
Dmbim_close_sequence.py39 device_context = self.device_context
40 descriptor_cache = device_context.descriptor_cache
43 device_context.max_control_transfer_size)
45 device_context._device,
48 device_context.max_control_transfer_size)
Dmbim_cid_device_caps_sequence.py38 device_context = self.device_context
39 descriptor_cache = device_context.descriptor_cache
43 device_context.max_control_transfer_size)
45 device_context._device,
48 device_context.max_control_transfer_size)
Dconnect_sequence.py63 device_context = self.device_context
64 descriptor_cache = device_context.descriptor_cache
86 device_context.max_control_transfer_size)
88 device_context._device,
91 device_context.max_control_transfer_size)
Dopen_sequence.py71 control.set_interface(self.device_context.device,
85 self.device_context.device.ctrl_transfer(bmRequestType=0b00100001,
102 ntb_parameters = self.device_context.device.ctrl_transfer(
124 response = self.device_context.device.ctrl_transfer(
143 response = self.device_context.device.ctrl_transfer(
164 response = self.device_context.device.ctrl_transfer(
182 response = self.device_context.device.ctrl_transfer(
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer_unittest.py143 device_context = TestMbimDeviceContext()
144 device_context.device = 1
145 device_context.max_out_data_transfer_size = 100
146 device_context.max_in_data_transfer_size = 100
147 device_context.out_data_transfer_divisor = 32
148 device_context.out_data_transfer_payload_remainder = 0
149 device_context.descriptor_cache = TestMbimDescriptorCache()
150 device_context.descriptor_cache.mbim_data_interface = (
152 device_context.descriptor_cache.bulk_in_endpoint = (
154 device_context.descriptor_cache.bulk_out_endpoint = (
[all …]
Dmbim_dts_test_base.py33 self.device_context)
35 self.device_context.update_descriptor_cache(descriptors)
37 self.device_context)
39 connect_seq = connect_sequence.ConnectSequence(self.device_context)
45 (self.device_context.current_ntb_format != ntb_format)):
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_memory_manager.cc219 DeviceContext* device_context = GetDeviceContext(tuple->device_ordinal(), in Register() local
221 return device_context->Register(std::move(tuple)); in Register()
227 DeviceContext* device_context = GetDeviceContext(device_ordinal, in Lookup() local
229 if (device_context == nullptr) { in Lookup()
232 RefPtr<XRTTupleAllocation> tuple = device_context->Lookup(handle); in Lookup()
241 DeviceContext* device_context = GetDeviceContext(device_ordinal, in Release() local
243 if (device_context == nullptr || !device_context->Release(handle)) { in Release()
251 DeviceContext* device_context = GetDeviceContext(device_ordinal, in CompactAllocations() local
253 return device_context != nullptr in CompactAllocations()
254 ? device_context->CompactAllocations(this, backend) in CompactAllocations()
[all …]
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/
Dcellular_MbimComplianceCM13.py45 self.device_context).run()
46 self.device_context.update_descriptor_cache(descriptors)
48 self.device_context).run()
49 connect_sequence.ConnectSequence(self.device_context).run()
50 mbim_close_sequence.MBIMCloseSequence(self.device_context).run()
52 self.device_context).run()
55 device_context = self.device_context
56 descriptor_cache = device_context.descriptor_cache
60 device_context.max_control_transfer_size)
62 device_context._device,
[all …]
Dcellular_MbimComplianceCM07.py39 self.device_context).run()
40 self.device_context.update_descriptor_cache(descriptors)
42 self.device_context).run()
46 device_context = self.device_context
47 descriptor_cache = device_context.descriptor_cache
55 device_context.max_control_transfer_size)
57 device_context._device,
60 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM08.py42 self.device_context).run()
43 self.device_context.update_descriptor_cache(descriptors)
45 self.device_context).run()
48 device_context = self.device_context
49 descriptor_cache = device_context.descriptor_cache
58 device_context.max_control_transfer_size)
60 device_context._device,
63 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM05.py43 self.device_context).run()
44 self.device_context.update_descriptor_cache(descriptors)
46 self.device_context).run()
48 device_context = self.device_context
49 descriptor_cache = device_context.descriptor_cache
51 device_context._device,
54 device_context.max_control_transfer_size)
60 device_context.max_control_transfer_size)
69 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM16.py44 self.device_context)
46 self.device_context.update_descriptor_cache(descriptors)
48 self.device_context)
51 device_context = self.device_context
52 descriptor_cache = device_context.descriptor_cache
54 device_context.device,
57 device_context.max_control_transfer_size)
63 device_context.max_control_transfer_size)
71 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM14.py38 self.device_context).run()
39 self.device_context.update_descriptor_cache(descriptors)
41 self.device_context).run()
42 mbim_close_sequence.MBIMCloseSequence(self.device_context).run()
46 connect_sequence.ConnectSequence(self.device_context).run(
Dcellular_MbimComplianceCM10.py35 self.device_context).run()
36 self.device_context.update_descriptor_cache(descriptors)
38 self.device_context).run()
42 self.device_context).run()
Dcellular_MbimComplianceCM09.py35 self.device_context).run()
36 self.device_context.update_descriptor_cache(descriptors)
38 self.device_context).run()
42 connect_sequence.ConnectSequence(self.device_context).run())
Dcellular_MbimComplianceCM03.py33 self.device_context).run()
34 self.device_context.update_descriptor_cache(descriptors)
36 self.device_context).run()
41 self.device_context).run())
Dcellular_MbimComplianceCM04.py34 self.device_context).run()
35 self.device_context.update_descriptor_cache(descriptors)
37 self.device_context).run()
42 self.device_context).run())
Dcellular_MbimComplianceCM06.py35 self.device_context).run()
36 self.device_context.update_descriptor_cache(descriptors)
38 self.device_context).run()
43 self.device_context).run())
Dcellular_MbimComplianceCM15.py36 self.device_context).run()
37 self.device_context.update_descriptor_cache(descriptors)
39 self.device_context)
44 self.device_context)
/external/crosvm/devices/src/usb/xhci/
Ddevice_slot.rs370 let mut device_context = slot.get_device_context()?; in disable() localVariable
371 device_context in disable()
374 slot.set_device_context(device_context)?; in disable()
398 let device_context = self.get_device_context()?; in set_address() localVariable
399 let state = device_context in set_address()
421 let mut device_context = self.get_device_context()?; in set_address() localVariable
422 let port_id = device_context.slot_context.get_root_hub_port_number(); in set_address()
448 device_context in set_address()
462 device_context in set_address()
465 device_context in set_address()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc114 const DeviceContext* device_context, in SetProtoFromGPU() argument
117 VLOG(1) << "SetProtoFromGPU device_context " << device_context; in SetProtoFromGPU()
120 Status s = PrepareCopy(dev, device_context, tensor, nullptr, &dev_info, in SetProtoFromGPU()
128 static_cast<const GPUDeviceContext*>(device_context) in SetProtoFromGPU()
255 const DeviceContext* device_context, in CopyGPUTensorToCPU() argument
261 Status s = PrepareCopy(gpu_device, device_context, *gpu_tensor, cpu_tensor, in CopyGPUTensorToCPU()
269 static_cast<const GPUDeviceContext*>(device_context) in CopyGPUTensorToCPU()
300 const DeviceContext* device_context, in CopyCPUTensorToGPU() argument
306 Status s = PrepareCopy(gpu_device, device_context, *cpu_tensor, gpu_tensor, in CopyCPUTensorToGPU()
314 static_cast<const GPUDeviceContext*>(device_context) in CopyCPUTensorToGPU()
[all …]
Dgpu_util.h39 const DeviceContext* device_context,
48 const DeviceContext* device_context,
81 const DeviceContext* device_context,
89 const DeviceContext* device_context,
104 const DeviceContext* device_context,
/external/autotest/client/site_tests/cellular_MbimComplianceError/
Dcellular_MbimComplianceERR02.py36 self.device_context).run()
37 self.device_context.update_descriptor_cache(descriptors)
39 self.device_context)
44 connect_sequence.ConnectSequence(self.device_context).run(

1234