![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/pci_ops.h>
#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <intelblocks/acpi.h>
#include <intelblocks/pmc.h>
#include <intelblocks/pmclib.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
Go to the source code of this file.
Functions | |
static void | pch_pmc_add_new_resource (struct device *dev, uint8_t offset, uintptr_t base, size_t size, unsigned long flags) |
static void | pch_pmc_add_mmio_resources (struct device *dev, const struct pmc_resource_config *cfg) |
static void | pch_pmc_add_io_resources (struct device *dev, const struct pmc_resource_config *cfg) |
static void | pch_pmc_read_resources (struct device *dev) |
static void | pmc_fill_ssdt (const struct device *dev) |
static void | pmc_final (struct device *dev) |
Variables | |
static struct device_operations | device_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver pch_pmc | __pci_driver |
|
static |
Definition at line 33 of file pmc.c.
References pmc_resource_config::abase_addr, pmc_resource_config::abase_offset, pmc_resource_config::abase_size, device::command, CONFIG, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, pch_pmc_add_new_resource(), PCI_COMMAND_IO, and pci_write_config16().
Referenced by pch_pmc_read_resources().
|
static |
Definition at line 24 of file pmc.c.
References IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_MEM, IORESOURCE_RESERVE, pch_pmc_add_new_resource(), pmc_resource_config::pwrmbase_addr, pmc_resource_config::pwrmbase_offset, and pmc_resource_config::pwrmbase_size.
Referenced by pch_pmc_read_resources().
|
static |
Definition at line 13 of file pmc.c.
References resource::base, base, resource::flags, new_resource(), offset, and resource::size.
Referenced by pch_pmc_add_io_resources(), and pch_pmc_add_mmio_resources().
Definition at line 59 of file pmc.c.
References config, die_with_post_code, pch_pmc_add_io_resources(), pch_pmc_add_mmio_resources(), pci_dev_read_resources(), pmc_soc_get_resources(), and POST_HW_INIT_FAILURE.
Definition at line 78 of file pmc.c.
References CONFIG, and generate_acpi_power_engine().
|
static |
|
static |
|
static |