![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <amdblocks/acpimmio.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pnp.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>
#include <pc80/mc146818rtc.h>
#include <pc80/isa-dma.h>
#include <arch/io.h>
#include <arch/ioapic.h>
#include <acpi/acpi.h>
#include <pc80/i8254.h>
#include <pc80/i8259.h>
#include "hudson.h"
#include "pci_devs.h"
Go to the source code of this file.
Functions | |
static void | lpc_init (struct device *dev) |
static void | hudson_lpc_read_resources (struct device *dev) |
static void | hudson_lpc_set_resources (struct device *dev) |
static void | hudson_lpc_enable_childrens_resources (struct device *dev) |
Enable resources for children devices. More... | |
static void | hudson_lpc_enable_resources (struct device *dev) |
static const char * | lpc_acpi_name (const struct device *dev) |
static void | lpc_final (struct device *dev) |
Variables | |
static struct device_operations | lpc_ops |
static const struct pci_driver lpc_driver | __pci_driver |
Enable resources for children devices.
dev | the device whose children's resources are to be enabled |
Definition at line 125 of file lpc.c.
References __fallthrough, resource::base, base, BIOS_DEBUG, BIOS_ERR, bus::children, bus::dev, dev_path(), DEVICE_PATH_PNP, device::enabled, resource::flags, IORESOURCE_IO, device::link_list, bus::next, resource::next, device::path, pci_read_config16(), pci_read_config32(), pci_read_config8(), pci_write_config16(), pci_write_config32(), pci_write_config8(), printk, resource_end(), device::resource_list, device::sibling, resource::size, and device_path::type.
Referenced by hudson_lpc_enable_resources().
Definition at line 304 of file lpc.c.
References hudson_lpc_enable_childrens_resources(), and pci_dev_enable_resources().
Definition at line 77 of file lpc.c.
References resource::base, compact_resources(), fixed_mem_resource(), resource::flags, IO_APIC_ADDR, IOINDEX_SUBTRACTIVE, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, IORESOURCE_MEM, IORESOURCE_SUBTRACTIVE, new_resource(), pci_dev_read_resources(), resource::size, and SPI_BASE_ADDRESS.
Definition at line 108 of file lpc.c.
References resource::base, find_resource(), pci_dev_set_resources(), pci_write_config32(), SPI_ROM_ENABLE, and SPIROM_BASE_ADDRESS_REGISTER.
|
static |
Definition at line 310 of file lpc.c.
References pci_path::devfn, DEVICE_PATH_PCI, LPC_DEVFN, NULL, device::path, device_path::pci, and device_path::type.
Definition at line 21 of file lpc.c.
References cmos_check_update_date(), cmos_init(), isa_dma_init(), pci_read_config32(), pci_read_config8(), pci_write_config32(), pci_write_config8(), pcidev_on_root(), setup_i8254(), and setup_i8259().
|
static |
|
static |