/external/u-boot/drivers/tpm/ |
D | tpm_tis_lpc.c | 204 u8 locality = 0; in tis_senddata() local 207 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_senddata() 228 ®s[locality].tpm_status)); in tis_senddata() 245 ®s[locality].data); in tis_senddata() 247 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_senddata() 268 tpm_write_byte(priv, data[offset++], ®s[locality].data); in tis_senddata() 273 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_senddata() 282 tpm_write_word(priv, TIS_STS_TPM_GO, ®s[locality].tpm_status); in tis_senddata() 305 u8 locality = 0; in tis_readresponse() local 311 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_readresponse() [all …]
|
D | tpm2_tis_spi.c | 203 chip->locality = loc; in tpm_tis_spi_check_locality() 275 return tpm_tis_spi_read(dev, TPM_STS(chip->locality), status, 1); in tpm_tis_spi_status() 308 ret = tpm_tis_spi_read32(dev, TPM_STS(chip->locality), in tpm_tis_spi_get_burstcount() 328 return tpm_tis_spi_write(dev, TPM_STS(chip->locality), &data, 1); in tpm_tis_spi_cancel() 346 ret = tpm_tis_spi_read(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_spi_recv_data() 393 tpm_tis_spi_release_locality(dev, chip->locality, false); in tpm_tis_spi_recv() 450 ret = tpm_tis_spi_write(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_spi_send() 467 ret = tpm_tis_spi_write(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_spi_send() 482 ret = tpm_tis_spi_write(dev, TPM_STS(chip->locality), &data, 1); in tpm_tis_spi_send() 490 tpm_tis_spi_release_locality(dev, chip->locality, false); in tpm_tis_spi_send() [all …]
|
D | tpm_tis_infineon.c | 203 chip->locality = loc; in tpm_tis_i2c_check_locality() 272 if (tpm_tis_i2c_read(dev, TPM_STS(chip->locality), &buf, 1) < 0) in tpm_tis_i2c_status() 287 rc = tpm_tis_i2c_write_long(dev, TPM_STS(chip->locality), &buf, 1); in tpm_tis_i2c_ready() 307 addr = TPM_STS(chip->locality) + 1; in tpm_tis_i2c_get_burstcount() 361 rc = tpm_tis_i2c_read(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_i2c_recv_data() 463 rc = tpm_tis_i2c_write(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_i2c_send() 483 rc = tpm_tis_i2c_write(dev, TPM_STS(chip->locality), &sts, 1); in tpm_tis_i2c_send() 501 tpm_tis_i2c_release_locality(dev, chip->locality, 0); in tpm_tis_i2c_cleanup() 576 tpm_tis_i2c_release_locality(dev, chip->locality, 1); in tpm_tis_i2c_close()
|
D | tpm_tis_st33zp24_i2c.c | 136 return chip->locality; in st33zp24_i2c_check_locality() 153 if (st33zp24_i2c_check_locality(dev) == chip->locality) in st33zp24_i2c_request_locality() 154 return chip->locality; in st33zp24_i2c_request_locality() 166 return chip->locality; in st33zp24_i2c_request_locality() 444 chip->locality = LOCALITY0; in st33zp24_i2c_init() 515 chip->locality = LOCALITY0; in st33zp24_i2c_probe()
|
D | tpm_tis_st33zp24_spi.c | 266 return chip->locality; in st33zp24_spi_check_locality() 283 if (st33zp24_spi_check_locality(dev) == chip->locality) in st33zp24_spi_request_locality() 284 return chip->locality; in st33zp24_spi_request_locality() 296 return chip->locality; in st33zp24_spi_request_locality() 573 chip->locality = LOCALITY0; in st33zp24_spi_init()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device_factory.cc | 31 Bytes memory_limit, const DeviceLocality& locality, in GPUDevice() argument 34 : BaseGPUDevice(options, name, memory_limit, locality, tf_gpu_id, in GPUDevice() 65 const DeviceLocality& locality, TfGpuId tf_gpu_id, in CreateGPUDevice() argument 68 return absl::make_unique<GPUDevice>(options, name, memory_limit, locality, in CreateGPUDevice() 83 Bytes memory_limit, const DeviceLocality& locality, in GPUCompatibleCPUDevice() argument 85 : ThreadPoolDevice(options, name, memory_limit, locality, allocator), in GPUCompatibleCPUDevice() 86 numa_node_(locality.numa_node()) { in GPUCompatibleCPUDevice() 125 DeviceLocality locality; in CreateDevices() local 126 locality.set_numa_node(numa_node); in CreateDevices()
|
D | gpu_device_test.cc | 208 ASSERT_EQ(1, devices[0]->attributes().locality().links().link_size()); in TEST_F() 209 ASSERT_EQ(1, devices[1]->attributes().locality().links().link_size()); in TEST_F() 210 EXPECT_EQ(1, devices[0]->attributes().locality().links().link(0).device_id()); in TEST_F() 212 devices[0]->attributes().locality().links().link(0).type()); in TEST_F() 214 devices[0]->attributes().locality().links().link(0).strength()); in TEST_F() 215 EXPECT_EQ(0, devices[1]->attributes().locality().links().link(0).device_id()); in TEST_F() 217 devices[1]->attributes().locality().links().link(0).type()); in TEST_F() 219 devices[1]->attributes().locality().links().link(0).strength()); in TEST_F()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | worker_cache_partial.cc | 30 const string& device_name, DeviceLocality* locality) { in GetDeviceLocalityNonBlocking() argument 34 *locality = iter->second.locality(); in GetDeviceLocalityNonBlocking() 41 DeviceLocality* locality, in GetDeviceLocalityAsync() argument 43 if (!GetDeviceLocalityNonBlocking(device_name, locality)) { in GetDeviceLocalityAsync() 45 SchedClosure([this, &device_name, locality, done]() { in GetDeviceLocalityAsync() 47 if (s.ok() && !GetDeviceLocalityNonBlocking(device_name, locality)) { in GetDeviceLocalityAsync()
|
D | device_resolver_distributed.cc | 28 DeviceLocality* locality, in GetLocalityAsync() argument 35 *locality = dev->attributes().locality(); in GetLocalityAsync() 46 *locality = it->second.locality(); in GetLocalityAsync() 58 device, task, [this, device, task, locality, done](const Status& s) { in GetLocalityAsync() 62 GetLocalityAsync(device, task, locality, done); in GetLocalityAsync()
|
D | device_resolver_distributed_test.cc | 92 DeviceLocality* locality) override { in GetDeviceLocalityNonBlocking() argument 96 void GetDeviceLocalityAsync(const string& device, DeviceLocality* locality, in GetDeviceLocalityAsync() argument 119 *locality = it.locality(); in GetDeviceLocalityAsync() 193 DeviceLocality locality; in TEST_F() local 194 dres->GetLocalityAsync(dev_name, task_name, &locality, in TEST_F() 201 EXPECT_EQ(parsed.id, locality.numa_node()); in TEST_F()
|
D | worker_cache_wrapper.h | 65 DeviceLocality* locality) { in GetDeviceLocalityNonBlocking() argument 66 return wrapped_->GetDeviceLocalityNonBlocking(device, locality); in GetDeviceLocalityNonBlocking() 73 DeviceLocality* locality, in GetDeviceLocalityAsync() argument 75 return wrapped_->GetDeviceLocalityAsync(device, locality, std::move(done)); in GetDeviceLocalityAsync()
|
D | worker_session.cc | 62 DeviceLocality* locality) override { in GetDeviceLocalityNonBlocking() argument 63 return wrapped_->GetDeviceLocalityNonBlocking(device, locality); in GetDeviceLocalityNonBlocking() 66 void GetDeviceLocalityAsync(const string& device, DeviceLocality* locality, in GetDeviceLocalityAsync() argument 68 wrapped_->GetDeviceLocalityAsync(device, locality, done); in GetDeviceLocalityAsync()
|
D | test_utils.h | 166 DeviceLocality* locality) override { in GetDeviceLocalityNonBlocking() argument 169 *locality = it->second; in GetDeviceLocalityNonBlocking() 175 void GetDeviceLocalityAsync(const string& device, DeviceLocality* locality, in GetDeviceLocalityAsync() argument 179 *locality = it->second; in GetDeviceLocalityAsync()
|
D | worker_cache_partial.h | 35 DeviceLocality* locality) override; 37 void GetDeviceLocalityAsync(const string& device, DeviceLocality* locality,
|
D | worker_cache.h | 66 DeviceLocality* locality) = 0; 72 DeviceLocality* locality,
|
D | collective_rma_distributed_test.cc | 130 DeviceLocality* locality) override { in GetDeviceLocalityNonBlocking() argument 134 void GetDeviceLocalityAsync(const string& device, DeviceLocality* locality, in GetDeviceLocalityAsync() argument 157 *locality = it.locality(); in GetDeviceLocalityAsync()
|
D | collective_param_resolver_distributed_test.cc | 90 DeviceLocality* locality) override { in GetDeviceLocalityNonBlocking() argument 94 void GetDeviceLocalityAsync(const string& device, DeviceLocality* locality, in GetDeviceLocalityAsync() argument 117 *locality = it.locality(); in GetDeviceLocalityAsync()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | device_resolver_local.cc | 32 localities->push_back(dev->attributes().locality()); in GetDeviceLocalitiesAsync() 39 DeviceLocality* locality, in GetLocalityAsync() argument 44 *locality = dev->attributes().locality(); in GetLocalityAsync()
|
D | device.h | 187 const DeviceLocality& locality, const string& physical_device_desc); 191 const DeviceLocality& locality) { in BuildDeviceAttributes() argument 193 return BuildDeviceAttributes(name, device, memory_limit, locality, ""); in BuildDeviceAttributes()
|
D | device.cc | 44 const DeviceLocality& locality, const string& physical_device_desc) { in BuildDeviceAttributes() argument 52 *da.mutable_locality() = locality; in BuildDeviceAttributes()
|
D | threadpool_device.cc | 46 const DeviceLocality& locality, in ThreadPoolDevice() argument 49 name, DEVICE_CPU, memory_limit, locality)), in ThreadPoolDevice()
|
D | collective_rma_local.h | 62 DeviceLocality* locality, in GetLocalityAsync() argument 64 dev_resolver_->GetLocalityAsync(device, task, locality, done); in GetLocalityAsync()
|
/external/ImageMagick/MagickCore/ |
D | thread-private.h | 44 #define MagickCachePrefetch(address,mode,locality) \ argument 45 __builtin_prefetch(address,mode,locality) 47 #define MagickCachePrefetch(address,mode,locality) \ 50 magick_unreferenced(locality);
|
/external/tensorflow/tensorflow/core/framework/ |
D | device_attributes.proto | 21 // Optional bus locality of device. Default value of 0 means 22 // no specific locality. Specific localities are indexed from 1. 25 // Optional NUMA locality of device. 44 DeviceLocality locality = 5; field
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Compiler.h | 109 #define LLVM_PREFETCH(addr, rw, locality) __builtin_prefetch(addr, rw, locality) argument 111 #define LLVM_PREFETCH(addr, rw, locality) argument
|