![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/device.h>
#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <soc/smbus.h>
#include <device/smbus_host.h>
#include <intelblocks/tco.h>
#include "smbuslib.h"
Go to the source code of this file.
Functions | |
static int | lsmbus_read_byte (struct device *dev, u8 address) |
static int | lsmbus_write_byte (struct device *dev, u8 address, u8 data) |
static void | pch_smbus_init (struct device *dev) |
static void | smbus_read_resources (struct device *dev) |
static void | finalize_smbus (struct device *dev) |
Variables | |
static struct smbus_bus_operations | lops_smbus_bus |
static struct device_operations | smbus_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver pch_smbus | __pci_driver |
Definition at line 74 of file smbus.c.
References CONFIG, and tco_lockdown().
Definition at line 13 of file smbus.c.
References address, resource::base, bus::dev, i2c_path::device, device, do_smbus_read_byte(), find_resource(), get_pbus_smbus(), device_path::i2c, device::path, and PCI_BASE_ADDRESS_4.
Definition at line 41 of file smbus.c.
References resource::base, PCI_BASE_ADDRESS_4, pci_update_config32(), probe_resource(), smbus_set_slave_addr(), and SMBUS_SLAVE_ADDR.
Definition at line 55 of file smbus.c.
References resource::base, resource::flags, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, IORESOURCE_RESERVE, IORESOURCE_STORED, resource::limit, new_resource(), PCI_BASE_ADDRESS_4, pci_dev_read_resources(), resource::size, and SMBUS_IO_BASE.
|
static |
|
static |
|
static |
|
static |