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

Go to the source code of this file.

Functions

static void ti_pci1x2y_init (struct device *dev)
 
static void ti_pci1x2y_set_subsystem (struct device *dev, unsigned int vendor, unsigned int device)
 

Variables

static struct pci_operations ti_pci1x2y_pci_ops
 
struct device_operations southbridge_ti_pci1x2x_pciops
 
static const struct pci_driver ti_pci1225_driver __pci_driver
 
struct chip_operations southbridge_ti_pci1x2x_ops
 

Function Documentation

◆ ti_pci1x2y_init()

static void ti_pci1x2y_init ( struct device dev)
static

◆ ti_pci1x2y_set_subsystem()

static void ti_pci1x2y_set_subsystem ( struct device dev,
unsigned int  vendor,
unsigned int  device 
)
static

Definition at line 27 of file pci1x2x.c.

Variable Documentation

◆ __pci_driver

static const struct pci_driver ti_pci1520_driver __pci_driver
static
Initial value:
= {
.vendor = PCI_VID_TI,
.device = PCI_DID_TI_1225,
}
struct device_operations southbridge_ti_pci1x2x_pciops
Definition: pci1x2x.c:43
#define PCI_DID_TI_1225
Definition: pci_ids.h:878
#define PCI_VID_TI
Definition: pci_ids.h:865

Definition at line 27 of file pci1x2x.c.

◆ southbridge_ti_pci1x2x_ops

struct chip_operations southbridge_ti_pci1x2x_ops
Initial value:
= {
}

Definition at line 27 of file pci1x2x.c.

◆ southbridge_ti_pci1x2x_pciops

struct device_operations southbridge_ti_pci1x2x_pciops
Initial value:
= {
.read_resources = cardbus_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = cardbus_enable_resources,
.init = ti_pci1x2y_init,
.ops_pci = &ti_pci1x2y_pci_ops,
}
void cardbus_enable_resources(struct device *dev)
void cardbus_read_resources(struct device *dev)
static struct pci_operations ti_pci1x2y_pci_ops
Definition: pci1x2x.c:39
static void ti_pci1x2y_init(struct device *dev)
Definition: pci1x2x.c:11
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691

Definition at line 27 of file pci1x2x.c.

◆ ti_pci1x2y_pci_ops

struct pci_operations ti_pci1x2y_pci_ops
static
Initial value:
= {
.set_subsystem = ti_pci1x2y_set_subsystem,
}
static void ti_pci1x2y_set_subsystem(struct device *dev, unsigned int vendor, unsigned int device)
Definition: pci1x2x.c:27

Definition at line 27 of file pci1x2x.c.