Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 <will.deacon@arm.com>
8 */
9
10#ifndef _PCI_HOST_COMMON_H
11#define _PCI_HOST_COMMON_H
12
13struct pci_ecam_ops;
14
15int pci_host_common_probe(struct platform_device *pdev);
16int pci_host_common_init(struct platform_device *pdev,
17 struct pci_host_bridge *bridge,
18 const struct pci_ecam_ops *ops);
19void pci_host_common_remove(struct platform_device *pdev);
20
21struct 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