pci_ops_conf1.c File Reference

#include <console/console.h>
#include <arch/io.h>
#include <arch/pciconf.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>

Include dependency graph for pci_ops_conf1.c:

Go to the source code of this file.

Defines

#define CONFIG_CMD(bus, devfn, where)   (0x80000000 | (bus << 16) | (devfn << 8) | (where & ~3))

Functions

static uint8_t pci_conf1_read_config8 (struct bus *pbus, int bus, int devfn, int where)
static uint16_t pci_conf1_read_config16 (struct bus *pbus, int bus, int devfn, int where)
static uint32_t pci_conf1_read_config32 (struct bus *pbus, int bus, int devfn, int where)
static void pci_conf1_write_config8 (struct bus *pbus, int bus, int devfn, int where, uint8_t value)
static void pci_conf1_write_config16 (struct bus *pbus, int bus, int devfn, int where, uint16_t value)
static void pci_conf1_write_config32 (struct bus *pbus, int bus, int devfn, int where, uint32_t value)

Variables

struct pci_bus_operations pci_cf8_conf1


Define Documentation

#define CONFIG_CMD ( bus,
devfn,
where   )     (0x80000000 | (bus << 16) | (devfn << 8) | (where & ~3))


Function Documentation

static uint16_t pci_conf1_read_config16 ( struct bus pbus,
int  bus,
int  devfn,
int  where 
) [static]

Definition at line 23 of file pci_ops_conf1.c.

References CONFIG_CMD, inw, and outl.

static uint32_t pci_conf1_read_config32 ( struct bus pbus,
int  bus,
int  devfn,
int  where 
) [static]

Definition at line 29 of file pci_ops_conf1.c.

References CONFIG_CMD, inl, and outl.

static uint8_t pci_conf1_read_config8 ( struct bus pbus,
int  bus,
int  devfn,
int  where 
) [static]

Definition at line 17 of file pci_ops_conf1.c.

References CONFIG_CMD, inb, and outl.

static void pci_conf1_write_config16 ( struct bus pbus,
int  bus,
int  devfn,
int  where,
uint16_t  value 
) [static]

Definition at line 41 of file pci_ops_conf1.c.

References CONFIG_CMD, outl, and outw.

static void pci_conf1_write_config32 ( struct bus pbus,
int  bus,
int  devfn,
int  where,
uint32_t  value 
) [static]

Definition at line 47 of file pci_ops_conf1.c.

References CONFIG_CMD, and outl.

static void pci_conf1_write_config8 ( struct bus pbus,
int  bus,
int  devfn,
int  where,
uint8_t  value 
) [static]

Definition at line 35 of file pci_ops_conf1.c.

References CONFIG_CMD, outb, and outl.


Variable Documentation

Initial value:

Definition at line 55 of file pci_ops_conf1.c.


Generated on Wed Jan 7 14:16:16 2009 for coreboot by  doxygen 1.5.5