/external/libpcap/ |
D | pcap-bt-linux.c | 75 struct hci_dev_list_req *dev_list; in bt_findalldevs() local 91 dev_list = malloc(HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); in bt_findalldevs() 92 if (!dev_list) in bt_findalldevs() 95 HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); in bt_findalldevs() 100 dev_list->dev_num = HCI_MAX_DEV; in bt_findalldevs() 102 if (ioctl(sock, HCIGETDEVLIST, (void *) dev_list) < 0) in bt_findalldevs() 110 dev_req = dev_list->dev_req; in bt_findalldevs() 111 for (i = 0; i < dev_list->dev_num; i++, dev_req++) { in bt_findalldevs() 133 free(dev_list); in bt_findalldevs()
|
D | pcap-rdmasniff.c | 360 struct ibv_device **dev_list; in rdmasniff_create() local 370 dev_list = ibv_get_device_list(&numdev); in rdmasniff_create() 371 if (!dev_list || !numdev) { in rdmasniff_create() 390 if (strlen(dev_list[i]->name) == namelen && in rdmasniff_create() 391 !strncmp(device, dev_list[i]->name, namelen)) { in rdmasniff_create() 398 priv->rdma_device = dev_list[i]; in rdmasniff_create() 405 ibv_free_device_list(dev_list); in rdmasniff_create() 412 struct ibv_device **dev_list; in rdmasniff_findalldevs() local 417 dev_list = ibv_get_device_list(&numdev); in rdmasniff_findalldevs() 418 if (!dev_list || !numdev) { in rdmasniff_findalldevs() [all …]
|
/external/u-boot/test/dm/ |
D | regulator.c | 280 struct udevice *dev_list[2], *dev; in dm_test_power_regulator_autoset_list() local 299 ut_assertok(regulator_list_autoset(platname_list, dev_list, false)); in dm_test_power_regulator_autoset_list() 303 ut_assert(dev_list[i]); in dm_test_power_regulator_autoset_list() 307 ut_asserteq_ptr(dev_list[i], dev); in dm_test_power_regulator_autoset_list() 310 ut_asserteq(regulator_get_value(dev_list[i]), in dm_test_power_regulator_autoset_list() 314 ut_asserteq(regulator_get_current(dev_list[i]), in dm_test_power_regulator_autoset_list() 318 ut_asserteq(regulator_get_enable(dev_list[i]), in dm_test_power_regulator_autoset_list()
|
/external/adhd/cras/src/tests/ |
D | dev_io_unittest.cc | 58 struct open_dev* dev_list = NULL; in TEST_F() local 61 DL_APPEND(dev_list, dev->odev.get()); in TEST_F() 67 EXPECT_EQ(-3, dev_io_send_captured_samples(dev_list)); in TEST_F()
|
/external/libusb-compat/libusb/ |
D | core.c | 173 libusb_device **dev_list = NULL; in find_busses() local 180 r = libusb_get_device_list(ctx, &dev_list); in find_busses() 187 libusb_free_device_list(dev_list, 1); in find_busses() 198 libusb_device *dev = dev_list[i]; in find_busses() 226 libusb_free_device_list(dev_list, 1); in find_busses() 308 static int find_devices(libusb_device **dev_list, int dev_list_len, in find_devices() argument 316 libusb_device *newlib_dev = dev_list[i]; in find_devices() 569 libusb_device **dev_list; in usb_find_devices() local 580 dev_list_len = libusb_get_device_list(ctx, &dev_list); in usb_find_devices() 588 r = find_devices(dev_list, dev_list_len, bus, &new_devices); in usb_find_devices() [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | all_reduce_test.py | 128 def _buildInitialVars(self, shape, dev_list): argument 130 num_devices = len(dev_list) 133 with ops.device(dev_list[d]): 153 dev_list = ["/replica:0/task:0/device:CPU:0" 156 input_tensors = self._buildInitialVars(shape, dev_list)
|
/external/adhd/cras/src/server/ |
D | dev_io.h | 87 int dev_io_remove_stream(struct open_dev **dev_list,
|
D | dev_io.c | 981 int dev_io_remove_stream(struct open_dev **dev_list, in dev_io_remove_stream() argument 1005 DL_FOREACH(*dev_list, open_dev) { in dev_io_remove_stream()
|
/external/tensorflow/tensorflow/contrib/verbs/ |
D | rdma.cc | 121 ibv_device** dev_list; in set_device() local 126 dev_list = ibv_get_device_list(&dev_num); in set_device() 127 CHECK(dev_list) << "No InfiniBand device found"; in set_device() 133 ibv_get_device_name(dev_list[device_index]))) { in set_device() 134 CHECK(get_dev_active_port_count(dev_list[device_index]) != 0) in set_device() 135 << "Device " << ibv_get_device_name(dev_list[device_index]) in set_device() 137 return dev_list[device_index]; in set_device() 149 if (get_dev_active_port_count(dev_list[device_index]) > 0) { in set_device() 160 return dev_list[device_to_open]; in set_device()
|
/external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | st_tusb.h | 54 struct list_head dev_list; /* devices on this bus */ member
|
/external/iputils/ |
D | arping.c | 723 struct dlist *dev_list; in find_device_by_sysfs() local 740 dev_list = sysfs_get_class_devices(cls_net); in find_device_by_sysfs() 741 if (!dev_list) { in find_device_by_sysfs() 748 dlist_for_each_data(dev_list, dev, struct sysfs_class_device) { in find_device_by_sysfs()
|
/external/u-boot/fs/yaffs2/ |
D | yaffsfs.c | 497 dev = list_entry(cfg, struct yaffs_dev, dev_list); in yaffsfs_FindDevice() 2747 if (dev == list_entry(cfg, struct yaffs_dev, dev_list)) in yaffs_add_device() 2754 if (!dev->dev_list.next) in yaffs_add_device() 2755 INIT_LIST_HEAD(&dev->dev_list); in yaffs_add_device() 2757 list_add(&dev->dev_list, &yaffsfs_deviceList); in yaffs_add_device() 2762 list_del_init(&dev->dev_list); in yaffs_remove_device() 2782 retval = list_entry(dev_iterator, struct yaffs_dev, dev_list); in yaffs_next_dev()
|
D | yaffs_guts.h | 623 struct list_head dev_list; member
|