|
Linux Kernel
3.7.1
|
#include <linux/stddef.h>#include <linux/kernel.h>#include <linux/init.h>#include <linux/irq.h>#include <linux/interrupt.h>#include <linux/spinlock.h>#include <asm/byteorder.h>#include <asm/io.h>#include <asm/prom.h>#include <asm/irq.h>#include "ge_pic.h"Go to the source code of this file.
Macros | |
| #define | DEBUG |
| #define | DBG(fmt...) do { printk(KERN_DEBUG "gef_pic: " fmt); } while (0) |
| #define | GEF_PIC_NUM_IRQS 32 |
| #define | GEF_PIC_INTR_STATUS 0x0000 |
| #define | GEF_PIC_INTR_MASK(cpu) (0x0010 + (0x4 * cpu)) |
| #define | GEF_PIC_CPU0_INTR_MASK GEF_PIC_INTR_MASK(0) |
| #define | GEF_PIC_CPU1_INTR_MASK GEF_PIC_INTR_MASK(1) |
| #define | GEF_PIC_MCP_MASK(cpu) (0x0018 + (0x4 * cpu)) |
| #define | GEF_PIC_CPU0_MCP_MASK GEF_PIC_MCP_MASK(0) |
| #define | GEF_PIC_CPU1_MCP_MASK GEF_PIC_MCP_MASK(1) |
Functions | |
| void | gef_pic_cascade (unsigned int irq, struct irq_desc *desc) |
| void __init | gef_pic_init (struct device_node *np) |
| unsigned int | gef_pic_get_irq (void) |
| #define DBG | ( | fmt... | ) | do { printk(KERN_DEBUG "gef_pic: " fmt); } while (0) |
| #define GEF_PIC_CPU0_INTR_MASK GEF_PIC_INTR_MASK(0) |
| #define GEF_PIC_CPU0_MCP_MASK GEF_PIC_MCP_MASK(0) |
| #define GEF_PIC_CPU1_INTR_MASK GEF_PIC_INTR_MASK(1) |
| #define GEF_PIC_CPU1_MCP_MASK GEF_PIC_MCP_MASK(1) |
1.8.2