Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 48) sorted by relevance

12

/tools/testing/nvdimm/test/
Dndtest.c192 static inline struct ndtest_priv *to_ndtest_priv(struct device *dev) in to_ndtest_priv()
380 static ssize_t range_index_show(struct device *dev, in range_index_show()
488 static ssize_t handle_show(struct device *dev, struct device_attribute *attr, in handle_show()
497 static ssize_t fail_cmd_show(struct device *dev, struct device_attribute *attr, in fail_cmd_show()
505 static ssize_t fail_cmd_store(struct device *dev, struct device_attribute *attr, in fail_cmd_store()
522 static ssize_t fail_cmd_code_show(struct device *dev, struct device_attribute *attr, in fail_cmd_code_show()
530 static ssize_t fail_cmd_code_store(struct device *dev, struct device_attribute *attr, in fail_cmd_code_store()
562 static ssize_t phys_id_show(struct device *dev, in phys_id_show()
572 static ssize_t vendor_show(struct device *dev, in vendor_show()
579 static ssize_t id_show(struct device *dev, in id_show()
[all …]
Diomap.c74 void __iomem *__wrap_devm_ioremap(struct device *dev, in __wrap_devm_ioremap()
86 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
116 void *__wrap_devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap) in __wrap_devm_memremap_pages()
159 void __wrap_devm_memunmap(struct device *dev, void *addr) in __wrap_devm_memunmap()
204 static void nfit_devres_release(struct device *dev, void *data) in nfit_devres_release()
212 static int match(struct device *dev, void *__res, void *match_data) in match()
220 static bool nfit_test_release_region(struct device *dev, in nfit_test_release_region()
257 static struct resource *nfit_test_request_region(struct device *dev, in nfit_test_request_region()
350 struct resource *__wrap___devm_request_region(struct device *dev, in __wrap___devm_request_region()
368 void __wrap___devm_release_region(struct device *dev, struct resource *parent, in __wrap___devm_release_region()
Dnfit.c224 static struct nfit_test *to_nfit_test(struct device *dev) in to_nfit_test()
235 struct device *dev = &t->pdev.dev; in nd_intel_test_get_fw_info() local
261 struct device *dev = &t->pdev.dev; in nd_intel_test_start_update() local
291 struct device *dev = &t->pdev.dev; in nd_intel_test_send_data() local
342 struct device *dev = &t->pdev.dev; in nd_intel_test_finish_fw() local
393 struct device *dev = &t->pdev.dev; in nd_intel_test_finish_query() local
637 static int is_region_device(struct device *dev) in is_region_device()
642 static int nfit_test_search_region_spa(struct device *dev, void *data) in nfit_test_search_region_spa()
906 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_set_lss_status() local
946 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_security_status() local
[all …]
/tools/testing/selftests/net/
Ddevlink_port_split.py49 def get_if_names(dev): argument
71 def __init__(self, dev): argument
140 def exists(port, dev): argument
150 def exists_and_lanes(ports, lanes, dev): argument
204 def split_splittable_port(port, k, lanes, dev): argument
Dtun.c20 static int tun_attach(int fd, char *dev) in tun_attach()
31 static int tun_detach(int fd, char *dev) in tun_detach()
42 static int tun_alloc(char *dev) in tun_alloc()
67 static int tun_delete(char *dev) in tun_delete()
/tools/usb/usbip/libsrc/
Dusbip_device_driver.c24 #define copy_descr_attr16(dev, descr, attr) \ argument
27 #define copy_descr_attr(dev, descr, attr) \ argument
63 int read_usb_vudc_device(struct udev_device *sdev, struct usbip_usb_device *dev) in read_usb_vudc_device()
124 static int is_my_device(struct udev_device *dev) in is_my_device()
Dusbip_common.c141 int read_attr_value(struct udev_device *dev, const char *name, in read_attr_value()
179 int read_attr_speed(struct udev_device *dev) in read_attr_speed()
199 #define READ_ATTR(object, type, dev, name, format) \ argument
Dusbip_host_driver.c19 static int is_my_device(struct udev_device *dev) in is_my_device()
/tools/lib/traceevent/plugins/
Dplugin_jbd2.c15 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) argument
16 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) argument
21 unsigned int dev = args[0]; in process_jbd2_dev_to_name() local
/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_vma.c17 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) argument
18 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) argument
50 __u32 dev = file->f_inode->i_sb->s_dev; in proc_maps() local
Dcore_kern.c26 static __noinline int randmap(int v, const struct net_device *dev) in randmap()
52 struct net_device *dev, unsigned short protocol) in BPF_PROG()
59 struct net_device *dev, unsigned short protocol) in BPF_PROG()
Dkfree_skb.c43 struct net_device *dev; member
63 struct net_device *dev; in BPF_PROG() local
118 int BPF_PROG(fentry_eth_type_trans, struct sk_buff *skb, struct net_device *dev, in BPF_PROG()
136 int BPF_PROG(fexit_eth_type_trans, struct sk_buff *skb, struct net_device *dev, in BPF_PROG()
Dtest_ns_current_pid_tgid.c10 __u64 dev = 0; variable
Dbpf_iter_ipv6_route.c16 const struct net_device *dev; in dump_ipv6_route() local
/tools/testing/cxl/test/
Dcxl.c39 static inline bool is_multi_bridge(struct device *dev) in is_multi_bridge()
49 static inline bool is_single_bridge(struct device *dev) in is_single_bridge()
73 static bool is_mock_dev(struct device *dev) in is_mock_dev()
330 struct device *dev; member
338 struct device *dev = ctx->dev; in mock_acpi_table_parse_cedt() local
363 static bool is_mock_bridge(struct device *dev) in is_mock_bridge()
376 static bool is_mock_port(struct device *dev) in is_mock_port()
495 static int map_targets(struct device *dev, void *data) in map_targets()
568 static int first_decoder(struct device *dev, void *data) in first_decoder()
590 struct device *dev; in mock_init_hdm_decoder() local
[all …]
Dmem.c208 struct device *dev = cxlds->dev; in cxl_mock_mbox_send() local
250 struct device *dev = &pdev->dev; in cxl_mock_mem_probe() local
/tools/virtio/
Dvirtio_test.c68 void vhost_vq_setup(struct vdev_info *dev, struct vq_info *info) in vhost_vq_setup()
111 static void vq_info_add(struct vdev_info *dev, int num) in vq_info_add()
127 static void vdev_info_init(struct vdev_info* dev, unsigned long long features) in vdev_info_init()
158 static void wait_for_interrupt(struct vdev_info *dev) in wait_for_interrupt()
169 static void run_test(struct vdev_info *dev, struct vq_info *vq, in run_test()
344 struct vdev_info dev; in main() local
/tools/usb/usbip/src/
Dusbip_bind.c68 struct udev_device *dev; in unbind_other() local
134 struct udev_device *dev; in bind_device() local
Dusbip_list.c172 struct udev_device *dev; in list_devices() local
255 struct udev_device *dev; in list_gadget_devices() local
/tools/virtio/linux/
Dkernel.h137 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
138 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
139 #define dev_warn_once(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
/tools/testing/nvdimm/
Ddimm_devs.c12 ssize_t security_show(struct device *dev, in security_show()
/tools/testing/cxl/
Dmock_acpi.c10 struct acpi_device *to_cxl_host_bridge(struct device *host, struct device *dev) in to_cxl_host_bridge()
/tools/power/cpupower/utils/helpers/
Dpci.c27 int slot, int func, int vendor, int dev) in pci_acc_init()
/tools/testing/selftests/kvm/
Dsteal_time.c159 struct kvm_device_attr dev = { in is_steal_time_supported() local
173 struct kvm_device_attr dev = { in steal_time_init() local
/tools/testing/selftests/vm/
Dmlock2.h33 char dev[32]; in seek_to_smaps_entry() local

12