Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
early.c File Reference
#include <linux/kernel.h>
#include <linux/pci.h>
#include <asm/pci-direct.h>
#include <asm/io.h>
#include <asm/pci_x86.h>

Go to the source code of this file.

Functions

u32 read_pci_config (u8 bus, u8 slot, u8 func, u8 offset)
 
u8 read_pci_config_byte (u8 bus, u8 slot, u8 func, u8 offset)
 
u16 read_pci_config_16 (u8 bus, u8 slot, u8 func, u8 offset)
 
void write_pci_config (u8 bus, u8 slot, u8 func, u8 offset, u32 val)
 
void write_pci_config_byte (u8 bus, u8 slot, u8 func, u8 offset, u8 val)
 
void write_pci_config_16 (u8 bus, u8 slot, u8 func, u8 offset, u16 val)
 
int early_pci_allowed (void)
 
void early_dump_pci_device (u8 bus, u8 slot, u8 func)
 
void early_dump_pci_devices (void)
 

Function Documentation

void early_dump_pci_device ( u8  bus,
u8  slot,
u8  func 
)

Definition at line 59 of file early.c.

void early_dump_pci_devices ( void  )

Definition at line 81 of file early.c.

int early_pci_allowed ( void  )

Definition at line 53 of file early.c.

u32 read_pci_config ( u8  bus,
u8  slot,
u8  func,
u8  offset 
)

Definition at line 10 of file early.c.

u16 read_pci_config_16 ( u8  bus,
u8  slot,
u8  func,
u8  offset 
)

Definition at line 26 of file early.c.

u8 read_pci_config_byte ( u8  bus,
u8  slot,
u8  func,
u8  offset 
)

Definition at line 18 of file early.c.

void write_pci_config ( u8  bus,
u8  slot,
u8  func,
u8  offset,
u32  val 
)

Definition at line 34 of file early.c.

void write_pci_config_16 ( u8  bus,
u8  slot,
u8  func,
u8  offset,
u16  val 
)

Definition at line 47 of file early.c.

void write_pci_config_byte ( u8  bus,
u8  slot,
u8  func,
u8  offset,
u8  val 
)

Definition at line 41 of file early.c.