Home
last modified time | relevance | path

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

/tools/power/cpupower/utils/helpers/
Dpci.c30 struct pci_dev *device; in pci_acc_init() local
42 filter_nb_link.device = dev; in pci_acc_init()
47 for (device = (*pacc)->devices; device; device = device->next) { in pci_acc_init()
48 if (pci_filter_match(&filter_nb_link, device)) in pci_acc_init()
49 return device; in pci_acc_init()
Damd.c136 struct pci_dev *device; in amd_pci_get_num_boost_states() local
141 device = pci_slot_func_init(&pci_acc, 0x18, 4); in amd_pci_get_num_boost_states()
143 if (device == NULL) in amd_pci_get_num_boost_states()
146 val = pci_read_byte(device, 0x15c); in amd_pci_get_num_boost_states()
/tools/usb/usbip/
DREADME8 USB/IP protocol allows to pass USB device from server to client over the
9 network. Server is a machine which provides (shares) a USB device. Client is
10 a machine which uses USB device provided by server over the network.
11 The USB device may be either physical device connected to a server or
17 and allows to import a USB device from a remote machine.
20 A server side module which provides a USB device driver which can be
21 bound to a physical USB device to make it exportable.
25 to export a USB device created using USB Gadget Subsystem.
32 - USB/IP device drivers
47 Contains USB device identification data.
[all …]
/tools/usb/
Dtestusb.c381 char *device; in main() local
404 device = getenv ("DEVICE"); in main()
409 device = optarg; in main()
415 device = NULL; in main()
468 if (!all && !device) { in main()
490 if (!testdevs && !device) { in main()
496 if (testdevs && testdevs->next == 0 && !device) in main()
497 device = testdevs->name; in main()
505 if (device) { in main()
506 if (strcmp (entry->name, device)) in main()
[all …]
/tools/laptop/freefall/
Dfreefall.c30 static int set_unload_heads_path(char *device) in set_unload_heads_path() argument
32 if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0) in set_unload_heads_path()
34 strncpy(device_path, device, sizeof(device_path) - 1); in set_unload_heads_path()
37 "/sys/block/%s/device/unload_heads", device+5); in set_unload_heads_path()
/tools/testing/selftests/tc-testing/
Dtdc_batch.py27 device = args.device variable
57 (device, prio, skip, src_mac, dst_mac, share_action))
Dtdc.py109 if "flower" in tidx["category"] and args.device == None:
236 if args.device != None:
237 NAMES['DEV2'] = args.device
397 if (target_category == "flower") and args.device == None:
/tools/testing/selftests/media_tests/
Dregression_test.txt10 Disconnect the device.
24 seconds. The idea is when device file goes away, media devnode and cdev
35 device file goes away after unbind, device file name changes. Start the
36 test with possible device names. If we start with /dev/media0 for example,
/tools/testing/nvdimm/test/
Diomap.c84 void __iomem *__wrap_devm_ioremap_nocache(struct device *dev, in __wrap_devm_ioremap_nocache()
96 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
107 void *__wrap_devm_memremap_pages(struct device *dev, struct resource *res, in __wrap_devm_memremap_pages()
140 void __wrap_devm_memunmap(struct device *dev, void *addr) in __wrap_devm_memunmap()
181 static bool nfit_test_release_region(struct device *dev,
185 static void nfit_devres_release(struct device *dev, void *data) in nfit_devres_release()
193 static int match(struct device *dev, void *__res, void *match_data) in match()
201 static bool nfit_test_release_region(struct device *dev, in nfit_test_release_region()
238 static struct resource *nfit_test_request_region(struct device *dev, in nfit_test_request_region()
331 struct resource *__wrap___devm_request_region(struct device *dev, in __wrap___devm_request_region()
[all …]
Dnfit_test.h29 struct device *dev;
Dnfit.c170 struct device *dimm_dev[NUM_DCR];
173 static struct nfit_test *to_nfit_test(struct device *dev) in to_nfit_test()
497 struct device *dev = &t->pdev.dev; in __test_alloc()
567 static int ars_state_init(struct device *dev, struct ars_state *ars_state) in ars_state_init()
581 struct device **dimm_dev = data; in put_dimms()
591 static int dimm_name_to_id(struct device *dev) in dimm_name_to_id()
602 static ssize_t handle_show(struct device *dev, struct device_attribute *attr, in handle_show()
614 static ssize_t fail_cmd_show(struct device *dev, struct device_attribute *attr, in fail_cmd_show()
625 static ssize_t fail_cmd_store(struct device *dev, struct device_attribute *attr, in fail_cmd_store()
1580 static int nfit_ctl_test(struct device *dev) in nfit_ctl_test()
[all …]
/tools/pci/
Dpcitest.c35 char *device; member
50 fd = open(test->device, O_RDWR); in run_test()
131 test->device = "/dev/pci-endpoint-test.0"; in main()
136 test->device = optarg; in main()
/tools/virtio/linux/
Dvirtio.h7 struct device { struct
12 struct device dev; argument
/tools/testing/selftests/networking/timestamping/
Dtimestamping.c326 struct ifreq device; in main() local
371 memset(&device, 0, sizeof(device)); in main()
372 strncpy(device.ifr_name, interface, sizeof(device.ifr_name)); in main()
373 if (ioctl(sock, SIOCGIFADDR, &device) < 0) in main()
413 ((struct sockaddr_in *)&device.ifr_addr)->sin_addr.s_addr; in main()
/tools/usb/usbip/vudc/
Dvudc_server_example.sh81 usbipd --device &
/tools/testing/selftests/ptp/
Dtestptp.c166 char *device = DEVICE; in main() local
202 device = optarg; in main()
259 fd = open(device, O_RDWR); in main()
261 fprintf(stderr, "opening %s: %s\n", device, strerror(errno)); in main()
/tools/thermal/tmon/
DREADME16 links, trip point bindings, and device instances. To traverse such
41 -c, --control cooling device in control
/tools/virtio/virtio-trace/
DREADME56 ##virtio-serial device##
57 -device virtio-serial-pci,id=virtio-serial0\
60 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
64 -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,\
/tools/spi/
Dspidev_test.c36 static const char *device = "/dev/spidev1.1"; variable
228 device = optarg; in parse_opts()
411 fd = open(device, O_RDWR); in main()
/tools/testing/selftests/zram/
DREADME27 zram02.sh: creates block device for swap
/tools/perf/Documentation/
Dandroid.txt58 You need to connect to your Android device/emulator using adb.
77 Run perf on your device/emulator to which you previously connected using adb:
Dperf-stat.txt245 During the measurement, the /sys/device/cpu/freeze_on_smi will be set to
Dperf-report.txt96 - cgroup_id: ID derived from cgroup namespace device and inode numbers.
/tools/include/uapi/sound/
Dasound.h119 unsigned int device; /* WR: device number */ member
320 unsigned int device; /* RO/WR (control): device number */ member
619 unsigned int device; /* RO/WR (control): device number */ member
692 int device; member
877 unsigned int device; /* device/client number */ member
/tools/testing/nvdimm/
DKbuild58 device_dax-y := $(DAX_SRC)/device.o