Searched refs:pdev (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | devres.c | 295 void __iomem * const *pcim_iomap_table(struct pci_dev *pdev) in pcim_iomap_table() argument 299 dr = devres_find(&pdev->dev, pcim_iomap_release, NULL, NULL); in pcim_iomap_table() 306 dr = devres_get(&pdev->dev, new_dr, NULL, NULL); in pcim_iomap_table() 320 void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen) in pcim_iomap() argument 326 tbl = (void __iomem **)pcim_iomap_table(pdev); in pcim_iomap() 330 tbl[bar] = pci_iomap(pdev, bar, maxlen); in pcim_iomap() 342 void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr) in pcim_iounmap() argument 347 pci_iounmap(pdev, addr); in pcim_iounmap() 349 tbl = (void __iomem **)pcim_iomap_table(pdev); in pcim_iounmap() 369 int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name) in pcim_iomap_regions() argument [all …]
|
D | genalloc.c | 874 struct platform_device *pdev; in of_gen_pool_get() local 883 pdev = of_find_device_by_node(np_pool); in of_gen_pool_get() 884 if (!pdev) { in of_gen_pool_get() 887 pdev = of_find_device_by_node(parent); in of_gen_pool_get() 894 if (pdev) in of_gen_pool_get() 895 pool = gen_pool_get(&pdev->dev, name); in of_gen_pool_get()
|