![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <intelblocks/lpc_lib.h>
#include <soc/pm.h>
#include "lpc_def.h"
Go to the source code of this file.
Functions | |
__weak void | lpc_soc_init (struct device *dev) |
__weak void | pch_lpc_soc_fill_io_resources (struct device *dev) |
void | pch_lpc_add_new_resource (struct device *dev, uint8_t offset, uintptr_t base, size_t size, unsigned long flags) |
static void | pch_lpc_add_io_resources (struct device *dev) |
static void | pch_lpc_add_mmio_resources (struct device *dev) |
static void | pch_lpc_read_resources (struct device *dev) |
static void | pch_lpc_set_child_resources (struct device *dev) |
static void | pch_lpc_loop_resources (struct device *dev) |
static void | pch_lpc_set_resources (struct device *dev) |
Variables | |
static struct device_operations | device_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver pch_lpc | __pci_driver |
Definition at line 35 of file lpc.c.
References base, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, LPC_GENERIC_IO_RANGE, LPC_LGIR_ADDR_MASK, LPC_LGIR_EN, LPC_NUM_GENERIC_IO_RANGES, pch_lpc_add_new_resource(), pch_lpc_soc_fill_io_resources(), pci_read_config32(), and resource::size.
Referenced by pch_lpc_read_resources().
Definition at line 60 of file lpc.c.
References IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_MEM, IORESOURCE_RESERVE, LPC_GENERIC_MEM_RANGE, LPC_LGMR_ADDR_MASK, LPC_LGMR_EN, LPC_LGMR_WINDOW_SIZE, pch_lpc_add_new_resource(), and pci_read_config32().
Referenced by pch_lpc_read_resources().
void pch_lpc_add_new_resource | ( | struct device * | dev, |
uint8_t | offset, | ||
uintptr_t | base, | ||
size_t | size, | ||
unsigned long | flags | ||
) |
Definition at line 25 of file lpc.c.
References resource::base, base, resource::flags, new_resource(), offset, and resource::size.
Referenced by pch_lpc_add_io_resources(), and pch_lpc_add_mmio_resources().
Definition at line 86 of file lpc.c.
References resource::base, resource::flags, IORESOURCE_IO, lpc_open_pmio_window(), resource::next, pch_lpc_set_child_resources(), device::resource_list, and resource::size.
Referenced by pch_lpc_set_child_resources().
Definition at line 72 of file lpc.c.
References pch_lpc_add_io_resources(), pch_lpc_add_mmio_resources(), and pci_dev_read_resources().
Definition at line 101 of file lpc.c.
References bus::children, device::link_list, bus::next, pch_lpc_loop_resources(), and device::sibling.
Referenced by pch_lpc_loop_resources().
Definition at line 20 of file lpc.c.
Referenced by pch_lpc_add_io_resources().
|
static |
|
static |