Home
last modified time | relevance | path

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

/lib/
Ddevres.c7 void devm_ioremap_release(struct device *dev, void *res) in devm_ioremap_release() argument
12 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() argument
25 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, in devm_ioremap() argument
37 devres_add(dev, ptr); in devm_ioremap()
54 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset, in devm_ioremap_nocache() argument
66 devres_add(dev, ptr); in devm_ioremap_nocache()
81 void devm_iounmap(struct device *dev, void __iomem *addr) in devm_iounmap() argument
83 WARN_ON(devres_destroy(dev, devm_ioremap_release, devm_ioremap_match, in devm_iounmap()
107 void __iomem *devm_ioremap_resource(struct device *dev, struct resource *res) in devm_ioremap_resource() argument
113 BUG_ON(!dev); in devm_ioremap_resource()
[all …]
Ddma-debug.c72 struct device *dev; member
174 static bool driver_filter(struct device *dev) in driver_filter() argument
185 if (current_driver && dev && dev->driver == current_driver) in driver_filter()
189 if (!dev) in driver_filter()
196 drv = dev->driver; in driver_filter()
215 #define err_printk(dev, entry, format, arg...) do { \ argument
217 if (driver_filter(dev) && \
220 dev ? dev_driver_string(dev) : "NULL", \
221 dev ? dev_name(dev) : "NULL", ## arg); \
271 (a->dev == b->dev)) ? true : false; in exact_match()
[all …]
Dpci_iomap.c26 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
28 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap()
29 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap()
30 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap()
37 return __pci_ioport_map(dev, start, len); in pci_iomap()
Ddynamic_debug.c565 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument
578 if (!dev) { in __dynamic_dev_dbg()
583 dev_printk_emit(7, dev, "%s%s %s: %pV", in __dynamic_dev_dbg()
585 dev_driver_string(dev), dev_name(dev), in __dynamic_dev_dbg()
596 const struct net_device *dev, const char *fmt, ...) in __dynamic_netdev_dbg() argument
609 if (dev && dev->dev.parent) { in __dynamic_netdev_dbg()
612 dev_printk_emit(7, dev->dev.parent, in __dynamic_netdev_dbg()
615 dev_driver_string(dev->dev.parent), in __dynamic_netdev_dbg()
616 dev_name(dev->dev.parent), in __dynamic_netdev_dbg()
617 netdev_name(dev), netdev_reg_state(dev), in __dynamic_netdev_dbg()
[all …]
Dswiotlb.c699 swiotlb_full(struct device *dev, size_t size, enum dma_data_direction dir, in swiotlb_full() argument
710 "device %s\n", size, dev ? dev_name(dev) : "?"); in swiotlb_full()
730 dma_addr_t swiotlb_map_page(struct device *dev, struct page *page, in swiotlb_map_page() argument
736 dma_addr_t dev_addr = phys_to_dma(dev, phys); in swiotlb_map_page()
744 if (dma_capable(dev, dev_addr, size) && !swiotlb_force) in swiotlb_map_page()
747 trace_swiotlb_bounced(dev, dev_addr, size, swiotlb_force); in swiotlb_map_page()
750 map = map_single(dev, phys, size, dir); in swiotlb_map_page()
752 swiotlb_full(dev, size, dir, 1); in swiotlb_map_page()
753 return phys_to_dma(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
756 dev_addr = phys_to_dma(dev, map); in swiotlb_map_page()
[all …]
Dtest_firmware.c50 static ssize_t trigger_request_store(struct device *dev, in trigger_request_store() argument
67 rc = request_firmware(&test_firmware, name, dev); in trigger_request_store()
Dgenalloc.c569 static void devm_gen_pool_release(struct device *dev, void *res) in devm_gen_pool_release() argument
584 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create() argument
594 devres_add(dev, ptr); in devm_gen_pool_create()
609 struct gen_pool *dev_get_gen_pool(struct device *dev) in dev_get_gen_pool() argument
611 struct gen_pool **p = devres_find(dev, devm_gen_pool_release, NULL, in dev_get_gen_pool()
644 return dev_get_gen_pool(&pdev->dev); in of_get_named_gen_pool()
Diomap.c247 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) in pci_iounmap() argument
Dtest_bpf.c1761 static struct net_device dev; variable
1784 skb->dev = &dev; in populate_skb()
1785 skb->dev->ifindex = SKB_DEV_IFINDEX; in populate_skb()
1786 skb->dev->type = SKB_DEV_TYPE; in populate_skb()
DKconfig.debug12 to /dev/kmsg. This flag just specifies if the timestamp should
1345 Textual device names (root=/dev/sdXn) will continue to work.
/lib/raid6/test/
DMakefile15 ARCH := $(shell uname -m 2>/dev/null | sed -e /s/i.86/i386/)
37 gcc -c -x assembler - >&/dev/null && \
44 gcc -c -x c - >&/dev/null && \