Linux Kernel
3.7.1
|
#include <asm/io_generic.h>
Go to the source code of this file.
Macros | |
#define | MICRODEV_FPGA_INTC_BASE 0xa6110000ul /* INTC base address on CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTENB_REG (MICRODEV_FPGA_INTC_BASE+0ul) /* Interrupt Enable Register on INTC on CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTDSB_REG (MICRODEV_FPGA_INTC_BASE+8ul) /* Interrupt Disable Register on INTC on CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTC_MASK(n) (1ul<<(n)) /* Interrupt mask to enable/disable INTC in CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTPRI_REG(n) (MICRODEV_FPGA_INTC_BASE+0x10+((n)/8)*8)/* Interrupt Priority Register on INTC on CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTPRI_LEVEL(n, x) ((x)<<(((n)%8)*4)) /* MICRODEV_FPGA_INTPRI_LEVEL(int_number, int_level) */ |
#define | MICRODEV_FPGA_INTPRI_MASK(n) (MICRODEV_FPGA_INTPRI_LEVEL((n),0xful)) /* Interrupt Priority Mask on INTC on CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTSRC_REG (MICRODEV_FPGA_INTC_BASE+0x30ul) /* Interrupt Source Register on INTC on CPU-board FPGA */ |
#define | MICRODEV_FPGA_INTREQ_REG (MICRODEV_FPGA_INTC_BASE+0x38ul) /* Interrupt Request Register on INTC on CPU-board FPGA */ |
#define | MICRODEV_LINUX_IRQ_KEYBOARD 1 /* SuperIO Keyboard */ |
#define | MICRODEV_LINUX_IRQ_SERIAL1 2 /* SuperIO Serial #1 */ |
#define | MICRODEV_LINUX_IRQ_ETHERNET 3 /* on-board Ethnernet */ |
#define | MICRODEV_LINUX_IRQ_SERIAL2 4 /* SuperIO Serial #2 */ |
#define | MICRODEV_LINUX_IRQ_USB_HC 7 /* on-board USB HC */ |
#define | MICRODEV_LINUX_IRQ_MOUSE 12 /* SuperIO PS/2 Mouse */ |
#define | MICRODEV_LINUX_IRQ_IDE2 13 /* SuperIO IDE #2 */ |
#define | MICRODEV_LINUX_IRQ_IDE1 14 /* SuperIO IDE #1 */ |
#define | MICRODEV_FPGA_IRQ_KEYBOARD 1 /* SuperIO Keyboard */ |
#define | MICRODEV_FPGA_IRQ_SERIAL1 3 /* SuperIO Serial #1 */ |
#define | MICRODEV_FPGA_IRQ_SERIAL2 4 /* SuperIO Serial #2 */ |
#define | MICRODEV_FPGA_IRQ_MOUSE 12 /* SuperIO PS/2 Mouse */ |
#define | MICRODEV_FPGA_IRQ_IDE1 14 /* SuperIO IDE #1 */ |
#define | MICRODEV_FPGA_IRQ_IDE2 15 /* SuperIO IDE #2 */ |
#define | MICRODEV_FPGA_IRQ_USB_HC 16 /* on-board USB HC */ |
#define | MICRODEV_FPGA_IRQ_ETHERNET 18 /* on-board Ethnernet */ |
#define | MICRODEV_IRQ_PCI_INTA 8 |
#define | MICRODEV_IRQ_PCI_INTB 9 |
#define | MICRODEV_IRQ_PCI_INTC 10 |
#define | MICRODEV_IRQ_PCI_INTD 11 |
#define | __IO_PREFIX microdev |
Functions | |
void | init_microdev_irq (void) |
void | microdev_print_fpga_intc_status (void) |
#define __IO_PREFIX microdev |
Definition at line 68 of file microdev.h.
#define MICRODEV_FPGA_INTC_BASE 0xa6110000ul /* INTC base address on CPU-board FPGA */ |
Definition at line 25 of file microdev.h.
#define MICRODEV_FPGA_INTC_MASK | ( | n | ) | (1ul<<(n)) /* Interrupt mask to enable/disable INTC in CPU-board FPGA */ |
Definition at line 28 of file microdev.h.
#define MICRODEV_FPGA_INTDSB_REG (MICRODEV_FPGA_INTC_BASE+8ul) /* Interrupt Disable Register on INTC on CPU-board FPGA */ |
Definition at line 27 of file microdev.h.
#define MICRODEV_FPGA_INTENB_REG (MICRODEV_FPGA_INTC_BASE+0ul) /* Interrupt Enable Register on INTC on CPU-board FPGA */ |
Definition at line 26 of file microdev.h.
#define MICRODEV_FPGA_INTPRI_LEVEL | ( | n, | |
x | |||
) | ((x)<<(((n)%8)*4)) /* MICRODEV_FPGA_INTPRI_LEVEL(int_number, int_level) */ |
Definition at line 30 of file microdev.h.
#define MICRODEV_FPGA_INTPRI_MASK | ( | n | ) | (MICRODEV_FPGA_INTPRI_LEVEL((n),0xful)) /* Interrupt Priority Mask on INTC on CPU-board FPGA */ |
Definition at line 31 of file microdev.h.
#define MICRODEV_FPGA_INTPRI_REG | ( | n | ) | (MICRODEV_FPGA_INTC_BASE+0x10+((n)/8)*8)/* Interrupt Priority Register on INTC on CPU-board FPGA */ |
Definition at line 29 of file microdev.h.
#define MICRODEV_FPGA_INTREQ_REG (MICRODEV_FPGA_INTC_BASE+0x38ul) /* Interrupt Request Register on INTC on CPU-board FPGA */ |
Definition at line 33 of file microdev.h.
#define MICRODEV_FPGA_INTSRC_REG (MICRODEV_FPGA_INTC_BASE+0x30ul) /* Interrupt Source Register on INTC on CPU-board FPGA */ |
Definition at line 32 of file microdev.h.
#define MICRODEV_FPGA_IRQ_ETHERNET 18 /* on-board Ethnernet */ |
Definition at line 61 of file microdev.h.
#define MICRODEV_FPGA_IRQ_IDE1 14 /* SuperIO IDE #1 */ |
Definition at line 58 of file microdev.h.
#define MICRODEV_FPGA_IRQ_IDE2 15 /* SuperIO IDE #2 */ |
Definition at line 59 of file microdev.h.
#define MICRODEV_FPGA_IRQ_KEYBOARD 1 /* SuperIO Keyboard */ |
Definition at line 54 of file microdev.h.
#define MICRODEV_FPGA_IRQ_MOUSE 12 /* SuperIO PS/2 Mouse */ |
Definition at line 57 of file microdev.h.
#define MICRODEV_FPGA_IRQ_SERIAL1 3 /* SuperIO Serial #1 */ |
Definition at line 55 of file microdev.h.
#define MICRODEV_FPGA_IRQ_SERIAL2 4 /* SuperIO Serial #2 */ |
Definition at line 56 of file microdev.h.
Definition at line 60 of file microdev.h.
#define MICRODEV_IRQ_PCI_INTA 8 |
Definition at line 63 of file microdev.h.
#define MICRODEV_IRQ_PCI_INTB 9 |
Definition at line 64 of file microdev.h.
#define MICRODEV_IRQ_PCI_INTC 10 |
Definition at line 65 of file microdev.h.
#define MICRODEV_IRQ_PCI_INTD 11 |
Definition at line 66 of file microdev.h.
#define MICRODEV_LINUX_IRQ_ETHERNET 3 /* on-board Ethnernet */ |
Definition at line 42 of file microdev.h.
#define MICRODEV_LINUX_IRQ_IDE1 14 /* SuperIO IDE #1 */ |
Definition at line 47 of file microdev.h.
#define MICRODEV_LINUX_IRQ_IDE2 13 /* SuperIO IDE #2 */ |
Definition at line 46 of file microdev.h.
#define MICRODEV_LINUX_IRQ_KEYBOARD 1 /* SuperIO Keyboard */ |
Definition at line 40 of file microdev.h.
#define MICRODEV_LINUX_IRQ_MOUSE 12 /* SuperIO PS/2 Mouse */ |
Definition at line 45 of file microdev.h.
#define MICRODEV_LINUX_IRQ_SERIAL1 2 /* SuperIO Serial #1 */ |
Definition at line 41 of file microdev.h.
#define MICRODEV_LINUX_IRQ_SERIAL2 4 /* SuperIO Serial #2 */ |
Definition at line 43 of file microdev.h.
Definition at line 44 of file microdev.h.