Home
last modified time | relevance | path

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

123

/tools/testing/nvdimm/test/
Dndtest.c198 static inline struct ndtest_priv *to_ndtest_priv(struct device *dev) in to_ndtest_priv()
386 static ssize_t range_index_show(struct device *dev, in range_index_show()
494 static ssize_t handle_show(struct device *dev, struct device_attribute *attr, in handle_show()
503 static ssize_t fail_cmd_show(struct device *dev, struct device_attribute *attr, in fail_cmd_show()
511 static ssize_t fail_cmd_store(struct device *dev, struct device_attribute *attr, in fail_cmd_store()
528 static ssize_t fail_cmd_code_show(struct device *dev, struct device_attribute *attr, in fail_cmd_code_show()
536 static ssize_t fail_cmd_code_store(struct device *dev, struct device_attribute *attr, in fail_cmd_code_store()
568 static ssize_t phys_id_show(struct device *dev, in phys_id_show()
578 static ssize_t vendor_show(struct device *dev, in vendor_show()
585 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/drivers/net/hw/
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
/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/virtio/
Dvhost_net_test.c60 static int tun_alloc(struct vdev_info *dev, char *tun_name) in tun_alloc()
102 static void vdev_create_socket(struct vdev_info *dev, char *tun_name) in vdev_create_socket()
120 static void vdev_send_packet(struct vdev_info *dev) in vdev_send_packet()
150 static void vhost_vq_setup(struct vdev_info *dev, struct vq_info *info) in vhost_vq_setup()
191 static void vq_info_add(struct vdev_info *dev, int idx, int num, int fd) in vq_info_add()
208 static void vdev_info_init(struct vdev_info *dev, unsigned long long features) in vdev_info_init()
275 static void run_tx_test(struct vdev_info *dev, struct vq_info *vq, in run_tx_test()
342 static void run_rx_test(struct vdev_info *dev, struct vq_info *vq, in run_rx_test()
481 struct vdev_info dev; in main() local
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()
346 struct vdev_info dev; in main() local
/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_vmas.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()
Dbpf_iter_ipv6_route.c16 const struct net_device *dev; in dump_ipv6_route() local
Dtest_ns_current_pid_tgid.c17 __u64 dev = 0; variable
/tools/testing/selftests/net/
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/
Dp9_fwd.py15 def path_from_usb_dev(dev): argument
52 def find_filter(dev): argument
165 def try_get_usb_str(dev, name): argument
/tools/testing/cxl/test/
Dcxl.c49 static inline bool is_multi_bridge(struct device *dev) in is_multi_bridge()
59 static inline bool is_single_bridge(struct device *dev) in is_single_bridge()
89 static bool is_mock_dev(struct device *dev) in is_mock_dev()
470 struct device *dev; member
478 struct device *dev = ctx->dev; in mock_acpi_table_parse_cedt() local
510 static bool is_mock_bridge(struct device *dev) in is_mock_bridge()
527 static bool is_mock_port(struct device *dev) in is_mock_port()
633 struct device *dev = &port->dev; in mock_cxl_setup_hdm() local
658 static int map_targets(struct device *dev, void *data) in map_targets()
728 static int first_decoder(struct device *dev, void *data) in first_decoder()
[all …]
Dmem.c166 static struct mock_event_log *event_find_log(struct device *dev, int log_type) in event_find_log()
233 static int mock_get_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_get_event()
292 static int mock_clear_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_clear_event()
336 static void cxl_mock_event_trigger(struct device *dev) in cxl_mock_event_trigger()
1343 struct device *dev = cxl_mbox->host; in cxl_mock_mbox_send() local
1452 static ssize_t event_trigger_store(struct device *dev, in event_trigger_store()
1474 struct device *dev = &pdev->dev; in cxl_mock_mem_probe() local
1563 static ssize_t security_lock_show(struct device *dev, in security_lock_show()
1572 static ssize_t security_lock_store(struct device *dev, struct device_attribute *attr, in security_lock_store()
1596 static ssize_t fw_buf_checksum_show(struct device *dev, in fw_buf_checksum_show()
[all …]
Dmock.c120 __wrap_nvdimm_bus_register(struct device *dev, in __wrap_nvdimm_bus_register()
231 int __wrap_cxl_dvsec_rr_decode(struct device *dev, struct cxl_port *port, in __wrap_cxl_dvsec_rr_decode()
271 resource_size_t __wrap_cxl_rcd_component_reg_phys(struct device *dev, in __wrap_cxl_rcd_component_reg_phys()
/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.h134 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
135 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
136 #define dev_warn_once(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
/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/mm/
Dmlock2.h20 char dev[32]; in seek_to_smaps_entry() local

123