Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pcbios.c File Reference
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <asm/pci_x86.h>
#include <asm/pci-functions.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Data Structures

union  bios32
 
struct  irq_routing_options
 

Macros

#define BIOS32_SIGNATURE   (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24))
 
#define PCI_SIGNATURE   (('P' << 0) + ('C' << 8) + ('I' << 16) + (' ' << 24))
 
#define PCI_SERVICE   (('$' << 0) + ('P' << 8) + ('C' << 16) + ('I' << 24))
 
#define PCIBIOS_HW_TYPE1   0x01
 
#define PCIBIOS_HW_TYPE2   0x02
 
#define PCIBIOS_HW_TYPE1_SPEC   0x10
 
#define PCIBIOS_HW_TYPE2_SPEC   0x20
 

Functions

struct irq_routing_options __attribute__ ((packed))
 
struct irq_routing_tablepcibios_get_irq_routing_table (void)
 
 EXPORT_SYMBOL (pcibios_get_irq_routing_table)
 
int pcibios_set_irq_routing (struct pci_dev *dev, int pin, int irq)
 
 EXPORT_SYMBOL (pcibios_set_irq_routing)
 
void __init pci_pcbios_init (void)
 

Variables

int pcibios_enabled
 
u16 size
 
struct irq_infotable
 

Macro Definition Documentation

#define BIOS32_SIGNATURE   (('_' << 0) + ('3' << 8) + ('2' << 16) + ('_' << 24))

Definition at line 15 of file pcbios.c.

#define PCI_SERVICE   (('$' << 0) + ('P' << 8) + ('C' << 16) + ('I' << 24))

Definition at line 21 of file pcbios.c.

#define PCI_SIGNATURE   (('P' << 0) + ('C' << 8) + ('I' << 16) + (' ' << 24))

Definition at line 18 of file pcbios.c.

#define PCIBIOS_HW_TYPE1   0x01

Definition at line 24 of file pcbios.c.

#define PCIBIOS_HW_TYPE1_SPEC   0x10

Definition at line 26 of file pcbios.c.

#define PCIBIOS_HW_TYPE2   0x02

Definition at line 25 of file pcbios.c.

#define PCIBIOS_HW_TYPE2_SPEC   0x20

Definition at line 27 of file pcbios.c.

Function Documentation

Definition at line 171 of file esd_usb2.c.

EXPORT_SYMBOL ( pcibios_get_irq_routing_table  )
EXPORT_SYMBOL ( pcibios_set_irq_routing  )
void __init pci_pcbios_init ( void  )

Definition at line 448 of file pcbios.c.

struct irq_routing_table* pcibios_get_irq_routing_table ( void  )
read

Definition at line 379 of file pcbios.c.

int pcibios_set_irq_routing ( struct pci_dev dev,
int  pin,
int  irq 
)

Definition at line 431 of file pcbios.c.

Variable Documentation

unsigned long address

Definition at line 80 of file pcbios.c.

int pcibios_enabled

Definition at line 29 of file pcbios.c.

u16 segment

Definition at line 81 of file pcbios.c.

u16 size

Definition at line 378 of file pcbios.c.

Definition at line 379 of file pcbios.c.