Home
last modified time | relevance | path

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

123

/tools/testing/selftests/ublk/
A Dkublk.c70 static int __ublk_ctrl_cmd(struct ublk_dev *dev, in __ublk_ctrl_cmd()
437 struct ublk_dev *dev = q->dev; in ublk_queue_init() local
486 struct ublk_dev *dev = t->dev; in ublk_thread_init() local
758 struct ublk_dev *dev = t->dev; in ublk_handle_cqe() local
831 struct ublk_dev *dev; member
1111 struct ublk_dev *dev = NULL; in __cmd_dev_add() local
1282 struct ublk_dev *dev; in __cmd_dev_del() local
1323 struct ublk_dev *dev = ublk_ctrl_init(); in __cmd_dev_list() local
1382 struct ublk_dev *dev; in cmd_dev_get_features() local
1416 struct ublk_dev *dev = ublk_ctrl_init(); in cmd_dev_update_size() local
[all …]
A Dcommon.c5 void backing_file_tgt_deinit(struct ublk_dev *dev) in backing_file_tgt_deinit()
15 int backing_file_tgt_init(struct ublk_dev *dev) in backing_file_tgt_init()
/tools/testing/nvdimm/test/
A Dndtest.c386 static ssize_t range_index_show(struct device *dev, in range_index_show()
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()
596 static ssize_t nvdimm_handle_show(struct device *dev, in nvdimm_handle_show()
624 static ssize_t formats_show(struct device *dev, in formats_show()
634 static ssize_t format_show(struct device *dev, in format_show()
667 static ssize_t flags_show(struct device *dev, in flags_show()
729 struct device *dev = &priv->pdev.dev; in ndtest_dimm_register() local
795 static ssize_t compatible_show(struct device *dev, in compatible_show()
[all …]
A Diomap.c73 void __iomem *__wrap_devm_ioremap(struct device *dev, in __wrap_devm_ioremap()
85 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
115 void *__wrap_devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap) in __wrap_devm_memremap_pages()
148 void __wrap_devm_memunmap(struct device *dev, void *addr) in __wrap_devm_memunmap()
193 static void nfit_devres_release(struct device *dev, void *data) in nfit_devres_release()
201 static int match(struct device *dev, void *__res, void *match_data) in match()
209 static bool nfit_test_release_region(struct device *dev, in nfit_test_release_region()
246 static struct resource *nfit_test_request_region(struct device *dev, in nfit_test_request_region()
339 struct resource *__wrap___devm_request_region(struct device *dev, in __wrap___devm_request_region()
357 void __wrap___devm_release_region(struct device *dev, struct resource *parent, in __wrap___devm_release_region()
A Dnfit.c235 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
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
961 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_unlock_unit() local
987 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_set_pass() local
1012 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_freeze_lock() local
[all …]
/tools/testing/selftests/drivers/net/hw/
A 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/
A 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()
A 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
A Dusbip_host_driver.c19 static int is_my_device(struct udev_device *dev) in is_my_device()
/tools/virtio/
A 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
A 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/
A 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
A 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()
A 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()
A Dtest_tc_link.c110 struct net_device *dev; member
121 struct net_device *dev = BPF_CORE_READ((struct sk_buff *)skb, dev); in tc8() local
A Dbpf_iter_ipv6_route.c16 const struct net_device *dev; in dump_ipv6_route() local
/tools/testing/selftests/net/
A 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/
A 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/include/nolibc/sys/
A Dsysmacros.h17 #define major(dev) ((unsigned int)(((dev) >> 8) & 0xfff)) argument
18 #define minor(dev) ((unsigned int)((dev) & 0xff)) argument
/tools/testing/cxl/test/
A Dcxl.c50 static inline bool is_multi_bridge(struct device *dev) in is_multi_bridge()
60 static inline bool is_single_bridge(struct device *dev) in is_single_bridge()
90 static bool is_mock_dev(struct device *dev) in is_mock_dev()
471 struct device *dev; member
479 struct device *dev = ctx->dev; in mock_acpi_table_parse_cedt() local
511 static bool is_mock_bridge(struct device *dev) in is_mock_bridge()
528 static bool is_mock_port(struct device *dev) in is_mock_port()
634 struct device *dev = &port->dev; in mock_cxl_setup_hdm() local
659 static int map_targets(struct device *dev, void *data) in map_targets()
729 static int first_decoder(struct device *dev, const void *data) in first_decoder()
[all …]
A Dmem.c188 static struct mock_event_log *event_find_log(struct device *dev, int log_type) in event_find_log()
255 static int mock_get_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_get_event()
314 static int mock_clear_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_clear_event()
358 static void cxl_mock_event_trigger(struct device *dev) in cxl_mock_event_trigger()
1542 struct device *dev = cxl_mbox->host; in cxl_mock_mbox_send() local
1663 static ssize_t event_trigger_store(struct device *dev, in event_trigger_store()
1690 struct device *dev = &pdev->dev; in cxl_mock_mem_probe() local
1793 static ssize_t security_lock_show(struct device *dev, in security_lock_show()
1826 static ssize_t fw_buf_checksum_show(struct device *dev, in fw_buf_checksum_show()
1839 static ssize_t sanitize_timeout_show(struct device *dev, in sanitize_timeout_show()
[all …]
/tools/usb/usbip/src/
A Dusbip_bind.c68 struct udev_device *dev; in unbind_other() local
134 struct udev_device *dev; in bind_device() local
A Dusbip_list.c172 struct udev_device *dev; in list_devices() local
255 struct udev_device *dev; in list_gadget_devices() local
/tools/virtio/linux/
A 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/
A Dmock_acpi.c10 struct acpi_device *to_cxl_host_bridge(struct device *host, struct device *dev) in to_cxl_host_bridge()

Completed in 61 milliseconds

123