Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pcic.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <asm/swift.h>
#include <asm/io.h>
#include <linux/ctype.h>
#include <linux/pci.h>
#include <linux/time.h>
#include <linux/timex.h>
#include <linux/interrupt.h>
#include <linux/export.h>
#include <asm/irq.h>
#include <asm/oplib.h>
#include <asm/prom.h>
#include <asm/pcic.h>
#include <asm/timex.h>
#include <asm/timer.h>
#include <asm/uaccess.h>
#include <asm/irq_regs.h>
#include "irq.h"

Go to the source code of this file.

Data Structures

struct  pcic_ca2irq
 
struct  pcic_sn2list
 

Macros

#define SN2L_INIT(name, map)   { name, map, ARRAY_SIZE(map) }
 
#define CONFIG_CMD(bus, device_fn, where)   (0x80000000 | (((unsigned int)bus) << 16) | (((unsigned int)device_fn) << 8) | (where & ~3))
 
#define USECS_PER_JIFFY   (1000000 / HZ)
 
#define TICK_TIMER_LIMIT   ((100 * 1000000 / 4) / HZ)
 

Functions

unsigned int pcic_build_device_irq (struct platform_device *op, unsigned int real_irq)
 
int __init pcic_probe (void)
 
int pcic_present (void)
 
void __devinit pcibios_fixup_bus (struct pci_bus *bus)
 
unsigned int pcic_pin_to_irq (unsigned int pin, const char *name)
 
void __init pci_time_init (void)
 
resource_size_t pcibios_align_resource (void *data, const struct resource *res, resource_size_t size, resource_size_t align)
 
int pcibios_enable_device (struct pci_dev *pdev, int mask)
 
void pcic_nmi (unsigned int pend, struct pt_regs *regs)
 
void __init sun4m_pci_init_IRQ (void)
 
void outsb (unsigned long addr, const void *src, unsigned long count)
 
 EXPORT_SYMBOL (outsb)
 
void outsw (unsigned long addr, const void *src, unsigned long count)
 
 EXPORT_SYMBOL (outsw)
 
void outsl (unsigned long addr, const void *src, unsigned long count)
 
 EXPORT_SYMBOL (outsl)
 
void insb (unsigned long addr, void *dst, unsigned long count)
 
 EXPORT_SYMBOL (insb)
 
void insw (unsigned long addr, void *dst, unsigned long count)
 
 EXPORT_SYMBOL (insw)
 
void insl (unsigned long addr, void *dst, unsigned long count)
 
 EXPORT_SYMBOL (insl)
 
 subsys_initcall (pcic_init)
 

Variables

void __iomempcic_regs
 
volatile int pcic_speculative
 
volatile int pcic_trapped
 

Macro Definition Documentation

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

Definition at line 172 of file pcic.c.

#define SN2L_INIT (   name,
  map 
)    { name, map, ARRAY_SIZE(map) }

Definition at line 145 of file pcic.c.

#define TICK_TIMER_LIMIT   ((100 * 1000000 / 4) / HZ)

Definition at line 708 of file pcic.c.

#define USECS_PER_JIFFY   (1000000 / HZ)

Definition at line 707 of file pcic.c.

Function Documentation

EXPORT_SYMBOL ( outsb  )
EXPORT_SYMBOL ( outsw  )
EXPORT_SYMBOL ( outsl  )
EXPORT_SYMBOL ( insb  )
EXPORT_SYMBOL ( insw  )
EXPORT_SYMBOL ( insl  )
void insb ( unsigned long  addr,
void dst,
unsigned long  count 
)

Definition at line 921 of file pcic.c.

void insl ( unsigned long  addr,
void dst,
unsigned long  count 
)

Definition at line 943 of file pcic.c.

void insw ( unsigned long  addr,
void dst,
unsigned long  count 
)

Definition at line 932 of file pcic.c.

void outsb ( unsigned long  addr,
const void src,
unsigned long  count 
)

Definition at line 888 of file pcic.c.

void outsl ( unsigned long  addr,
const void src,
unsigned long  count 
)

Definition at line 910 of file pcic.c.

void outsw ( unsigned long  addr,
const void src,
unsigned long  count 
)

Definition at line 899 of file pcic.c.

void __init pci_time_init ( void  )

Definition at line 729 of file pcic.c.

resource_size_t pcibios_align_resource ( void data,
const struct resource res,
resource_size_t  size,
resource_size_t  align 
)

Definition at line 770 of file pcic.c.

int pcibios_enable_device ( struct pci_dev pdev,
int  mask 
)

Definition at line 776 of file pcic.c.

void __devinit pcibios_fixup_bus ( struct pci_bus bus)

Definition at line 598 of file pcic.c.

unsigned int pcic_build_device_irq ( struct platform_device op,
unsigned int  real_irq 
)

Definition at line 843 of file pcic.c.

void pcic_nmi ( unsigned int  pend,
struct pt_regs regs 
)

Definition at line 784 of file pcic.c.

unsigned int pcic_pin_to_irq ( unsigned int  pin,
const char name 
)

Definition at line 678 of file pcic.c.

int pcic_present ( void  )

Definition at line 437 of file pcic.c.

int __init pcic_probe ( void  )

Definition at line 285 of file pcic.c.

subsys_initcall ( pcic_init  )
void __init sun4m_pci_init_IRQ ( void  )

Definition at line 872 of file pcic.c.

Variable Documentation

void __iomem* pcic_regs

Definition at line 164 of file pcic.c.

volatile int pcic_speculative

Definition at line 165 of file pcic.c.

volatile int pcic_trapped

Definition at line 166 of file pcic.c.