Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
socrates_fpga_pic.c File Reference
#include <linux/irq.h>
#include <linux/of_platform.h>
#include <linux/io.h>

Go to the source code of this file.

Data Structures

struct  socrates_fpga_irq_info
 

Macros

#define SOCRATES_FPGA_NUM_IRQS   9
 
#define FPGA_PIC_IRQCFG   (0x0)
 
#define FPGA_PIC_IRQMASK(n)   (0x4 + 0x4 * (n))
 
#define SOCRATES_FPGA_IRQ_MASK   ((1 << SOCRATES_FPGA_NUM_IRQS) - 1)
 

Functions

void socrates_fpga_pic_cascade (unsigned int irq, struct irq_desc *desc)
 
void socrates_fpga_pic_init (struct device_node *pic)
 

Macro Definition Documentation

#define FPGA_PIC_IRQCFG   (0x0)

Definition at line 23 of file socrates_fpga_pic.c.

#define FPGA_PIC_IRQMASK (   n)    (0x4 + 0x4 * (n))

Definition at line 24 of file socrates_fpga_pic.c.

#define SOCRATES_FPGA_IRQ_MASK   ((1 << SOCRATES_FPGA_NUM_IRQS) - 1)

Definition at line 26 of file socrates_fpga_pic.c.

#define SOCRATES_FPGA_NUM_IRQS   9

Definition at line 21 of file socrates_fpga_pic.c.

Function Documentation

void socrates_fpga_pic_cascade ( unsigned int  irq,
struct irq_desc desc 
)

Definition at line 92 of file socrates_fpga_pic.c.

void socrates_fpga_pic_init ( struct device_node pic)

Definition at line 277 of file socrates_fpga_pic.c.