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

Go to the source code of this file.

Typedefs

typedef struct southbridge_intel_i82801jx_config config_t
 

Functions

static void i82801jx_enable_device (struct device *dev)
 
static void i82801jx_early_settings (const config_t *const info)
 
static void i82801jx_pcie_init (const config_t *const info)
 
static void i82801jx_ehci_init (void)
 
static int i82801jx_function_disabled (const unsigned int devfn)
 
static void i82801jx_hide_functions (void)
 
static void i82801jx_init (void *chip_info)
 

Variables

struct chip_operations southbridge_intel_i82801jx_ops
 

Typedef Documentation

◆ config_t

Definition at line 1 of file i82801jx.c.

Function Documentation

◆ i82801jx_early_settings()

static void i82801jx_early_settings ( const config_t *const  info)
static

Definition at line 19 of file i82801jx.c.

References GCS, RCBA32, RCBA_CIR10, RCBA_CIR13, RCBA_CIR7, RCBA_CIR8, RCBA_CIR9, and RCBA_FD.

Referenced by i82801jx_init().

Here is the caller graph for this function:

◆ i82801jx_ehci_init()

static void i82801jx_ehci_init ( void  )
static

Definition at line 81 of file i82801jx.c.

References die(), pci_read_config32(), pci_write_config32(), and pcidev_on_root().

Referenced by i82801jx_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ i82801jx_enable_device()

static void i82801jx_enable_device ( struct device dev)
static

Definition at line 13 of file i82801jx.c.

References PCI_COMMAND, PCI_COMMAND_SERR, and pci_or_config16().

Here is the call graph for this function:

◆ i82801jx_function_disabled()

static int i82801jx_function_disabled ( const unsigned int  devfn)
static

Definition at line 102 of file i82801jx.c.

References BIOS_EMERG, die(), device::enabled, PCI_FUNC, PCI_SLOT, pcidev_path_on_root(), and printk.

Referenced by i82801jx_hide_functions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ i82801jx_hide_functions()

static void i82801jx_hide_functions ( void  )
static

Definition at line 114 of file i82801jx.c.

References ARRAY_SIZE, BUC_LAND, FD_EHCI1D, FD_EHCI2D, FD_HDAD, FD_LBD, FD_PE1D, FD_PE2D, FD_PE3D, FD_PE4D, FD_PE5D, FD_PE6D, FD_SAD1, FD_SAD2, FD_SD, FD_TTD, FD_U1D, FD_U2D, FD_U3D, FD_U4D, FD_U5D, FD_U6D, i82801jx_function_disabled(), mask, PCI_DEVFN, RCBA32, RCBA_BUC, RCBA_FD, RCBA_FDSW, RCBA_MAP, and RCBA_RPFN.

Referenced by i82801jx_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ i82801jx_init()

static void i82801jx_init ( void chip_info)
static

Definition at line 172 of file i82801jx.c.

References BIOS_DEBUG, DEFAULT_TCOBASE, i82801jx_early_settings(), i82801jx_ehci_init(), i82801jx_hide_functions(), i82801jx_pcie_init(), info, outw(), and printk.

Here is the call graph for this function:

◆ i82801jx_pcie_init()

static void i82801jx_pcie_init ( const config_t *const  info)
static

Definition at line 33 of file i82801jx.c.

References BIOS_EMERG, D28Fx_SLCAP, D28Fx_XCAP, die(), device::enabled, info, PCI_EXP_FLAGS_SLOT, pci_or_config32(), pci_read_config32(), pci_update_config32(), pci_write_config32(), pci_write_config8(), pcidev_on_root(), and printk.

Referenced by i82801jx_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ southbridge_intel_i82801jx_ops

struct chip_operations southbridge_intel_i82801jx_ops
Initial value:
= {
.enable_dev = i82801jx_enable_device,
.init = i82801jx_init,
}
static void i82801jx_init(void *chip_info)
Definition: i82801jx.c:172
static void i82801jx_enable_device(struct device *dev)
Definition: i82801jx.c:13

Definition at line 172 of file i82801jx.c.