coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.c File Reference
#include <device/device.h>
#include <device/pci.h>
#include <arch/pci_ops.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include "chip.h"
Include dependency graph for chip.c:

Go to the source code of this file.

Functions

static void enable_dev (struct device *dev)
 
static void soc_init (void *chip_info)
 

Variables

static struct device_operations pci_domain_ops
 
static struct device_operations cpu_bus_ops
 
struct chip_operations soc_intel_baytrail_ops
 
struct pci_operations soc_pci_ops
 

Function Documentation

◆ enable_dev()

static void enable_dev ( struct device dev)
static

◆ soc_init()

static void soc_init ( void chip_info)
static

Definition at line 40 of file chip.c.

References baytrail_init_pre_device().

Here is the call graph for this function:

Variable Documentation

◆ cpu_bus_ops

struct device_operations cpu_bus_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.init = mp_cpu_bus_init,
}
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74
static void mp_cpu_bus_init(struct device *dev)
Definition: device.h:240

Definition at line 1 of file chip.c.

◆ pci_domain_ops

struct device_operations pci_domain_ops
static
Initial value:
= {
.read_resources = pci_domain_read_resources,
.set_resources = pci_domain_set_resources,
.scan_bus = pci_domain_scan_bus,
}
void pci_domain_read_resources(struct device *dev)
Definition: pci_device.c:547
void pci_domain_set_resources(struct device *dev)
Definition: pci_device.c:564
void pci_domain_scan_bus(struct device *dev)
Scan a PCI domain.
Definition: pci_device.c:1610

Definition at line 1 of file chip.c.

Referenced by enable_dev().

◆ soc_intel_baytrail_ops

struct chip_operations soc_intel_baytrail_ops
Initial value:
= {
.enable_dev = enable_dev,
.init = soc_init,
}
static void enable_dev(struct device *dev)
Definition: chip.c:23
static void soc_init(void *chip_info)
Definition: chip.c:40

Definition at line 40 of file chip.c.

◆ soc_pci_ops

struct pci_operations soc_pci_ops
Initial value:
= {
.set_subsystem = &pci_dev_set_subsystem,
}
void pci_dev_set_subsystem(struct device *dev, unsigned int vendor, unsigned int device)
Definition: pci_device.c:791

Definition at line 40 of file chip.c.