Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
core_wildfire.c File Reference
#include <asm/io.h>
#include <asm/core_wildfire.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <asm/ptrace.h>
#include <asm/smp.h>
#include "proto.h"
#include "pci_impl.h"

Go to the source code of this file.

Macros

#define __EXTERN_INLINE   inline
 
#define DEBUG_CONFIG   0
 
#define DEBUG_DUMP_REGS   0
 
#define DEBUG_DUMP_CONFIG   1
 
#define DBG_CFG(args)
 
#define QBB_MAP_EMPTY   0xff
 

Functions

void __init wildfire_init_hose (int qbbno, int hoseno)
 
void __init wildfire_init_pca (int qbbno, int pcano)
 
void __init wildfire_init_qbb (int qbbno)
 
void __init wildfire_hardware_probe (void)
 
void __init wildfire_init_arch (void)
 
void wildfire_machine_check (unsigned long vector, unsigned long la_ptr)
 
void wildfire_kill_arch (int mode)
 
void wildfire_pci_tbi (struct pci_controller *hose, dma_addr_t start, dma_addr_t end)
 
int wildfire_pa_to_nid (unsigned long pa)
 
int wildfire_cpuid_to_nid (int cpuid)
 
unsigned long wildfire_node_mem_start (int nid)
 
unsigned long wildfire_node_mem_size (int nid)
 

Variables

unsigned char wildfire_hard_qbb_map [WILDFIRE_MAX_QBB]
 
unsigned char wildfire_soft_qbb_map [WILDFIRE_MAX_QBB]
 
unsigned long wildfire_hard_qbb_mask
 
unsigned long wildfire_soft_qbb_mask
 
unsigned long wildfire_gp_mask
 
unsigned long wildfire_hs_mask
 
unsigned long wildfire_iop_mask
 
unsigned long wildfire_ior_mask
 
unsigned long wildfire_pca_mask
 
unsigned long wildfire_cpu_mask
 
unsigned long wildfire_mem_mask
 
struct pci_ops wildfire_pci_ops
 

Macro Definition Documentation

#define __EXTERN_INLINE   inline

Definition at line 9 of file core_wildfire.c.

#define DBG_CFG (   args)

Definition at line 32 of file core_wildfire.c.

#define DEBUG_CONFIG   0

Definition at line 25 of file core_wildfire.c.

#define DEBUG_DUMP_CONFIG   1

Definition at line 27 of file core_wildfire.c.

#define DEBUG_DUMP_REGS   0

Definition at line 26 of file core_wildfire.c.

#define QBB_MAP_EMPTY   0xff

Definition at line 49 of file core_wildfire.c.

Function Documentation

int wildfire_cpuid_to_nid ( int  cpuid)

Definition at line 449 of file core_wildfire.c.

void __init wildfire_hardware_probe ( void  )

Definition at line 177 of file core_wildfire.c.

void __init wildfire_init_arch ( void  )

Definition at line 303 of file core_wildfire.c.

void __init wildfire_init_hose ( int  qbbno,
int  hoseno 
)

Definition at line 62 of file core_wildfire.c.

void __init wildfire_init_pca ( int  qbbno,
int  pcano 
)

Definition at line 138 of file core_wildfire.c.

void __init wildfire_init_qbb ( int  qbbno)

Definition at line 155 of file core_wildfire.c.

void wildfire_kill_arch ( int  mode)

Definition at line 339 of file core_wildfire.c.

void wildfire_machine_check ( unsigned long  vector,
unsigned long  la_ptr 
)

Definition at line 325 of file core_wildfire.c.

unsigned long wildfire_node_mem_size ( int  nid)

Definition at line 461 of file core_wildfire.c.

unsigned long wildfire_node_mem_start ( int  nid)

Definition at line 455 of file core_wildfire.c.

int wildfire_pa_to_nid ( unsigned long  pa)

Definition at line 444 of file core_wildfire.c.

void wildfire_pci_tbi ( struct pci_controller hose,
dma_addr_t  start,
dma_addr_t  end 
)

Definition at line 344 of file core_wildfire.c.

Variable Documentation

unsigned long wildfire_cpu_mask

Definition at line 58 of file core_wildfire.c.

unsigned long wildfire_gp_mask

Definition at line 53 of file core_wildfire.c.

unsigned char wildfire_hard_qbb_map[WILDFIRE_MAX_QBB]

Definition at line 47 of file core_wildfire.c.

unsigned long wildfire_hard_qbb_mask

Definition at line 51 of file core_wildfire.c.

unsigned long wildfire_hs_mask

Definition at line 54 of file core_wildfire.c.

unsigned long wildfire_iop_mask

Definition at line 55 of file core_wildfire.c.

unsigned long wildfire_ior_mask

Definition at line 56 of file core_wildfire.c.

unsigned long wildfire_mem_mask

Definition at line 59 of file core_wildfire.c.

unsigned long wildfire_pca_mask

Definition at line 57 of file core_wildfire.c.

struct pci_ops wildfire_pci_ops
Initial value:
=
{
.read = wildfire_read_config,
.write = wildfire_write_config,
}

Definition at line 434 of file core_wildfire.c.

unsigned char wildfire_soft_qbb_map[WILDFIRE_MAX_QBB]

Definition at line 48 of file core_wildfire.c.

unsigned long wildfire_soft_qbb_mask

Definition at line 52 of file core_wildfire.c.