Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 15 of 15) sorted by relevance

/lib/
Ddevres.c15 void devm_ioremap_release(struct device *dev, void *res) in devm_ioremap_release() argument
20 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() argument
25 static void __iomem *__devm_ioremap(struct device *dev, resource_size_t offset, in __devm_ioremap() argument
49 devres_add(dev, ptr); in __devm_ioremap()
64 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, in devm_ioremap() argument
67 return __devm_ioremap(dev, offset, size, DEVM_IOREMAP); in devm_ioremap()
80 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset, in devm_ioremap_nocache() argument
83 return __devm_ioremap(dev, offset, size, DEVM_IOREMAP_NC); in devm_ioremap_nocache()
95 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset, in devm_ioremap_wc() argument
98 return __devm_ioremap(dev, offset, size, DEVM_IOREMAP_WC); in devm_ioremap_wc()
[all …]
Dpci_iomap.c28 void __iomem *pci_iomap_range(struct pci_dev *dev, in pci_iomap_range() argument
33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range()
34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range()
35 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range()
44 return __pci_ioport_map(dev, start, len); in pci_iomap_range()
68 void __iomem *pci_iomap_wc_range(struct pci_dev *dev, in pci_iomap_wc_range() argument
73 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
74 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
75 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
111 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
[all …]
Dtest_kmod.c133 struct device *dev; member
159 static struct miscdevice *dev_to_misc_dev(struct device *dev) in dev_to_misc_dev() argument
161 return dev_get_drvdata(dev); in dev_to_misc_dev()
169 static struct kmod_test_device *dev_to_test_dev(struct device *dev) in dev_to_test_dev() argument
173 misc_dev = dev_to_misc_dev(dev); in dev_to_test_dev()
185 dev_dbg(test_dev->dev, "Done thread count: %u\n", test_dev->done); in kmod_test_done_check()
188 dev_info(test_dev->dev, "Done: %u threads have all run now\n", in kmod_test_done_check()
190 dev_info(test_dev->dev, "Last thread to run: %u\n", idx); in kmod_test_done_check()
237 dev_dbg(test_dev->dev, "Ran thread %u\n", info->thread_idx); in run_request()
263 dev_info(test_dev->dev, in tally_work_test()
[all …]
Dtest_firmware.c43 struct device *dev; member
197 static ssize_t reset_store(struct device *dev, in reset_store() argument
225 static ssize_t config_show(struct device *dev, in config_show() argument
235 dev_name(dev)); in config_show()
268 static ssize_t config_name_store(struct device *dev, in config_name_store() argument
367 static ssize_t config_name_show(struct device *dev, in config_name_show() argument
375 static ssize_t config_num_requests_store(struct device *dev, in config_num_requests_store() argument
397 static ssize_t config_num_requests_show(struct device *dev, in config_num_requests_show() argument
405 static ssize_t config_into_buf_store(struct device *dev, in config_into_buf_store() argument
414 static ssize_t config_into_buf_show(struct device *dev, in config_into_buf_show() argument
[all …]
Ddynamic_debug.c574 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument
587 if (!dev) { in __dynamic_dev_dbg()
592 dev_printk_emit(LOGLEVEL_DEBUG, dev, "%s%s %s: %pV", in __dynamic_dev_dbg()
594 dev_driver_string(dev), dev_name(dev), in __dynamic_dev_dbg()
605 const struct net_device *dev, const char *fmt, ...) in __dynamic_netdev_dbg() argument
618 if (dev && dev->dev.parent) { in __dynamic_netdev_dbg()
621 dev_printk_emit(LOGLEVEL_DEBUG, dev->dev.parent, in __dynamic_netdev_dbg()
624 dev_driver_string(dev->dev.parent), in __dynamic_netdev_dbg()
625 dev_name(dev->dev.parent), in __dynamic_netdev_dbg()
626 netdev_name(dev), netdev_reg_state(dev), in __dynamic_netdev_dbg()
[all …]
Dgenalloc.c772 static void devm_gen_pool_release(struct device *dev, void *res) in devm_gen_pool_release() argument
777 static int devm_gen_pool_match(struct device *dev, void *res, void *data) in devm_gen_pool_match() argument
798 struct gen_pool *gen_pool_get(struct device *dev, const char *name) in gen_pool_get() argument
802 p = devres_find(dev, devm_gen_pool_release, devm_gen_pool_match, in gen_pool_get()
821 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create() argument
828 if (gen_pool_get(dev, name)) in devm_gen_pool_create()
847 devres_add(dev, ptr); in devm_gen_pool_create()
895 pool = gen_pool_get(&pdev->dev, name); in of_gen_pool_get()
Dtest_overflow.c561 struct device *dev; in test_overflow_allocation() local
565 dev = root_device_register(device_name); in test_overflow_allocation()
566 if (IS_ERR(dev)) { in test_overflow_allocation()
583 err |= test_devm_kmalloc(dev); in test_overflow_allocation()
584 err |= test_devm_kzalloc(dev); in test_overflow_allocation()
586 device_unregister(dev); in test_overflow_allocation()
Dtest_blackhole_dev.c69 skb->dev = blackhole_netdev; in test_blackholedev_init()
DKconfig.ubsan12 (see: Documentation/dev-tools/ubsan.rst).
Diomap.c380 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) in pci_iounmap() argument
DKconfig.kgdb17 as well as in Documentation/dev-tools/kgdb.rst. If
DKconfig.debug15 to /dev/kmsg. This flag just specifies if the timestamp should
239 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst
568 allocations. See Documentation/dev-tools/kmemleak.rst for more
785 For more details, see Documentation/dev-tools/kcov.rst.
1446 Textual device names (root=/dev/sdXn) will continue to work.
2093 bool "Filter access to /dev/mem"
2102 enabled, even in this case there are restrictions on /dev/mem
2105 If this option is switched on, and IO_STRICT_DEVMEM=n, the /dev/mem
2108 users of /dev/mem.
2113 bool "Filter I/O access to /dev/mem"
[all …]
DKconfig.kasan23 See Documentation/dev-tools/kasan.rst for details.
Dtest_bpf.c6466 static struct net_device dev; variable
6491 dev_net_set(&dev, &init_net); in populate_skb()
6492 skb->dev = &dev; in populate_skb()
6493 skb->dev->ifindex = SKB_DEV_IFINDEX; in populate_skb()
6494 skb->dev->type = SKB_DEV_TYPE; in populate_skb()
/lib/raid6/test/
DMakefile16 ARCH := $(shell uname -m 2>/dev/null | sed -e /s/i.86/i386/)
38 gcc -c -x assembler - >&/dev/null && \
41 gcc -c -x assembler - >&/dev/null && \
44 gcc -c -x assembler - >&/dev/null && \
51 gcc -c -x c - >/dev/null && rm ./-.o && echo yes)