devres.c (f5c13f1fdef9fed65b95c3c5f343d22c425ac1d7) | devres.c (9dbbc3b9d09d6deba9f3b9e1d5b355032ed46a75) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/err.h> 3#include <linux/pci.h> 4#include <linux/io.h> 5#include <linux/gfp.h> 6#include <linux/export.h> 7#include <linux/of_address.h> 8 --- 341 unchanged lines hidden (view full) --- 350 * @pdev: PCI device to access iomap table for 351 * 352 * Access iomap allocation table for @dev. If iomap table doesn't 353 * exist and @pdev is managed, it will be allocated. All iomaps 354 * recorded in the iomap table are automatically unmapped on driver 355 * detach. 356 * 357 * This function might sleep when the table is first allocated but can | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/err.h> 3#include <linux/pci.h> 4#include <linux/io.h> 5#include <linux/gfp.h> 6#include <linux/export.h> 7#include <linux/of_address.h> 8 --- 341 unchanged lines hidden (view full) --- 350 * @pdev: PCI device to access iomap table for 351 * 352 * Access iomap allocation table for @dev. If iomap table doesn't 353 * exist and @pdev is managed, it will be allocated. All iomaps 354 * recorded in the iomap table are automatically unmapped on driver 355 * detach. 356 * 357 * This function might sleep when the table is first allocated but can |
358 * be safely called without context and guaranteed to succed once | 358 * be safely called without context and guaranteed to succeed once |
359 * allocated. 360 */ 361void __iomem * const *pcim_iomap_table(struct pci_dev *pdev) 362{ 363 struct pcim_iomap_devres *dr, *new_dr; 364 365 dr = devres_find(&pdev->dev, pcim_iomap_release, NULL, NULL); 366 if (dr) --- 164 unchanged lines hidden --- | 359 * allocated. 360 */ 361void __iomem * const *pcim_iomap_table(struct pci_dev *pdev) 362{ 363 struct pcim_iomap_devres *dr, *new_dr; 364 365 dr = devres_find(&pdev->dev, pcim_iomap_release, NULL, NULL); 366 if (dr) --- 164 unchanged lines hidden --- |