Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

sys_rx164.c File Reference

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/dma.h>
#include <asm/irq.h>
#include <asm/bitops.h>
#include <asm/mmu_context.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/core_polaris.h>
#include "proto.h"
#include "irq.h"
#include "bios32.h"
#include "machvec.h"

Include dependency graph for sys_rx164.c:

Go to the source code of this file.

Functions

static void rx164_update_irq_hw (unsigned long irq, unsigned long mask, int unmask_p)
static void rx164_srm_update_irq_hw (unsigned long irq, unsigned long mask, int unmask_p)
static void rx164_isa_device_interrupt (unsigned long vector, struct pt_regs *regs)
static void rx164_device_interrupt (unsigned long vector, struct pt_regs *regs)
static void rx164_init_irq (void)
static int __init rx164_map_irq (struct pci_dev *dev, int slot, int pin)
void __init rx164_pci_fixup (void)

Variables

alpha_machine_vector rx164_mv __initmv


Function Documentation

static void rx164_device_interrupt unsigned long  vector,
struct pt_regs regs
[static]
 

Definition at line 95 of file sys_rx164.c.

References ffz(), handle_irq(), i, pcibios_read_config_dword(), printk, and rx164_isa_device_interrupt().

Here is the call graph for this function:

static void rx164_init_irq void   )  [static]
 

Definition at line 128 of file sys_rx164.c.

References alpha_irq_mask, enable_irq, pcibios_read_config_dword(), pcibios_write_config_dword(), STANDARD_INIT_IRQ_PROLOG, temp, and x74.

Here is the call graph for this function:

static void rx164_isa_device_interrupt unsigned long  vector,
struct pt_regs regs
[static]
 

Definition at line 66 of file sys_rx164.c.

References alpha_irq_mask, ffz(), handle_irq(), inb, j, and x20.

Referenced by rx164_device_interrupt().

Here is the call graph for this function:

static int __init rx164_map_irq struct pci_dev *  dev,
int  slot,
int  pin
[static]
 

Definition at line 173 of file sys_rx164.c.

References COMMON_TABLE_LOOKUP, and irq_tab.

Referenced by rx164_pci_fixup().

void __init rx164_pci_fixup void   ) 
 

Definition at line 203 of file sys_rx164.c.

References common_pci_fixup(), common_swizzle(), DEFAULT_IO_BASE, DEFAULT_MEM_BASE, layout_all_busses(), and rx164_map_irq().

Here is the call graph for this function:

static void rx164_srm_update_irq_hw unsigned long  irq,
unsigned long  mask,
int  unmask_p
[static]
 

Definition at line 49 of file sys_rx164.c.

References cserve_dis(), cserve_ena, and outb.

Here is the call graph for this function:

static void rx164_update_irq_hw unsigned long  irq,
unsigned long  mask,
int  unmask_p
[static]
 

Definition at line 35 of file sys_rx164.c.

References outb, pcibios_read_config_dword(), pcibios_write_config_dword(), temp, and x74.

Here is the call graph for this function:


Variable Documentation

struct alpha_machine_vector rx164_mv __initmv
 

Initial value:

 {
        vector_name:            "RX164",
        DO_EV5_MMU,
        DO_DEFAULT_RTC,
        DO_POLARIS_IO,
        DO_POLARIS_BUS,
        machine_check:          polaris_machine_check,
        max_dma_address:        ALPHA_MAX_DMA_ADDRESS,

        nr_irqs:                40,
        irq_probe_mask:         _PROBE_MASK(40),
        update_irq_hw:          rx164_update_irq_hw,
        ack_irq:                generic_ack_irq,
        device_interrupt:       rx164_device_interrupt,

        init_arch:              polaris_init_arch,
        init_irq:               rx164_init_irq,
        init_pit:               generic_init_pit,
        pci_fixup:              rx164_pci_fixup,
        kill_arch:              generic_kill_arch,
}

Definition at line 214 of file sys_rx164.c.