![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
union | pci_bank |
Functions | |
volatile union pci_bank * | pci_map_bus (pci_devfn_t dev) |
static __always_inline uint8_t | pci_s_read_config8 (pci_devfn_t dev, uint16_t reg) |
static __always_inline uint16_t | pci_s_read_config16 (pci_devfn_t dev, uint16_t reg) |
static __always_inline uint32_t | pci_s_read_config32 (pci_devfn_t dev, uint16_t reg) |
static __always_inline void | pci_s_write_config8 (pci_devfn_t dev, uint16_t reg, uint8_t value) |
static __always_inline void | pci_s_write_config16 (pci_devfn_t dev, uint16_t reg, uint16_t value) |
static __always_inline void | pci_s_write_config32 (pci_devfn_t dev, uint16_t reg, uint32_t value) |
static __always_inline uint8_t * | pci_mmio_config8_addr (pci_devfn_t dev, uint16_t reg) |
static __always_inline uint16_t * | pci_mmio_config16_addr (pci_devfn_t dev, uint16_t reg) |
static __always_inline uint32_t * | pci_mmio_config32_addr (pci_devfn_t dev, uint16_t reg) |
volatile union pci_bank* pci_map_bus | ( | pci_devfn_t | dev | ) |
Definition at line 115 of file pcie.c.
References base, mtk_pcie_get_controller_base(), PCI_DEV2DEVFN, PCI_DEV2SEGBUS, PCIE_CFG_HEADER, PCIE_CFG_OFFSET_ADDR, PCIE_CFGNUM_REG, val, and write32p().
Referenced by pci_mmio_config16_addr(), pci_mmio_config32_addr(), pci_mmio_config8_addr(), pci_s_read_config16(), pci_s_read_config32(), pci_s_read_config8(), pci_s_write_config16(), pci_s_write_config32(), and pci_s_write_config8().
|
static |
Definition at line 111 of file pci_mmio_cfg.h.
References pci_map_bus(), and pci_bank::reg16.
|
static |
Definition at line 117 of file pci_mmio_cfg.h.
References pci_map_bus(), and pci_bank::reg32.
Referenced by soc_pmc_etr_addr().
|
static |
Definition at line 105 of file pci_mmio_cfg.h.
References pci_map_bus(), and pci_bank::reg8.
|
static |
Definition at line 69 of file pci_mmio_cfg.h.
References pci_map_bus(), and pci_bank::reg16.
|
static |
Definition at line 75 of file pci_mmio_cfg.h.
References pci_map_bus(), and pci_bank::reg32.
|
static |
Definition at line 63 of file pci_mmio_cfg.h.
References pci_map_bus(), and pci_bank::reg8.
|
static |
Definition at line 87 of file pci_mmio_cfg.h.
References pci_map_bus(), pci_bank::reg16, and value.
|
static |
Definition at line 93 of file pci_mmio_cfg.h.
References pci_map_bus(), pci_bank::reg32, and value.
|
static |
Definition at line 81 of file pci_mmio_cfg.h.
References pci_map_bus(), pci_bank::reg8, and value.