/external/v4l-utils/lib/libv4l2/ |
D | libv4l2.c | 35 capture devices. 90 static struct v4l2_dev_info devices[V4L2_MAX_DEVICES] = { variable 100 if (devices[index].convert_mmap_buf != MAP_FAILED) { in v4l2_ensure_convert_mmap_buf() 104 devices[index].convert_mmap_buf_size = in v4l2_ensure_convert_mmap_buf() 105 devices[index].convert_mmap_frame_size * devices[index].no_frames; in v4l2_ensure_convert_mmap_buf() 107 devices[index].convert_mmap_buf = (void *)SYS_MMAP(NULL, in v4l2_ensure_convert_mmap_buf() 108 devices[index].convert_mmap_buf_size, in v4l2_ensure_convert_mmap_buf() 113 if (devices[index].convert_mmap_buf == MAP_FAILED) { in v4l2_ensure_convert_mmap_buf() 114 devices[index].convert_mmap_buf_size = 0; in v4l2_ensure_convert_mmap_buf() 132 req.count = (devices[index].no_frames) ? devices[index].no_frames : in v4l2_request_read_buffers() [all …]
|
/external/cpuinfo/scripts/ |
D | android-device-dump.py | 81 "/sys/devices/soc0/accessory_chip", 82 "/sys/devices/soc0/build_id", 83 "/sys/devices/soc0/chip_family", 84 "/sys/devices/soc0/chip_name", 85 "/sys/devices/soc0/family", 86 "/sys/devices/soc0/foundry_id", 87 "/sys/devices/soc0/hw_platform", 88 "/sys/devices/soc0/image_crm_version", 89 "/sys/devices/soc0/image_variant", 90 "/sys/devices/soc0/image_version", [all …]
|
/external/cpuinfo/test/mock/ |
D | pixel-c.h | 39 .path = "/sys/devices/system/cpu/kernel_max", 44 .path = "/sys/devices/system/cpu/possible", 49 .path = "/sys/devices/system/cpu/present", 54 .path = "/sys/devices/system/cpu/online", 59 .path = "/sys/devices/system/cpu/offline", 64 .path = "/sys/devices/system/cpu/modalias", 69 .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", 94 .path = "/sys/devices/system/cpu/cpufreq/current_in_state", 103 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 108 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", [all …]
|
D | pixel-8.h | 85 {.path = "/sys/devices/system/cpu/kernel_max", .size = 3, .content = "31\n"}, 86 {.path = "/sys/devices/system/cpu/possible", .size = 4, .content = "0-8\n"}, 87 {.path = "/sys/devices/system/cpu/present", .size = 4, .content = "0-8\n"}, 88 {.path = "/sys/devices/system/cpu/online", .size = 4, .content = "0-8\n"}, 89 {.path = "/sys/devices/system/cpu/offline", .size = 1, .content = "\n"}, 90 {.path = "/sys/devices/system/cpu/modalias", 94 {.path = "/sys/devices/system/cpu/cpuidle/current_driver", .size = 10, .content = "psci_idle\n"}, 95 {.path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", .size = 4, .content = "teo\n"}, 96 {.path = "/sys/devices/system/cpu/cpu0/cpuidle/driver/name", .size = 10, .content = "psci_idle\n"}, 97 {.path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus", .size = 8, .content = "0 1 2 3\n"}, [all …]
|
D | pixel-2-xl.h | 81 .path = "/sys/devices/system/cpu/kernel_max", 86 .path = "/sys/devices/system/cpu/possible", 91 .path = "/sys/devices/system/cpu/present", 96 .path = "/sys/devices/system/cpu/online", 101 .path = "/sys/devices/system/cpu/offline", 106 .path = "/sys/devices/system/cpu/modalias", 111 .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", 169 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 174 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", 179 .path = "/sys/devices/system/cpu/cpu0/cpuidle/driver/name", [all …]
|
D | galaxy-s9-us.h | 366 .path = "/sys/devices/soc0/accessory_chip", 371 .path = "/sys/devices/soc0/build_id", 376 .path = "/sys/devices/soc0/chip_family", 381 .path = "/sys/devices/soc0/chip_name", 386 .path = "/sys/devices/soc0/family", 391 .path = "/sys/devices/soc0/foundry_id", 396 .path = "/sys/devices/soc0/hw_platform", 401 .path = "/sys/devices/soc0/image_crm_version", 407 .path = "/sys/devices/soc0/image_variant", 413 .path = "/sys/devices/soc0/image_version", [all …]
|
D | oneplus-5t.h | 171 .path = "/sys/devices/soc0/accessory_chip", 176 .path = "/sys/devices/soc0/build_id", 181 .path = "/sys/devices/soc0/family", 186 .path = "/sys/devices/soc0/foundry_id", 191 .path = "/sys/devices/soc0/hw_platform", 196 .path = "/sys/devices/soc0/image_crm_version", 202 .path = "/sys/devices/soc0/image_variant", 208 .path = "/sys/devices/soc0/image_version", 214 .path = "/sys/devices/soc0/images", 253 .path = "/sys/devices/soc0/machine", [all …]
|
D | oneplus-5.h | 171 .path = "/sys/devices/soc0/accessory_chip", 176 .path = "/sys/devices/soc0/build_id", 181 .path = "/sys/devices/soc0/family", 186 .path = "/sys/devices/soc0/foundry_id", 191 .path = "/sys/devices/soc0/hw_platform", 196 .path = "/sys/devices/soc0/image_crm_version", 202 .path = "/sys/devices/soc0/image_variant", 208 .path = "/sys/devices/soc0/image_version", 214 .path = "/sys/devices/soc0/images", 253 .path = "/sys/devices/soc0/machine", [all …]
|
D | scaleway.h | 61 .path = "/sys/devices/system/cpu/kernel_max", 66 .path = "/sys/devices/system/cpu/possible", 71 .path = "/sys/devices/system/cpu/present", 76 .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id", 81 .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list", 86 .path = "/sys/devices/system/cpu/cpu0/topology/core_id", 91 .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list", 96 .path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id", 101 .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings_list", 106 .path = "/sys/devices/system/cpu/cpu1/topology/core_id", [all …]
|
D | zenfone-c.h | 392 .path = "/sys/devices/system/cpu/kernel_max", 397 .path = "/sys/devices/system/cpu/possible", 402 .path = "/sys/devices/system/cpu/present", 407 .path = "/sys/devices/system/cpu/online", 412 .path = "/sys/devices/system/cpu/offline", 417 .path = "/sys/devices/system/cpu/modalias", 423 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 428 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", 433 .path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus", 438 .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", [all …]
|
D | memo-pad-7.h | 401 .path = "/sys/devices/system/cpu/kernel_max", 406 .path = "/sys/devices/system/cpu/possible", 411 .path = "/sys/devices/system/cpu/present", 416 .path = "/sys/devices/system/cpu/online", 421 .path = "/sys/devices/system/cpu/offline", 426 .path = "/sys/devices/system/cpu/modalias", 432 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 437 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", 442 .path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus", 447 .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", [all …]
|
D | galaxy-s5-global.h | 235 .path = "/sys/devices/system/cpu/kernel_max", 240 .path = "/sys/devices/system/cpu/possible", 245 .path = "/sys/devices/system/cpu/present", 250 .path = "/sys/devices/system/cpu/online", 255 .path = "/sys/devices/system/cpu/offline", 260 .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", 280 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 285 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", 290 .path = "/sys/devices/system/b.L/big_threads", 295 .path = "/sys/devices/system/b.L/boot_cluster", [all …]
|
/external/python/pyserial/serial/tools/ |
D | list_ports_posix.py | 40 devices = glob.glob('/dev/ttyS*') 42 devices.extend(list_ports_common.list_links(devices)) 43 return [list_ports_common.ListPortInfo(d) for d in devices] 47 devices = glob.glob('/dev/cua*') 49 devices.extend(list_ports_common.list_links(devices)) 50 return [list_ports_common.ListPortInfo(d) for d in devices] 54 devices = glob.glob('/dev/cua*[!.init][!.lock]') 56 devices.extend(list_ports_common.list_links(devices)) 57 return [list_ports_common.ListPortInfo(d) for d in devices] 62 devices = glob.glob('/dev/dty*') [all …]
|
/external/autotest/server/site_tests/bluetooth_AdapterEPHealth/ |
D | bluetooth_AdapterEPHealth.py | 147 def run_test_method(self, pre_test_method, devices, uuids='', argument 149 """Run specified pre_test_method and verify devices can be used. 152 @param devices: a peer device or a list of peer devices 165 if type(devices) is not list: 166 devices = [devices] 171 for device, expected_pass in zip(devices, expected_passes): 184 multi_conn_workaround = len(devices) >= 2 and has_audio_device 186 for device, expected_pass in zip(devices, expected_passes): 187 # Only disconnect expected_pass devices, since the expected_fail 188 # devices could be disconnected as they don't have connectable [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device_test.cc | 148 std::vector<std::unique_ptr<Device>> devices; in TEST_F() local 154 opts, kDeviceNamePrefix, &devices); in TEST_F() 155 EXPECT_THAT(devices, SizeIs(1)); in TEST_F() 156 Device* device = devices[0].get(); in TEST_F() 162 Allocator* allocator = devices[0]->GetAllocator(allocator_attributes); in TEST_F() 176 std::vector<std::unique_ptr<Device>> devices; in TEST_F() local 183 opts, kDeviceNamePrefix, &devices); in TEST_F() 184 EXPECT_THAT(devices, SizeIs(1)); in TEST_F() 185 Device* device = devices[0].get(); in TEST_F() 191 Allocator* allocator = devices[0]->GetAllocator(allocator_attributes); in TEST_F() [all …]
|
/external/autotest/server/site_tests/bluetooth_AdapterCLHealth/ |
D | bluetooth_AdapterCLHealth.py | 36 @test_wrapper('Discovery Test', devices={"MOUSE": 1}, supports_floss=True) 39 device = self.devices['MOUSE'][0] 46 devices={"MOUSE": 1}, 51 device = self.devices['MOUSE'][0] 60 @test_wrapper('Pairing Test', devices={"MOUSE": 1}, supports_floss=True) 63 device = self.devices['MOUSE'][0] 70 devices={"KEYBOARD": 1}, 74 device = self.devices['KEYBOARD'][0] 81 devices={"MOUSE": 1}, 85 device = self.devices['MOUSE'][0] [all …]
|
/external/autotest/server/site_tests/bluetooth_AdapterLEHealth/ |
D | bluetooth_AdapterLEHealth.py | 42 devices={"BLE_MOUSE": 1}, 46 device = self.devices['BLE_MOUSE'][0] 56 devices={'BLE_MOUSE': 1}, 64 device = self.devices['BLE_MOUSE'][0] 72 @test_wrapper('Connect Disconnect Loop', devices={'BLE_MOUSE':1}) 81 device = self.devices['BLE_MOUSE'][0] 86 devices={'BLE_MOUSE': 1}, 92 device = self.devices['BLE_MOUSE'][0] 97 devices={'BLE_MOUSE': 1}, 102 device = self.devices['BLE_MOUSE'][0] [all …]
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer_test.cc | 28 std::unordered_map<string, DeviceProperties> devices; in TEST() local 31 devices["/job:localhost/replica:0/task:0/cpu:0"] = cpu_device; in TEST() 34 devices["/job:localhost/replica:0/task:0/device:GPU:0"] = gpu_device; in TEST() 35 VirtualCluster cluster(devices); in TEST() 36 VirtualPlacer placer(devices); in TEST() 58 std::unordered_map<string, DeviceProperties> devices; in TEST() local 61 devices["/CPU:0"] = cpu_device; in TEST() 64 devices["/GPU:0"] = gpu_device; in TEST() 65 VirtualCluster cluster(devices); in TEST() 66 VirtualPlacer placer(devices); in TEST() [all …]
|
/external/v4l-utils/lib/libv4l1/ |
D | libv4l1.c | 2 # libv4l1 userspace v4l1 api emulation for v4l2 devices 35 capture only devices, or non v4l2 devices. 75 static struct v4l1_dev_info devices[V4L1_MAX_DEVICES] = { variable 176 v4l2_pixfmt = devices[index].v4l2_pixfmt; in v4l1_set_format() 177 v4l1_pal = devices[index].v4l1_pal; in v4l1_set_format() 181 if (width == devices[index].width && height == devices[index].height && in v4l1_set_format() 182 v4l2_pixfmt == devices[index].v4l2_pixfmt) { in v4l1_set_format() 183 devices[index].v4l1_pal = v4l1_pal; in v4l1_set_format() 188 result = v4l2_ioctl(devices[index].fd, VIDIOC_G_FMT, &fmt2); in v4l1_set_format() 200 result = v4l2_ioctl(devices[index].fd, VIDIOC_TRY_FMT, &fmt2); in v4l1_set_format() [all …]
|
/external/tensorflow/tensorflow/python/distribute/v1/ |
D | cross_device_ops_test.py | 50 def _get_devices(devices): argument 51 if isinstance(devices, (tuple, list)): 52 return tuple(device_util.resolve(d) for d in devices) 53 elif isinstance(devices, value_lib.DistributedValues): 54 return devices._devices 55 elif isinstance(devices, ops.Tensor): 56 return (device_util.resolve(devices.device),) 57 return (device_util.resolve(devices),) 60 def _make_per_replica(values, devices, regroup=False): argument 61 devices = _get_devices(devices) [all …]
|
/external/autotest/server/site_tests/bluetooth_AdapterAUHealth/ |
D | bluetooth_AdapterAUHealth.py | 76 device = self.devices['BLUETOOTH_AUDIO'][0] 84 devices={'BLUETOOTH_AUDIO': 1}, 91 @test_wrapper('A2DP sinewave long test', devices={'BLUETOOTH_AUDIO':1}, 102 devices={'BLUETOOTH_AUDIO': 1}) 110 device = self.devices['BLUETOOTH_AUDIO'][0] 117 devices={'BLUETOOTH_AUDIO': 1}) 120 device = self.devices['BLUETOOTH_AUDIO'][0] 128 devices={'BLUETOOTH_AUDIO': 1}) 131 device = self.devices['BLUETOOTH_AUDIO'][0] 137 @test_wrapper('A2DP pinned playback test', devices={'BLUETOOTH_AUDIO': 1}) [all …]
|
/external/autotest/server/site_tests/bluetooth_AdapterLLTHealth/ |
D | bluetooth_AdapterLLTHealth.py | 80 devices={ 85 """Tests llt with two peer devices. 94 central = self.devices['BLE_MOUSE'][0] 95 peripheral = self.devices['BLE_KEYBOARD'][0] 117 devices={ 122 """Tests llt with two peer devices, 131 central = self.devices['BLE_MOUSE'][0] 132 peripheral = self.devices['BLE_KEYBOARD'][0] 156 devices={ 161 """Tests llt with two peer devices, while DUT advertising. [all …]
|
/external/crosvm/docs/book/src/devices/ |
D | index.md | 1 # Devices chapter 3 This chapter describes emulated devices in crosvm. These devices work like hardware for the guest. 5 ## List of devices 7 Here is a (non-comprehensive) list of emulated devices provided by crosvm. 9 ### Emulated Devices 14 - [`serial`] - x86 I/O port driven serial devices that print to stdout and take input from stdin. 16 ### VirtIO Devices 23 - [`input`] - Creates virtual human interface devices such as keyboards. 35 - [`vhost-user`] - VirtIO devices which offloads the device implementation to another process 63 Currently, only network devices are supported. [all …]
|
/external/pytorch/torch/nn/parallel/ |
D | comm.py | 17 def broadcast(tensor, devices=None, *, out=None): argument 18 r"""Broadcasts a tensor to specified GPU devices. 22 devices (Iterable[torch.device, str or int], optional): an iterable of 23 GPU devices, among which to broadcast. 28 Exactly one of :attr:`devices` and :attr:`out` must be specified. 31 - If :attr:`devices` is specified, 33 :attr:`devices`. 39 if not ((devices is None) ^ (out is None)): 41 … f"Exactly one of 'devices' and 'out' must be specified, but got devices={devices} and out={out}" 43 if devices is not None: [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | mirrored_strategy.py | 54 def _is_device_list_single_worker(devices): argument 55 """Checks whether the devices list is for single or multi-worker. 58 devices: a list of device strings or tf.config.LogicalDevice objects, for 59 either local or for remote devices. 69 for d in devices: 81 "Devices cannot have mixed list of device strings " 97 devices = [] 101 devices.append("/job:%s/task:%d/device:CPU:0" % (task_type, task_id)) 103 devices.extend([ 107 return devices [all …]
|