coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pcie_common.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_MEDIATEK_PCIE_COMMON_H
4 #define SOC_MEDIATEK_PCIE_COMMON_H
5 
6 #include <device/device.h>
7 #include <types.h>
8 
13  unsigned long type;
14 };
15 
17  uintptr_t base; /* MAC physical address */
18  const struct mtk_pcie_mmio_res mmio_res_io;
19  const struct mtk_pcie_mmio_res mmio_res_mem;
20 };
21 
22 void mtk_pcie_domain_read_resources(struct device *dev);
23 void mtk_pcie_domain_set_resources(struct device *dev);
24 void mtk_pcie_domain_enable(struct device *dev);
25 
26 #endif
void mtk_pcie_domain_set_resources(struct device *dev)
Definition: pcie.c:193
void mtk_pcie_domain_read_resources(struct device *dev)
Definition: pcie.c:181
void mtk_pcie_domain_enable(struct device *dev)
Definition: pcie.c:213
unsigned int uint32_t
Definition: stdint.h:14
unsigned long uintptr_t
Definition: stdint.h:21
Definition: device.h:107
const struct mtk_pcie_mmio_res mmio_res_mem
Definition: pcie_common.h:19
uintptr_t base
Definition: pcie_common.h:17
const struct mtk_pcie_mmio_res mmio_res_io
Definition: pcie_common.h:18
unsigned long type
Definition: pcie_common.h:13
uint32_t pci_addr
Definition: pcie_common.h:11
uint32_t cpu_addr
Definition: pcie_common.h:10