Debian Codegraph @

drivers/pci/controller/pci-host-common.h

raw
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Common library for PCI host controller drivers
4 *
5 * Copyright (C) 2014 ARM Limited
6 *
7 * Author: Will Deacon <[email protected]>
8 */
9
10 #ifndef _PCI_HOST_COMMON_H
11 #define _PCI_HOST_COMMON_H
12
13 struct pci_ecam_ops;
14
15 int pci_host_common_probe(struct platform_device *pdev);
16 int pci_host_common_init(struct platform_device *pdev,
17 struct pci_host_bridge *bridge,
18 const struct pci_ecam_ops *ops);
19 void pci_host_common_remove(struct platform_device *pdev);
20
21 struct pci_config_window *pci_host_common_ecam_create(struct device *dev,
22 struct pci_host_bridge *bridge, const struct pci_ecam_ops *ops);
23 #endif