Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
core_marvel.c File Reference
#include <asm/io.h>
#include <asm/core_marvel.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/vmalloc.h>
#include <linux/mc146818rtc.h>
#include <linux/rtc.h>
#include <linux/module.h>
#include <linux/bootmem.h>
#include <asm/ptrace.h>
#include <asm/smp.h>
#include <asm/gct.h>
#include <asm/pgalloc.h>
#include <asm/tlbflush.h>
#include <asm/rtc.h>
#include <asm/vga.h>
#include "proto.h"
#include "pci_impl.h"
#include <linux/agp_backend.h>
#include <asm/agp_backend.h>
#include <linux/slab.h>
#include <linux/delay.h>

Go to the source code of this file.

Data Structures

struct  marvel_rtc_access_info
struct  marvel_agp_aperture


#define __EXTERN_INLINE   inline
#define DEBUG_CONFIG   0
#define DBG_CFG(args)
#define __marvel_is_port_kbd(a)   (((a) == 0x60) || ((a) == 0x64))
#define __marvel_is_port_rtc(a)   (((a) == 0x70) || ((a) == 0x71))


struct io7 * marvel_next_io7 (struct io7 *prev)
struct io7 * marvel_find_io7 (int pe)
void io7_clear_errors (struct io7 *io7)
void marvel_io7_present (gct6_node *node)
void __init marvel_init_arch (void)
void marvel_kill_arch (int mode)
void marvel_pci_tbi (struct pci_controller *hose, dma_addr_t start, dma_addr_t end)
void __iomemmarvel_ioremap (unsigned long addr, unsigned long size)
void marvel_iounmap (volatile void __iomem *xaddr)
int marvel_is_mmio (const volatile void __iomem *xaddr)
void __iomemmarvel_ioportmap (unsigned long addr)
unsigned int marvel_ioread8 (void __iomem *xaddr)
void marvel_iowrite8 (u8 b, void __iomem *xaddr)
 EXPORT_SYMBOL (marvel_ioremap)
 EXPORT_SYMBOL (marvel_iounmap)
 EXPORT_SYMBOL (marvel_is_mmio)
 EXPORT_SYMBOL (marvel_ioportmap)
 EXPORT_SYMBOL (marvel_ioread8)
 EXPORT_SYMBOL (marvel_iowrite8)
int marvel_pa_to_nid (unsigned long pa)
int marvel_cpuid_to_nid (int cpuid)
unsigned long marvel_node_mem_start (int nid)
unsigned long marvel_node_mem_size (int nid)
alpha_agp_infomarvel_agp_info (void)
: reserving caller's ID string

__request_region - create a new busy resource region : parent resource descriptor : resource start address
: resource region size

: IO resource flags

 __setup ("io7=", marvel_specify_io7)


gct6_search_struct gct_wanted_node_list []
struct pci_ops marvel_pci_ops
struct alpha_agp_ops marvel_agp_ops

Macro Definition Documentation

#define __EXTERN_INLINE   inline

Definition at line 7 of file core_marvel.c.

#define __marvel_is_port_kbd (   a)    (((a) == 0x60) || ((a) == 0x64))

Definition at line 792 of file core_marvel.c.

#define __marvel_is_port_rtc (   a)    (((a) == 0x70) || ((a) == 0x71))

Definition at line 793 of file core_marvel.c.

#define DBG_CFG (   args)

Definition at line 42 of file core_marvel.c.

#define DEBUG_CONFIG   0

Definition at line 37 of file core_marvel.c.

Function Documentation

__setup ( )
EXPORT_SYMBOL ( marvel_ioremap  )
EXPORT_SYMBOL ( marvel_iounmap  )
EXPORT_SYMBOL ( marvel_is_mmio  )
EXPORT_SYMBOL ( marvel_ioportmap  )
EXPORT_SYMBOL ( marvel_ioread8  )
EXPORT_SYMBOL ( marvel_iowrite8  )
void io7_clear_errors ( struct io7 *  io7)

Definition at line 166 of file core_marvel.c.

alpha_agp_info* marvel_agp_info ( void  )

Definition at line 1062 of file core_marvel.c.

int marvel_cpuid_to_nid ( int  cpuid)

Definition at line 862 of file core_marvel.c.

struct io7* marvel_find_io7 ( int  pe)

Definition at line 98 of file core_marvel.c.

void __init marvel_init_arch ( void  )

Definition at line 442 of file core_marvel.c.

void marvel_io7_present ( gct6_node node)

Definition at line 356 of file core_marvel.c.

void __iomem* marvel_ioportmap ( unsigned long  addr)

Definition at line 795 of file core_marvel.c.

unsigned int marvel_ioread8 ( void __iomem xaddr)

Definition at line 802 of file core_marvel.c.

void __iomem* marvel_ioremap ( unsigned long  addr,
unsigned long  size 

Definition at line 679 of file core_marvel.c.

void marvel_iounmap ( volatile void __iomem xaddr)

Definition at line 774 of file core_marvel.c.

void marvel_iowrite8 ( u8  b,
void __iomem xaddr 

Definition at line 820 of file core_marvel.c.

int marvel_is_mmio ( const volatile void __iomem xaddr)

Definition at line 782 of file core_marvel.c.

void marvel_kill_arch ( int  mode)

Definition at line 465 of file core_marvel.c.

struct io7* marvel_next_io7 ( struct io7 *  prev)

Definition at line 92 of file core_marvel.c.

unsigned long marvel_node_mem_size ( int  nid)

Definition at line 879 of file core_marvel.c.

unsigned long marvel_node_mem_start ( int  nid)

Definition at line 868 of file core_marvel.c.

int marvel_pa_to_nid ( unsigned long  pa)

Definition at line 849 of file core_marvel.c.

void marvel_pci_tbi ( struct pci_controller hose,
dma_addr_t  start,
dma_addr_t  end 

Definition at line 602 of file core_marvel.c.

Variable Documentation

gct6_search_struct gct_wanted_node_list[]
Initial value:

Definition at line 408 of file core_marvel.c.

struct alpha_agp_ops marvel_agp_ops
Initial value:
.setup = marvel_agp_setup,
.cleanup = marvel_agp_cleanup,
.configure = marvel_agp_configure,
.bind = marvel_agp_bind_memory,
.unbind = marvel_agp_unbind_memory,
.translate = marvel_agp_translate

Definition at line 1051 of file core_marvel.c.

struct pci_ops marvel_pci_ops
Initial value:
.read = marvel_read_config,
.write = marvel_write_config,

Definition at line 591 of file core_marvel.c.