![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <option.h>
#include <acpi/acpi_sata.h>
#include <types.h>
#include "chip.h"
#include "pch.h"
Go to the source code of this file.
Typedefs | |
typedef struct southbridge_intel_bd82x6x_config | config_t |
Functions | |
static u32 | sir_read (struct device *dev, int idx) |
static void | sir_write (struct device *dev, int idx, u32 value) |
static void | sata_read_resources (struct device *dev) |
static void | sata_set_resources (struct device *dev) |
static void | sata_init (struct device *dev) |
static void | sata_enable (struct device *dev) |
static const char * | sata_acpi_name (const struct device *dev) |
static void | sata_fill_ssdt (const struct device *dev) |
Variables | |
static struct device_operations | sata_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver pch_sata | __pci_driver |
typedef struct southbridge_intel_bd82x6x_config config_t |
|
static |
Definition at line 224 of file sata.c.
References device::chip_info, config, get_uint_option(), and pci_write_config16().
Definition at line 252 of file sata.c.
References device::chip_info, config, and generate_sata_ssdt_ports().
Definition at line 87 of file sata.c.
References BIOS_DEBUG, BIOS_ERR, device::chip_info, config, get_uint_option(), IDE_DECODE_ENABLE, IDE_TIM_PRI, IDE_TIM_SEC, NULL, pch_iobp_update(), pci_and_config16(), pci_and_config8(), PCI_BASE_ADDRESS_5, PCI_COMMAND, PCI_COMMAND_IO, PCI_COMMAND_MASTER, PCI_COMMAND_MEMORY, pci_or_config8(), pci_read_config16(), pci_read_config32(), pci_update_config16(), pci_update_config32(), pci_write_config16(), pci_write_config32(), printk, read32(), SATA_IOBP_SP0G3IR, SATA_IOBP_SP1G3IR, sir_read(), sir_write(), void(), and write32().
Definition at line 30 of file sata.c.
References resource::base, resource::flags, get_uint_option(), IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, PCI_BASE_ADDRESS_0, PCI_BASE_ADDRESS_1, PCI_BASE_ADDRESS_2, PCI_BASE_ADDRESS_3, pci_dev_read_resources(), probe_resource(), and resource::size.
Definition at line 71 of file sata.c.
References resource::flags, get_uint_option(), IORESOURCE_FIXED, PCI_BASE_ADDRESS_0, PCI_BASE_ADDRESS_3, pci_dev_set_resources(), and probe_resource().
Definition at line 18 of file sata.c.
References pci_read_config32(), pci_write_config32(), SATA_SIRD, and SATA_SIRI.
Referenced by sata_init().
Definition at line 24 of file sata.c.
References pci_write_config32(), SATA_SIRD, SATA_SIRI, and value.
Referenced by sata_init().
|
static |
|
static |
|
static |